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
c76cc4a5
Commit
c76cc4a5
authored
Nov 27, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Nov 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintab32: Use BOOL type where appropriate.
parent
576102e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
context.c
dlls/wintab32/context.c
+10
-10
No files found.
dlls/wintab32/context.c
View file @
c76cc4a5
...
...
@@ -624,7 +624,7 @@ BOOL WINAPI WTPacket(HCTX hCtx, UINT wSerial, LPVOID lpPkt)
TRACE
(
"(%p, %d, %p)
\n
"
,
hCtx
,
wSerial
,
lpPkt
);
if
(
!
hCtx
)
return
0
;
return
FALSE
;
EnterCriticalSection
(
&
csTablet
);
...
...
@@ -632,7 +632,7 @@ BOOL WINAPI WTPacket(HCTX hCtx, UINT wSerial, LPVOID lpPkt)
if
(
!
context
)
{
LeaveCriticalSection
(
&
csTablet
);
return
0
;
return
FALSE
;
}
rc
=
TABLET_FindPacket
(
context
,
wSerial
,
&
wtp
);
...
...
@@ -671,7 +671,7 @@ BOOL WINAPI WTEnable(HCTX hCtx, BOOL fEnable)
if
(
!
context
)
{
LeaveCriticalSection
(
&
csTablet
);
return
0
;
return
FALSE
;
}
/* if we want to enable and it is not enabled then */
...
...
@@ -770,14 +770,14 @@ BOOL WINAPI WTGetA(HCTX hCtx, LPLOGCONTEXTA lpLogCtx)
TRACE
(
"(%p, %p)
\n
"
,
hCtx
,
lpLogCtx
);
if
(
!
hCtx
)
return
0
;
if
(
!
hCtx
)
return
FALSE
;
EnterCriticalSection
(
&
csTablet
);
context
=
TABLET_FindOpenContext
(
hCtx
);
if
(
!
context
)
{
LeaveCriticalSection
(
&
csTablet
);
return
0
;
return
FALSE
;
}
LOGCONTEXTWtoA
(
&
context
->
context
,
lpLogCtx
);
...
...
@@ -795,14 +795,14 @@ BOOL WINAPI WTGetW(HCTX hCtx, LPLOGCONTEXTW lpLogCtx)
TRACE
(
"(%p, %p)
\n
"
,
hCtx
,
lpLogCtx
);
if
(
!
hCtx
)
return
0
;
if
(
!
hCtx
)
return
FALSE
;
EnterCriticalSection
(
&
csTablet
);
context
=
TABLET_FindOpenContext
(
hCtx
);
if
(
!
context
)
{
LeaveCriticalSection
(
&
csTablet
);
return
0
;
return
FALSE
;
}
memmove
(
lpLogCtx
,
&
context
->
context
,
sizeof
(
LOGCONTEXTW
));
...
...
@@ -1066,7 +1066,7 @@ BOOL WINAPI WTQueuePacketsEx(HCTX hCtx, UINT *lpOld, UINT *lpNew)
TRACE
(
"(%p, %p, %p)
\n
"
,
hCtx
,
lpOld
,
lpNew
);
if
(
!
hCtx
)
return
0
;
if
(
!
hCtx
)
return
FALSE
;
EnterCriticalSection
(
&
csTablet
);
...
...
@@ -1117,7 +1117,7 @@ BOOL WINAPI WTQueueSizeSet(HCTX hCtx, int nPkts)
TRACE
(
"(%p, %d)
\n
"
,
hCtx
,
nPkts
);
if
(
!
hCtx
)
return
0
;
if
(
!
hCtx
)
return
FALSE
;
EnterCriticalSection
(
&
csTablet
);
...
...
@@ -1125,7 +1125,7 @@ BOOL WINAPI WTQueueSizeSet(HCTX hCtx, int nPkts)
if
(
!
context
)
{
LeaveCriticalSection
(
&
csTablet
);
return
0
;
return
FALSE
;
}
context
->
PacketQueue
=
HeapReAlloc
(
GetProcessHeap
(),
0
,
...
...
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