Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
862d7dae
Commit
862d7dae
authored
Mar 03, 2015
by
Mark Harmstone
Committed by
Alexandre Julliard
Mar 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Implement GetObjectInPath.
parent
17056b9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
buffer.c
dlls/dsound/buffer.c
+16
-3
No files found.
dlls/dsound/buffer.c
View file @
862d7dae
...
...
@@ -844,10 +844,23 @@ static HRESULT WINAPI IDirectSoundBufferImpl_GetObjectInPath(IDirectSoundBuffer8
{
IDirectSoundBufferImpl
*
This
=
impl_from_IDirectSoundBuffer8
(
iface
);
FIXME
(
"(%p,%s,%u,%s,%p): stub
\n
"
,
This
,
debugstr_guid
(
rguidObject
),
dwIndex
,
debugstr_guid
(
rguidInterface
),
ppObject
);
TRACE
(
"(%p,%s,%u,%s,%p)
\n
"
,
This
,
debugstr_guid
(
rguidObject
),
dwIndex
,
debugstr_guid
(
rguidInterface
),
ppObject
);
WARN
(
"control unavailable
\n
"
);
return
DSERR_CONTROLUNAVAIL
;
if
(
dwIndex
>=
This
->
num_filters
)
return
DSERR_OBJECTNOTFOUND
;
if
(
!
ppObject
)
return
E_INVALIDARG
;
if
(
IsEqualGUID
(
rguidObject
,
&
This
->
filters
[
dwIndex
].
guid
)
||
IsEqualGUID
(
rguidObject
,
&
GUID_All_Objects
))
{
if
(
SUCCEEDED
(
IMediaObject_QueryInterface
(
This
->
filters
[
dwIndex
].
obj
,
rguidInterface
,
ppObject
)))
return
DS_OK
;
else
return
E_NOINTERFACE
;
}
else
{
WARN
(
"control unavailable
\n
"
);
return
DSERR_OBJECTNOTFOUND
;
}
}
static
HRESULT
WINAPI
IDirectSoundBufferImpl_Initialize
(
IDirectSoundBuffer8
*
iface
,
...
...
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