Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
434b696c
Commit
434b696c
authored
Aug 28, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed remaining wrong iface call helpers.
parent
57074556
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
6 deletions
+8
-6
surface.c
dlls/d3dx9_36/surface.c
+2
-2
device.c
dlls/dxgi/device.c
+1
-1
nstc.c
dlls/explorerframe/tests/nstc.c
+1
-1
script.c
dlls/mshtml/tests/script.c
+3
-1
services.c
dlls/wbemprox/tests/services.c
+1
-1
No files found.
dlls/d3dx9_36/surface.c
View file @
434b696c
...
...
@@ -622,7 +622,7 @@ HRESULT WINAPI D3DXGetImageInfoFromFileInMemory(LPCVOID data, UINT datasize, D3D
IWICImagingFactory_CreateStream
(
factory
,
&
stream
);
IWICStream_InitializeFromMemory
(
stream
,
(
BYTE
*
)
data
,
datasize
);
hr
=
IWICImagingFactory_CreateDecoderFromStream
(
factory
,
(
IStream
*
)
stream
,
NULL
,
0
,
&
decoder
);
IStream_Release
(
stream
);
I
WIC
Stream_Release
(
stream
);
IWICImagingFactory_Release
(
factory
);
}
...
...
@@ -912,7 +912,7 @@ HRESULT WINAPI D3DXLoadSurfaceFromFileInMemory(IDirect3DSurface9 *pDestSurface,
hr
=
IWICImagingFactory_CreateDecoderFromStream
(
factory
,
(
IStream
*
)
stream
,
NULL
,
0
,
&
decoder
);
IStream_Release
(
stream
);
I
WIC
Stream_Release
(
stream
);
IWICImagingFactory_Release
(
factory
);
if
(
FAILED
(
hr
))
...
...
dlls/dxgi/device.c
View file @
434b696c
...
...
@@ -122,7 +122,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_device_GetParent(IWineDXGIDevice *iface, R
TRACE
(
"iface %p, riid %s, parent %p.
\n
"
,
iface
,
debugstr_guid
(
riid
),
parent
);
hr
=
IDXGIDevice_GetAdapter
(
iface
,
&
adapter
);
hr
=
I
Wine
DXGIDevice_GetAdapter
(
iface
,
&
adapter
);
if
(
FAILED
(
hr
))
{
ERR
(
"Failed to get adapter, hr %#x.
\n
"
,
hr
);
...
...
dlls/explorerframe/tests/nstc.c
View file @
434b696c
...
...
@@ -754,7 +754,7 @@ static void verify_root_order_(INameSpaceTreeControl *pnstc, IShellItem **roots,
IShellItem_Release
(
psi
);
}
}
IShellItem_Release
(
psia
);
IShellItem
Array
_Release
(
psia
);
}
}
#define verify_root_order(pnstc, psi_a) \
...
...
dlls/mshtml/tests/script.c
View file @
434b696c
...
...
@@ -50,12 +50,14 @@ const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY =
#define CTXARG_T DWORDLONG
#define IActiveScriptParseVtbl IActiveScriptParse64Vtbl
#define IActiveScriptParseProcedure2Vtbl IActiveScriptParseProcedure2_64Vtbl
#define IActiveScriptSiteDebug_Release IActiveScriptSiteDebug64_Release
#else
#define CTXARG_T DWORD
#define IActiveScriptParseVtbl IActiveScriptParse32Vtbl
#define IActiveScriptParseProcedure2Vtbl IActiveScriptParseProcedure2_32Vtbl
#define IActiveScriptSiteDebug_Release IActiveScriptSiteDebug32_Release
#endif
...
...
@@ -2366,7 +2368,7 @@ static HRESULT WINAPI ActiveScript_SetScriptSite(IActiveScript *iface, IActiveSc
hres
=
IActiveScriptSite_QueryInterface
(
pass
,
&
IID_IActiveScriptSiteDebug
,
(
void
**
)
&
debug
);
ok
(
hres
==
S_OK
,
"Could not get IActiveScriptSiteDebug interface: %08x
\n
"
,
hres
);
if
(
SUCCEEDED
(
hres
))
IActiveScriptSiteDebug
32
_Release
(
debug
);
IActiveScriptSiteDebug_Release
(
debug
);
hres
=
IActiveScriptSite_QueryInterface
(
pass
,
&
IID_ICanHandleException
,
(
void
**
)
&
canexpection
);
ok
(
hres
==
E_NOINTERFACE
,
"Could not get IID_ICanHandleException interface: %08x
\n
"
,
hres
);
...
...
dlls/wbemprox/tests/services.c
View file @
434b696c
...
...
@@ -77,7 +77,7 @@ static void test_IClientSecurity(void)
refs
=
IWbemServices_Release
(
services
);
todo_wine
ok
(
refs
==
1
,
"unexpected refcount %u
\n
"
,
refs
);
refs
=
I
WbemServices
_Release
(
security
);
refs
=
I
ClientSecurity
_Release
(
security
);
todo_wine
ok
(
refs
==
0
,
"unexpected refcount %u
\n
"
,
refs
);
IWbemLocator_Release
(
locator
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment