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
4fb03d90
Commit
4fb03d90
authored
Jan 05, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Use '%u' to print GetLastError().
parent
4dc5c7ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
memallocator.c
dlls/quartz/memallocator.c
+3
-3
videorenderer.c
dlls/quartz/videorenderer.c
+1
-1
No files found.
dlls/quartz/memallocator.c
View file @
4fb03d90
...
...
@@ -245,7 +245,7 @@ static HRESULT WINAPI BaseMemAllocator_Commit(IMemAllocator * iface)
{
if
(
!
(
This
->
hSemWaiting
=
CreateSemaphoreW
(
NULL
,
This
->
pProps
->
cBuffers
,
This
->
pProps
->
cBuffers
,
NULL
)))
{
ERR
(
"Couldn't create semaphore (error was %
d
)
\n
"
,
GetLastError
());
ERR
(
"Couldn't create semaphore (error was %
u
)
\n
"
,
GetLastError
());
hr
=
HRESULT_FROM_WIN32
(
GetLastError
());
}
else
...
...
@@ -393,7 +393,7 @@ static HRESULT WINAPI BaseMemAllocator_ReleaseBuffer(IMemAllocator * iface, IMed
/* notify a waiting thread that there is now a free buffer */
if
(
!
ReleaseSemaphore
(
This
->
hSemWaiting
,
1
,
NULL
))
{
ERR
(
"ReleaseSemaphore failed with error %
d
\n
"
,
GetLastError
());
ERR
(
"ReleaseSemaphore failed with error %
u
\n
"
,
GetLastError
());
hr
=
HRESULT_FROM_WIN32
(
GetLastError
());
}
...
...
@@ -821,7 +821,7 @@ static HRESULT StdMemAllocator_Free(IMemAllocator * iface)
/* free memory */
if
(
!
VirtualFree
(
This
->
pMemory
,
0
,
MEM_RELEASE
))
{
ERR
(
"Couldn't free memory. Error: %
d
\n
"
,
GetLastError
());
ERR
(
"Couldn't free memory. Error: %
u
\n
"
,
GetLastError
());
return
HRESULT_FROM_WIN32
(
GetLastError
());
}
...
...
dlls/quartz/videorenderer.c
View file @
4fb03d90
...
...
@@ -156,7 +156,7 @@ static BOOL CreateRenderingWindow(VideoRendererImpl* This)
{
if
(
!
RegisterClassA
(
&
winclass
))
{
ERR
(
"Unable to register window %
x
\n
"
,
GetLastError
());
ERR
(
"Unable to register window %
u
\n
"
,
GetLastError
());
return
FALSE
;
}
wnd_class_registered
=
TRUE
;
...
...
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