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
26978a4d
Commit
26978a4d
authored
Jun 06, 2006
by
H. Verbeet
Committed by
Alexandre Julliard
Jun 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Return the result of QueryInterface in GetContainer.
parent
7b8bf46f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
surface.c
dlls/wined3d/surface.c
+1
-4
volume.c
dlls/wined3d/volume.c
+1
-4
No files found.
dlls/wined3d/surface.c
View file @
26978a4d
...
...
@@ -236,10 +236,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_GetContainer(IWineD3DSurface* iface, REFIID r
}
TRACE
(
"Relaying to QueryInterface
\n
"
);
if
(
IUnknown_QueryInterface
(
container
,
riid
,
ppContainer
)
!=
S_OK
)
return
WINED3DERR_INVALIDCALL
;
return
WINED3D_OK
;
return
IUnknown_QueryInterface
(
container
,
riid
,
ppContainer
);
}
HRESULT
WINAPI
IWineD3DSurfaceImpl_GetDesc
(
IWineD3DSurface
*
iface
,
WINED3DSURFACE_DESC
*
pDesc
)
{
...
...
dlls/wined3d/volume.c
View file @
26978a4d
...
...
@@ -142,10 +142,7 @@ HRESULT WINAPI IWineD3DVolumeImpl_GetContainer(IWineD3DVolume *iface, REFIID rii
}
TRACE
(
"Relaying to QueryInterface
\n
"
);
if
(
IUnknown_QueryInterface
(
This
->
container
,
riid
,
ppContainer
)
!=
S_OK
)
return
WINED3DERR_INVALIDCALL
;
return
WINED3D_OK
;
return
IUnknown_QueryInterface
(
This
->
container
,
riid
,
ppContainer
);
}
HRESULT
WINAPI
IWineD3DVolumeImpl_GetDesc
(
IWineD3DVolume
*
iface
,
WINED3DVOLUME_DESC
*
pDesc
)
{
...
...
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