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
70b31cf0
Commit
70b31cf0
authored
Dec 03, 2010
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Dec 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Use unicode calls in SystemClock.
parent
883ca4d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
systemclock.c
dlls/quartz/systemclock.c
+4
-4
No files found.
dlls/quartz/systemclock.c
View file @
70b31cf0
...
...
@@ -137,11 +137,11 @@ static DWORD WINAPI SystemClockAdviseThread(LPVOID lpParam) {
outrefresh:
LeaveCriticalSection
(
&
This
->
safe
);
while
(
PeekMessage
A
(
&
msg
,
NULL
,
0
,
0
,
PM_REMOVE
))
{
while
(
PeekMessage
W
(
&
msg
,
NULL
,
0
,
0
,
PM_REMOVE
))
{
/** if hwnd we suppose that is a windows event ... */
if
(
NULL
!=
msg
.
hwnd
)
{
TranslateMessage
(
&
msg
);
DispatchMessage
A
(
&
msg
);
DispatchMessage
W
(
&
msg
);
}
else
{
switch
(
msg
.
message
)
{
case
WM_QUIT
:
...
...
@@ -178,7 +178,7 @@ static BOOL SystemClockPostMessageToAdviseThread(SystemClockImpl* This, UINT iMs
SetThreadPriority
(
This
->
adviseThread
,
THREAD_PRIORITY_TIME_CRITICAL
);
This
->
adviseThreadActive
=
TRUE
;
while
(
1
)
{
res
=
PostThreadMessage
A
(
This
->
adviseThreadId
,
iMsg
,
0
,
0
);
res
=
PostThreadMessage
W
(
This
->
adviseThreadId
,
iMsg
,
0
,
0
);
/* Let the thread creates its message queue (with MsgWaitForMultipleObjects call) by yielding and retrying */
if
(
!
res
&&
(
GetLastError
()
==
ERROR_INVALID_THREAD_ID
))
Sleep
(
0
);
...
...
@@ -187,7 +187,7 @@ static BOOL SystemClockPostMessageToAdviseThread(SystemClockImpl* This, UINT iMs
}
return
res
;
}
return
PostThreadMessage
A
(
This
->
adviseThreadId
,
iMsg
,
0
,
0
);
return
PostThreadMessage
W
(
This
->
adviseThreadId
,
iMsg
,
0
,
0
);
}
static
ULONG
WINAPI
SystemClockImpl_AddRef
(
IReferenceClock
*
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