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
521d3070
Commit
521d3070
authored
Oct 09, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmcompos: Win64 printf format warning fixes.
parent
9315847e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
37 deletions
+36
-37
Makefile.in
dlls/dmcompos/Makefile.in
+0
-1
chordmap.c
dlls/dmcompos/chordmap.c
+12
-12
chordmaptrack.c
dlls/dmcompos/chordmaptrack.c
+9
-9
composer.c
dlls/dmcompos/composer.c
+4
-4
dmcompos_main.c
dlls/dmcompos/dmcompos_main.c
+2
-2
signposttrack.c
dlls/dmcompos/signposttrack.c
+9
-9
No files found.
dlls/dmcompos/Makefile.in
View file @
521d3070
...
...
@@ -5,7 +5,6 @@ VPATH = @srcdir@
MODULE
=
dmcompos.dll
IMPORTS
=
ole32 user32 advapi32 kernel32
EXTRALIBS
=
-ldxguid
-luuid
EXTRADEFS
=
-DWINE_NO_LONG_AS_INT
C_SRCS
=
\
chordmap.c
\
...
...
dlls/dmcompos/chordmap.c
View file @
521d3070
...
...
@@ -61,7 +61,7 @@ static ULONG WINAPI IDirectMusicChordMapImpl_IUnknown_AddRef (LPUNKNOWN iface) {
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p): AddRef from %
l
d
\n
"
,
This
,
ref
-
1
);
TRACE
(
"(%p): AddRef from %d
\n
"
,
This
,
ref
-
1
);
DMCOMPOS_LockModule
();
...
...
@@ -72,7 +72,7 @@ static ULONG WINAPI IDirectMusicChordMapImpl_IUnknown_Release (LPUNKNOWN iface)
ICOM_THIS_MULTI
(
IDirectMusicChordMapImpl
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %
l
d
\n
"
,
This
,
ref
);
TRACE
(
"(%p): ReleaseRef to %d
\n
"
,
This
,
ref
);
if
(
ref
==
0
)
{
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
@@ -188,7 +188,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IDirectMusicObject_ParseDescripto
memcpy
(
&
pDesc
->
guidClass
,
&
CLSID_DirectMusicChordMap
,
sizeof
(
CLSID
));
IStream_Read
(
pStream
,
&
Chunk
,
sizeof
(
FOURCC
)
+
sizeof
(
DWORD
),
NULL
);
TRACE_
(
dmfile
)(
": %s chunk (size = 0x%04
l
x)"
,
debugstr_fourcc
(
Chunk
.
fccID
),
Chunk
.
dwSize
);
TRACE_
(
dmfile
)(
": %s chunk (size = 0x%04x)"
,
debugstr_fourcc
(
Chunk
.
fccID
),
Chunk
.
dwSize
);
switch
(
Chunk
.
fccID
)
{
case
FOURCC_RIFF
:
{
IStream_Read
(
pStream
,
&
Chunk
.
fccID
,
sizeof
(
FOURCC
),
NULL
);
...
...
@@ -200,7 +200,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IDirectMusicObject_ParseDescripto
do
{
IStream_Read
(
pStream
,
&
Chunk
,
sizeof
(
FOURCC
)
+
sizeof
(
DWORD
),
NULL
);
StreamCount
+=
sizeof
(
FOURCC
)
+
sizeof
(
DWORD
)
+
Chunk
.
dwSize
;
TRACE_
(
dmfile
)(
": %s chunk (size = 0x%04
l
x)"
,
debugstr_fourcc
(
Chunk
.
fccID
),
Chunk
.
dwSize
);
TRACE_
(
dmfile
)(
": %s chunk (size = 0x%04x)"
,
debugstr_fourcc
(
Chunk
.
fccID
),
Chunk
.
dwSize
);
switch
(
Chunk
.
fccID
)
{
case
DMUS_FOURCC_GUID_CHUNK
:
{
TRACE_
(
dmfile
)(
": GUID chunk
\n
"
);
...
...
@@ -232,7 +232,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IDirectMusicObject_ParseDescripto
do
{
IStream_Read
(
pStream
,
&
Chunk
,
sizeof
(
FOURCC
)
+
sizeof
(
DWORD
),
NULL
);
ListCount
[
0
]
+=
sizeof
(
FOURCC
)
+
sizeof
(
DWORD
)
+
Chunk
.
dwSize
;
TRACE_
(
dmfile
)(
": %s chunk (size = 0x%04
l
x)"
,
debugstr_fourcc
(
Chunk
.
fccID
),
Chunk
.
dwSize
);
TRACE_
(
dmfile
)(
": %s chunk (size = 0x%04x)"
,
debugstr_fourcc
(
Chunk
.
fccID
),
Chunk
.
dwSize
);
switch
(
Chunk
.
fccID
)
{
/* don't ask me why, but M$ puts INFO elements in UNFO list sometimes
(though strings seem to be valid unicode) */
...
...
@@ -278,7 +278,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IDirectMusicObject_ParseDescripto
break
;
}
}
TRACE_
(
dmfile
)(
": ListCount[0] = %
ld < ListSize[0] = %l
d
\n
"
,
ListCount
[
0
],
ListSize
[
0
]);
TRACE_
(
dmfile
)(
": ListCount[0] = %
d < ListSize[0] = %
d
\n
"
,
ListCount
[
0
],
ListSize
[
0
]);
}
while
(
ListCount
[
0
]
<
ListSize
[
0
]);
break
;
}
...
...
@@ -298,7 +298,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IDirectMusicObject_ParseDescripto
break
;
}
}
TRACE_
(
dmfile
)(
": StreamCount[0] = %
ld < StreamSize[0] = %l
d
\n
"
,
StreamCount
,
StreamSize
);
TRACE_
(
dmfile
)(
": StreamCount[0] = %
d < StreamSize[0] = %
d
\n
"
,
StreamCount
,
StreamSize
);
}
while
(
StreamCount
<
StreamSize
);
}
else
{
TRACE_
(
dmfile
)(
": unexpected chunk; loading failed)
\n
"
);
...
...
@@ -367,7 +367,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IPersistStream_Load (LPPERSISTSTR
FIXME
(
"(%p, %p): Loading not implemented yet
\n
"
,
This
,
pStm
);
IStream_Read
(
pStm
,
&
chunkID
,
sizeof
(
FOURCC
),
NULL
);
IStream_Read
(
pStm
,
&
chunkSize
,
sizeof
(
DWORD
),
NULL
);
TRACE_
(
dmfile
)(
": %s chunk (size = %
l
d)"
,
debugstr_fourcc
(
chunkID
),
chunkSize
);
TRACE_
(
dmfile
)(
": %s chunk (size = %d)"
,
debugstr_fourcc
(
chunkID
),
chunkSize
);
switch
(
chunkID
)
{
case
FOURCC_RIFF
:
{
IStream_Read
(
pStm
,
&
chunkID
,
sizeof
(
FOURCC
),
NULL
);
...
...
@@ -381,7 +381,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IPersistStream_Load (LPPERSISTSTR
IStream_Read
(
pStm
,
&
chunkID
,
sizeof
(
FOURCC
),
NULL
);
IStream_Read
(
pStm
,
&
chunkSize
,
sizeof
(
FOURCC
),
NULL
);
StreamCount
+=
sizeof
(
FOURCC
)
+
sizeof
(
DWORD
)
+
chunkSize
;
TRACE_
(
dmfile
)(
": %s chunk (size = %
l
d)"
,
debugstr_fourcc
(
chunkID
),
chunkSize
);
TRACE_
(
dmfile
)(
": %s chunk (size = %d)"
,
debugstr_fourcc
(
chunkID
),
chunkSize
);
switch
(
chunkID
)
{
case
DMUS_FOURCC_GUID_CHUNK
:
{
TRACE_
(
dmfile
)(
": GUID chunk
\n
"
);
...
...
@@ -413,7 +413,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IPersistStream_Load (LPPERSISTSTR
IStream_Read
(
pStm
,
&
chunkID
,
sizeof
(
FOURCC
),
NULL
);
IStream_Read
(
pStm
,
&
chunkSize
,
sizeof
(
FOURCC
),
NULL
);
ListCount
[
0
]
+=
sizeof
(
FOURCC
)
+
sizeof
(
DWORD
)
+
chunkSize
;
TRACE_
(
dmfile
)(
": %s chunk (size = %
l
d)"
,
debugstr_fourcc
(
chunkID
),
chunkSize
);
TRACE_
(
dmfile
)(
": %s chunk (size = %d)"
,
debugstr_fourcc
(
chunkID
),
chunkSize
);
switch
(
chunkID
)
{
/* don't ask me why, but M$ puts INFO elements in UNFO list sometimes
(though strings seem to be valid unicode) */
...
...
@@ -459,7 +459,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IPersistStream_Load (LPPERSISTSTR
break
;
}
}
TRACE_
(
dmfile
)(
": ListCount[0] = %
ld < ListSize[0] = %l
d
\n
"
,
ListCount
[
0
],
ListSize
[
0
]);
TRACE_
(
dmfile
)(
": ListCount[0] = %
d < ListSize[0] = %
d
\n
"
,
ListCount
[
0
],
ListSize
[
0
]);
}
while
(
ListCount
[
0
]
<
ListSize
[
0
]);
break
;
}
...
...
@@ -479,7 +479,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IPersistStream_Load (LPPERSISTSTR
break
;
}
}
TRACE_
(
dmfile
)(
": StreamCount[0] = %
ld < StreamSize[0] = %l
d
\n
"
,
StreamCount
,
StreamSize
);
TRACE_
(
dmfile
)(
": StreamCount[0] = %
d < StreamSize[0] = %
d
\n
"
,
StreamCount
,
StreamSize
);
}
while
(
StreamCount
<
StreamSize
);
break
;
}
...
...
dlls/dmcompos/chordmaptrack.c
View file @
521d3070
...
...
@@ -56,7 +56,7 @@ static ULONG WINAPI IDirectMusicChordMapTrack_IUnknown_AddRef (LPUNKNOWN iface)
ICOM_THIS_MULTI
(
IDirectMusicChordMapTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p): AddRef from %
l
d
\n
"
,
This
,
ref
-
1
);
TRACE
(
"(%p): AddRef from %d
\n
"
,
This
,
ref
-
1
);
DMCOMPOS_LockModule
();
...
...
@@ -67,7 +67,7 @@ static ULONG WINAPI IDirectMusicChordMapTrack_IUnknown_Release (LPUNKNOWN iface)
ICOM_THIS_MULTI
(
IDirectMusicChordMapTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %
l
d
\n
"
,
This
,
ref
);
TRACE
(
"(%p): ReleaseRef to %d
\n
"
,
This
,
ref
);
if
(
ref
==
0
)
{
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
@@ -108,7 +108,7 @@ static HRESULT WINAPI IDirectMusicChordMapTrack_IDirectMusicTrack_Init (LPDIRECT
static
HRESULT
WINAPI
IDirectMusicChordMapTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %p, %p, %
ld, %l
d): stub
\n
"
,
This
,
pSegmentState
,
pPerformance
,
ppStateData
,
dwVirtualTrack8ID
,
dwFlags
);
FIXME
(
"(%p, %p, %p, %p, %
d, %
d): stub
\n
"
,
This
,
pSegmentState
,
pPerformance
,
ppStateData
,
dwVirtualTrack8ID
,
dwFlags
);
return
S_OK
;
}
...
...
@@ -120,7 +120,7 @@ static HRESULT WINAPI IDirectMusicChordMapTrack_IDirectMusicTrack_EndPlay (LPDIR
static
HRESULT
WINAPI
IDirectMusicChordMapTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %ld, %ld, %
ld, %p, %p, %l
d): stub
\n
"
,
This
,
pStateData
,
mtStart
,
mtEnd
,
mtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
FIXME
(
"(%p, %p, %ld, %ld, %ld, %
d, %p, %p, %
d): stub
\n
"
,
This
,
pStateData
,
mtStart
,
mtEnd
,
mtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
...
...
@@ -167,34 +167,34 @@ static HRESULT WINAPI IDirectMusicChordMapTrack_IDirectMusicTrack_Clone (LPDIREC
static
HRESULT
WINAPI
IDirectMusicChordMapTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, 0x%s, 0x%s, 0x%s, %
ld, %p, %p, %l
d): stub
\n
"
,
This
,
pStateData
,
wine_dbgstr_longlong
(
rtStart
),
FIXME
(
"(%p, %p, 0x%s, 0x%s, 0x%s, %
d, %p, %p, %
d): stub
\n
"
,
This
,
pStateData
,
wine_dbgstr_longlong
(
rtStart
),
wine_dbgstr_longlong
(
rtEnd
),
wine_dbgstr_longlong
(
rtOffset
),
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicChordMapTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, 0x%s, %p, %p, %p, %
l
d): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
FIXME
(
"(%p, %s, 0x%s, %p, %p, %p, %d): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
wine_dbgstr_longlong
(
rtTime
),
prtNext
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicChordMapTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, 0x%s, %p, %p, %
l
d): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
FIXME
(
"(%p, %s, 0x%s, %p, %p, %d): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
wine_dbgstr_longlong
(
rtTime
),
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicChordMapTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %
l
d, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
FIXME
(
"(%p, %p, %d, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicChordMapTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordMapTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p, %
l
d, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
FIXME
(
"(%p, %p, %ld, %p, %d, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
}
...
...
dlls/dmcompos/composer.c
View file @
521d3070
...
...
@@ -40,7 +40,7 @@ static ULONG WINAPI IDirectMusicComposerImpl_AddRef (LPDIRECTMUSICCOMPOSER iface
IDirectMusicComposerImpl
*
This
=
(
IDirectMusicComposerImpl
*
)
iface
;
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p): AddRef from %
l
d
\n
"
,
This
,
ref
-
1
);
TRACE
(
"(%p): AddRef from %d
\n
"
,
This
,
ref
-
1
);
DMCOMPOS_LockModule
();
...
...
@@ -51,7 +51,7 @@ static ULONG WINAPI IDirectMusicComposerImpl_Release (LPDIRECTMUSICCOMPOSER ifac
IDirectMusicComposerImpl
*
This
=
(
IDirectMusicComposerImpl
*
)
iface
;
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %
l
d
\n
"
,
This
,
ref
);
TRACE
(
"(%p): ReleaseRef to %d
\n
"
,
This
,
ref
);
if
(
ref
==
0
)
{
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
@@ -77,13 +77,13 @@ static HRESULT WINAPI IDirectMusicComposerImpl_ComposeSegmentFromShape (LPDIRECT
static
HRESULT
WINAPI
IDirectMusicComposerImpl_ComposeTransition
(
LPDIRECTMUSICCOMPOSER
iface
,
IDirectMusicSegment
*
pFromSeg
,
IDirectMusicSegment
*
pToSeg
,
MUSIC_TIME
mtTime
,
WORD
wCommand
,
DWORD
dwFlags
,
IDirectMusicChordMap
*
pChordMap
,
IDirectMusicSegment
**
ppTransSeg
)
{
IDirectMusicComposerImpl
*
This
=
(
IDirectMusicComposerImpl
*
)
iface
;
FIXME
(
"(%p, %p, %p, %ld, %d, %
l
d, %p, %p): stub
\n
"
,
This
,
pFromSeg
,
pToSeg
,
mtTime
,
wCommand
,
dwFlags
,
pChordMap
,
ppTransSeg
);
FIXME
(
"(%p, %p, %p, %ld, %d, %d, %p, %p): stub
\n
"
,
This
,
pFromSeg
,
pToSeg
,
mtTime
,
wCommand
,
dwFlags
,
pChordMap
,
ppTransSeg
);
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicComposerImpl_AutoTransition
(
LPDIRECTMUSICCOMPOSER
iface
,
IDirectMusicPerformance
*
pPerformance
,
IDirectMusicSegment
*
pToSeg
,
WORD
wCommand
,
DWORD
dwFlags
,
IDirectMusicChordMap
*
pChordMap
,
IDirectMusicSegment
**
ppTransSeg
,
IDirectMusicSegmentState
**
ppToSegState
,
IDirectMusicSegmentState
**
ppTransSegState
)
{
IDirectMusicComposerImpl
*
This
=
(
IDirectMusicComposerImpl
*
)
iface
;
FIXME
(
"(%p, %p, %d, %
l
d, %p, %p, %p, %p): stub
\n
"
,
This
,
pPerformance
,
wCommand
,
dwFlags
,
pChordMap
,
ppTransSeg
,
ppToSegState
,
ppTransSegState
);
FIXME
(
"(%p, %p, %d, %d, %p, %p, %p, %p): stub
\n
"
,
This
,
pPerformance
,
wCommand
,
dwFlags
,
pChordMap
,
ppTransSeg
,
ppToSegState
,
ppTransSegState
);
return
S_OK
;
}
...
...
dlls/dmcompos/dmcompos_main.c
View file @
521d3070
...
...
@@ -684,7 +684,7 @@ const char *debugstr_dmreturn (DWORD code) {
return
codes
[
i
].
name
;
}
/* if we didn't find it, return value */
return
wine_dbg_sprintf
(
"0x%08
l
x"
,
code
);
return
wine_dbg_sprintf
(
"0x%08x"
,
code
);
}
/* generic flag-dumping function */
...
...
@@ -731,7 +731,7 @@ const char *debugstr_DMUS_OBJECTDESC (LPDMUS_OBJECTDESC pDesc) {
char
buffer
[
1024
]
=
""
,
*
ptr
=
&
buffer
[
0
];
ptr
+=
sprintf
(
ptr
,
"DMUS_OBJECTDESC (%p):
\n
"
,
pDesc
);
ptr
+=
sprintf
(
ptr
,
" - dwSize = %
l
d
\n
"
,
pDesc
->
dwSize
);
ptr
+=
sprintf
(
ptr
,
" - dwSize = %d
\n
"
,
pDesc
->
dwSize
);
ptr
+=
sprintf
(
ptr
,
" - dwValidData = %s
\n
"
,
debugstr_DMUS_OBJ_FLAGS
(
pDesc
->
dwValidData
));
if
(
pDesc
->
dwValidData
&
DMUS_OBJ_CLASS
)
ptr
+=
sprintf
(
ptr
,
" - guidClass = %s
\n
"
,
debugstr_dmguid
(
&
pDesc
->
guidClass
));
if
(
pDesc
->
dwValidData
&
DMUS_OBJ_OBJECT
)
ptr
+=
sprintf
(
ptr
,
" - guidObject = %s
\n
"
,
debugstr_guid
(
&
pDesc
->
guidObject
));
...
...
dlls/dmcompos/signposttrack.c
View file @
521d3070
...
...
@@ -56,7 +56,7 @@ static ULONG WINAPI IDirectMusicSignPostTrack_IUnknown_AddRef (LPUNKNOWN iface)
ICOM_THIS_MULTI
(
IDirectMusicSignPostTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p): AddRef from %
l
d
\n
"
,
This
,
ref
-
1
);
TRACE
(
"(%p): AddRef from %d
\n
"
,
This
,
ref
-
1
);
DMCOMPOS_LockModule
();
...
...
@@ -67,7 +67,7 @@ static ULONG WINAPI IDirectMusicSignPostTrack_IUnknown_Release (LPUNKNOWN iface)
ICOM_THIS_MULTI
(
IDirectMusicSignPostTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p): ReleaseRef to %
l
d
\n
"
,
This
,
ref
);
TRACE
(
"(%p): ReleaseRef to %d
\n
"
,
This
,
ref
);
if
(
ref
==
0
)
{
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
@@ -108,7 +108,7 @@ static HRESULT WINAPI IDirectMusicSignPostTrack_IDirectMusicTrack_Init (LPDIRECT
static
HRESULT
WINAPI
IDirectMusicSignPostTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicSignPostTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %p, %p, %
ld, %l
d): stub
\n
"
,
This
,
pSegmentState
,
pPerformance
,
ppStateData
,
dwVirtualTrack8ID
,
dwFlags
);
FIXME
(
"(%p, %p, %p, %p, %
d, %
d): stub
\n
"
,
This
,
pSegmentState
,
pPerformance
,
ppStateData
,
dwVirtualTrack8ID
,
dwFlags
);
return
S_OK
;
}
...
...
@@ -120,7 +120,7 @@ static HRESULT WINAPI IDirectMusicSignPostTrack_IDirectMusicTrack_EndPlay (LPDIR
static
HRESULT
WINAPI
IDirectMusicSignPostTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
IDirectMusicSignPostTrack
*
This
=
(
IDirectMusicSignPostTrack
*
)
iface
;
FIXME
(
"(%p, %p, %ld, %ld, %ld, %
ld, %p, %p, %l
d): stub
\n
"
,
This
,
pStateData
,
mtStart
,
mtEnd
,
mtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
FIXME
(
"(%p, %p, %ld, %ld, %ld, %
d, %p, %p, %
d): stub
\n
"
,
This
,
pStateData
,
mtStart
,
mtEnd
,
mtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
...
...
@@ -164,34 +164,34 @@ static HRESULT WINAPI IDirectMusicSignPostTrack_IDirectMusicTrack_Clone (LPDIREC
static
HRESULT
WINAPI
IDirectMusicSignPostTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicSignPostTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, 0x%s, 0x%s, 0x%s, %
ld, %p, %p, %l
d): stub
\n
"
,
This
,
pStateData
,
wine_dbgstr_longlong
(
rtStart
),
FIXME
(
"(%p, %p, 0x%s, 0x%s, 0x%s, %
d, %p, %p, %
d): stub
\n
"
,
This
,
pStateData
,
wine_dbgstr_longlong
(
rtStart
),
wine_dbgstr_longlong
(
rtEnd
),
wine_dbgstr_longlong
(
rtOffset
),
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicSignPostTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicSignPostTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, 0x%s, %p, %p, %p, %
l
d): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
FIXME
(
"(%p, %s, 0x%s, %p, %p, %p, %d): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
wine_dbgstr_longlong
(
rtTime
),
prtNext
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicSignPostTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicSignPostTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, 0x%s, %p, %p, %
l
d): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
FIXME
(
"(%p, %s, 0x%s, %p, %p, %d): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
wine_dbgstr_longlong
(
rtTime
),
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicSignPostTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
IDirectMusicSignPostTrack
*
This
=
(
IDirectMusicSignPostTrack
*
)
iface
;
FIXME
(
"(%p, %p, %
l
d, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
FIXME
(
"(%p, %p, %d, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
}
static
HRESULT
WINAPI
IDirectMusicSignPostTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicSignPostTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p, %
l
d, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
FIXME
(
"(%p, %p, %ld, %p, %d, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
}
...
...
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