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
eb03e833
Commit
eb03e833
authored
Apr 10, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Apr 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Add trace to DMUSIC_CreateReferenceClockImpl and rename some variables.
parent
c05c0495
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
clock.c
dlls/dmusic/clock.c
+8
-4
No files found.
dlls/dmusic/clock.c
View file @
eb03e833
...
...
@@ -99,18 +99,22 @@ static const IReferenceClockVtbl ReferenceClock_Vtbl = {
};
/* for ClassFactory */
HRESULT
WINAPI
DMUSIC_CreateReferenceClockImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
{
HRESULT
WINAPI
DMUSIC_CreateReferenceClockImpl
(
LPCGUID
riid
,
LPVOID
*
ret_iface
,
LPUNKNOWN
unkouter
)
{
IReferenceClockImpl
*
clock
;
TRACE
(
"(%p,%p,%p)
\n
"
,
riid
,
ret_iface
,
unkouter
);
clock
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IReferenceClockImpl
));
if
(
NULL
==
clock
)
{
*
ppobj
=
NULL
;
if
(
!
clock
)
{
*
ret_iface
=
NULL
;
return
E_OUTOFMEMORY
;
}
clock
->
lpVtbl
=
&
ReferenceClock_Vtbl
;
clock
->
ref
=
0
;
/* will be inited by QueryInterface */
clock
->
rtTime
=
0
;
clock
->
pClockInfo
.
dwSize
=
sizeof
(
DMUS_CLOCKINFO
);
return
IReferenceClockImpl_QueryInterface
((
IReferenceClock
*
)
clock
,
lpcGUID
,
ppobj
);
return
IReferenceClockImpl_QueryInterface
((
IReferenceClock
*
)
clock
,
riid
,
ret_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