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
af871d83
Commit
af871d83
authored
Dec 22, 2008
by
Christian Costa
Committed by
Alexandre Julliard
Dec 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Implement IDirectMusic8Impl_CreateMusicBuffer.
parent
ba081eb2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
dmusic.c
dlls/dmusic/dmusic.c
+10
-2
No files found.
dlls/dmusic/dmusic.c
View file @
af871d83
...
@@ -108,8 +108,16 @@ static HRESULT WINAPI IDirectMusic8Impl_EnumPort(LPDIRECTMUSIC8 iface, DWORD dwI
...
@@ -108,8 +108,16 @@ static HRESULT WINAPI IDirectMusic8Impl_EnumPort(LPDIRECTMUSIC8 iface, DWORD dwI
static
HRESULT
WINAPI
IDirectMusic8Impl_CreateMusicBuffer
(
LPDIRECTMUSIC8
iface
,
LPDMUS_BUFFERDESC
pBufferDesc
,
LPDIRECTMUSICBUFFER
**
ppBuffer
,
LPUNKNOWN
pUnkOuter
)
{
static
HRESULT
WINAPI
IDirectMusic8Impl_CreateMusicBuffer
(
LPDIRECTMUSIC8
iface
,
LPDMUS_BUFFERDESC
pBufferDesc
,
LPDIRECTMUSICBUFFER
**
ppBuffer
,
LPUNKNOWN
pUnkOuter
)
{
IDirectMusic8Impl
*
This
=
(
IDirectMusic8Impl
*
)
iface
;
IDirectMusic8Impl
*
This
=
(
IDirectMusic8Impl
*
)
iface
;
FIXME
(
"(%p, %p, %p, %p): stub
\n
"
,
This
,
pBufferDesc
,
ppBuffer
,
pUnkOuter
);
return
S_OK
;
TRACE
(
"(%p, %p, %p, %p)
\n
"
,
This
,
pBufferDesc
,
ppBuffer
,
pUnkOuter
);
if
(
pUnkOuter
)
return
CLASS_E_NOAGGREGATION
;
if
(
!
pBufferDesc
||
!
ppBuffer
)
return
E_POINTER
;
return
DMUSIC_CreateDirectMusicBufferImpl
(
&
IID_IDirectMusicBuffer
,
(
LPVOID
)
ppBuffer
,
NULL
);
}
}
static
HRESULT
WINAPI
IDirectMusic8Impl_CreatePort
(
LPDIRECTMUSIC8
iface
,
REFCLSID
rclsidPort
,
LPDMUS_PORTPARAMS
pPortParams
,
LPDIRECTMUSICPORT
*
ppPort
,
LPUNKNOWN
pUnkOuter
)
{
static
HRESULT
WINAPI
IDirectMusic8Impl_CreatePort
(
LPDIRECTMUSIC8
iface
,
REFCLSID
rclsidPort
,
LPDMUS_PORTPARAMS
pPortParams
,
LPDIRECTMUSICPORT
*
ppPort
,
LPUNKNOWN
pUnkOuter
)
{
...
...
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