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
1acf5a04
Commit
1acf5a04
authored
Sep 21, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Sep 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Rename params in IDirectMusicPerformance8Impl_AssignPChannel &…
dmime: Rename params in IDirectMusicPerformance8Impl_AssignPChannel & IDirectMusicPerformance8Impl_PChannelInfo.
parent
b3b7616f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
18 deletions
+21
-18
performance.c
dlls/dmime/performance.c
+21
-18
No files found.
dlls/dmime/performance.c
View file @
1acf5a04
...
@@ -684,34 +684,37 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_AssignPChannelBlock(IDirectMu
...
@@ -684,34 +684,37 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_AssignPChannelBlock(IDirectMu
}
}
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_AssignPChannel
(
IDirectMusicPerformance8
*
iface
,
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_AssignPChannel
(
IDirectMusicPerformance8
*
iface
,
DWORD
dwPChannel
,
IDirectMusicPort
*
pPort
,
DWORD
dwGroup
,
DWORD
dw
MChannel
)
DWORD
PChannel
,
IDirectMusicPort
*
port
,
DWORD
group
,
DWORD
MChannel
)
{
{
IDirectMusicPerformance8Impl
*
This
=
impl_from_IDirectMusicPerformance8
(
iface
);
IDirectMusicPerformance8Impl
*
This
=
impl_from_IDirectMusicPerformance8
(
iface
);
TRACE
(
"(%p, %d, %p, %d, %d)
\n
"
,
This
,
dwPChannel
,
pPort
,
dwGroup
,
dwMChannel
);
TRACE
(
"(%p)->(%d, %p, %d, %d)
\n
"
,
This
,
PChannel
,
port
,
group
,
MChannel
);
if
(
NULL
==
pPort
)
return
E_POINTER
;
This
->
PChannel
[
dwPChannel
].
port
=
pPort
;
This
->
PChannel
[
dwPChannel
].
group
=
dwGroup
;
This
->
PChannel
[
dwPChannel
].
channel
=
dwMChannel
;
return
S_OK
;
if
(
!
port
)
return
E_POINTER
;
This
->
PChannel
[
PChannel
].
port
=
port
;
This
->
PChannel
[
PChannel
].
group
=
group
;
This
->
PChannel
[
PChannel
].
channel
=
MChannel
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_PChannelInfo
(
IDirectMusicPerformance8
*
iface
,
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_PChannelInfo
(
IDirectMusicPerformance8
*
iface
,
DWORD
dwPChannel
,
IDirectMusicPort
**
ppPort
,
DWORD
*
pdwGroup
,
DWORD
*
pdw
MChannel
)
DWORD
PChannel
,
IDirectMusicPort
**
port
,
DWORD
*
group
,
DWORD
*
MChannel
)
{
{
IDirectMusicPerformance8Impl
*
This
=
impl_from_IDirectMusicPerformance8
(
iface
);
IDirectMusicPerformance8Impl
*
This
=
impl_from_IDirectMusicPerformance8
(
iface
);
DMUS_PORTPARAMS8
dmusport
params
;
DMUS_PORTPARAMS8
port_
params
;
GUID
def
;
GUID
default_port
;
FIXME
(
"(%p, %d, %p, %p, %p): stub
\n
"
,
This
,
dwPChannel
,
ppPort
,
pdwGroup
,
pdw
MChannel
);
FIXME
(
"(%p)->(%d, %p, %p, %p): stub
\n
"
,
This
,
PChannel
,
port
,
group
,
MChannel
);
dmusport
params
.
dwSize
=
sizeof
(
DMUS_PORTPARAMS8
);
port_
params
.
dwSize
=
sizeof
(
DMUS_PORTPARAMS8
);
dmusport
params
.
dwValidParams
=
0
;
port_
params
.
dwValidParams
=
0
;
IDirectMusic8_GetDefaultPort
(
This
->
pDirectMusic
,
&
def
);
IDirectMusic8_GetDefaultPort
(
This
->
pDirectMusic
,
&
default_port
);
IDirectMusic8_CreatePort
(
This
->
pDirectMusic
,
&
def
,
&
dmusportparams
,
ppP
ort
,
NULL
);
IDirectMusic8_CreatePort
(
This
->
pDirectMusic
,
&
default_port
,
&
port_params
,
p
ort
,
NULL
);
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_DownloadInstrument
(
IDirectMusicPerformance8
*
iface
,
static
HRESULT
WINAPI
IDirectMusicPerformance8Impl_DownloadInstrument
(
IDirectMusicPerformance8
*
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