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
2ec60930
Commit
2ec60930
authored
Feb 22, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintab32: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
eb7f1edc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
16 deletions
+15
-16
Makefile.in
dlls/wintab32/Makefile.in
+0
-1
context.c
dlls/wintab32/context.c
+11
-11
manager.c
dlls/wintab32/manager.c
+3
-3
wintab32.c
dlls/wintab32/wintab32.c
+1
-1
No files found.
dlls/wintab32/Makefile.in
View file @
2ec60930
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
wintab32.dll
IMPORTLIB
=
wintab32
IMPORTS
=
user32 advapi32
...
...
dlls/wintab32/context.c
View file @
2ec60930
...
...
@@ -102,7 +102,7 @@ static const char* DUMPBITS(int x)
static
inline
void
DUMPPACKET
(
WTPACKET
packet
)
{
TRACE
(
"pkContext: %p pkStatus: 0x%x pkTime : 0x%
x pkChanged: 0x%x pkSerialNumber: 0x%x pkCursor : %i pkButtons: %x pkX: %i pkY: %i pkZ: %
i pkNormalPressure: %i pkTangentPressure: %i pkOrientation: (%i,%i,%i) pkRotation: (%i,%i,%i)
\n
"
,
TRACE
(
"pkContext: %p pkStatus: 0x%x pkTime : 0x%
lx pkChanged: 0x%lx pkSerialNumber: 0x%x pkCursor : %i pkButtons: %lx pkX: %li pkY: %li pkZ: %l
i pkNormalPressure: %i pkTangentPressure: %i pkOrientation: (%i,%i,%i) pkRotation: (%i,%i,%i)
\n
"
,
packet
.
pkContext
,
packet
.
pkStatus
,
packet
.
pkTime
,
packet
.
pkChanged
,
packet
.
pkSerialNumber
,
packet
.
pkCursor
,
packet
.
pkButtons
,
packet
.
pkX
,
packet
.
pkY
,
packet
.
pkZ
,
packet
.
pkNormalPressure
,
packet
.
pkTangentPressure
,
...
...
@@ -115,19 +115,19 @@ static inline void DUMPCONTEXT(LOGCONTEXTW lc)
TRACE
(
"Name: %s, Options: %x, Status: %x, Locks: %x, MsgBase: %x, Device: %x
\n
"
,
wine_dbgstr_w
(
lc
.
lcName
),
lc
.
lcOptions
,
lc
.
lcStatus
,
lc
.
lcLocks
,
lc
.
lcMsgBase
,
lc
.
lcDevice
);
TRACE
(
"PktRate %x
\n
"
,
lc
.
lcPktRate
);
TRACE
(
"PktData 0x%04x %s
\n
"
,
lc
.
lcPktData
,
DUMPBITS
(
lc
.
lcPktData
));
TRACE
(
"PktMode 0x%04x %s
\n
"
,
lc
.
lcPktMode
,
DUMPBITS
(
lc
.
lcPktMode
));
TRACE
(
"MovMask 0x%04x %s
\n
"
,
lc
.
lcMoveMask
,
DUMPBITS
(
lc
.
lcMoveMask
));
TRACE
(
"BtnDnMask: %
x, BtnUpMask: %
x
\n
"
,
lc
.
lcBtnDnMask
,
lc
.
lcBtnUpMask
);
TRACE
(
"InOrgX: %
i, InOrgY: %i, InOrgZ: %
i
\n
"
,
lc
.
lcInOrgX
,
lc
.
lcInOrgY
,
lc
.
lcInOrgZ
);
TRACE
(
"InExtX: %
i, InExtY: %i, InExtZ: %
i
\n
"
,
lc
.
lcInExtX
,
lc
.
lcInExtY
,
lc
.
lcInExtZ
);
TRACE
(
"OutOrgX: %
i, OutOrgY: %i, OutOrgZ: %
i
\n
"
,
lc
.
lcOutOrgX
,
lc
.
lcOutOrgY
,
lc
.
lcOutOrgZ
);
TRACE
(
"OutExtX: %
i, OutExtY: %i, OutExtZ: %
i
\n
"
,
lc
.
lcOutExtX
,
lc
.
lcOutExtY
,
lc
.
lcOutExtZ
);
TRACE
(
"SensX: %
i, SensY: %i, SensZ: %
i
\n
"
,
lc
.
lcSensX
,
lc
.
lcSensY
,
lc
.
lcSensZ
);
TRACE
(
"PktData 0x%04
l
x %s
\n
"
,
lc
.
lcPktData
,
DUMPBITS
(
lc
.
lcPktData
));
TRACE
(
"PktMode 0x%04
l
x %s
\n
"
,
lc
.
lcPktMode
,
DUMPBITS
(
lc
.
lcPktMode
));
TRACE
(
"MovMask 0x%04
l
x %s
\n
"
,
lc
.
lcMoveMask
,
DUMPBITS
(
lc
.
lcMoveMask
));
TRACE
(
"BtnDnMask: %
lx, BtnUpMask: %l
x
\n
"
,
lc
.
lcBtnDnMask
,
lc
.
lcBtnUpMask
);
TRACE
(
"InOrgX: %
li, InOrgY: %li, InOrgZ: %l
i
\n
"
,
lc
.
lcInOrgX
,
lc
.
lcInOrgY
,
lc
.
lcInOrgZ
);
TRACE
(
"InExtX: %
li, InExtY: %li, InExtZ: %l
i
\n
"
,
lc
.
lcInExtX
,
lc
.
lcInExtY
,
lc
.
lcInExtZ
);
TRACE
(
"OutOrgX: %
li, OutOrgY: %li, OutOrgZ: %l
i
\n
"
,
lc
.
lcOutOrgX
,
lc
.
lcOutOrgY
,
lc
.
lcOutOrgZ
);
TRACE
(
"OutExtX: %
li, OutExtY: %li, OutExtZ: %l
i
\n
"
,
lc
.
lcOutExtX
,
lc
.
lcOutExtY
,
lc
.
lcOutExtZ
);
TRACE
(
"SensX: %
li, SensY: %li, SensZ: %l
i
\n
"
,
lc
.
lcSensX
,
lc
.
lcSensY
,
lc
.
lcSensZ
);
TRACE
(
"SysMode: %i
\n
"
,
lc
.
lcSysMode
);
TRACE
(
"SysOrgX: %i, SysOrgY: %i
\n
"
,
lc
.
lcSysOrgX
,
lc
.
lcSysOrgY
);
TRACE
(
"SysExtX: %i, SysExtY: %i
\n
"
,
lc
.
lcSysExtX
,
lc
.
lcSysExtY
);
TRACE
(
"SysSensX: %
i, SysSensY: %
i
\n
"
,
lc
.
lcSysSensX
,
lc
.
lcSysSensY
);
TRACE
(
"SysSensX: %
li, SysSensY: %l
i
\n
"
,
lc
.
lcSysSensX
,
lc
.
lcSysSensY
);
}
...
...
dlls/wintab32/manager.c
View file @
2ec60930
...
...
@@ -59,7 +59,7 @@ BOOL WINAPI WTMgrClose(HMGR hMgr)
*/
BOOL
WINAPI
WTMgrContextEnum
(
HMGR
hMgr
,
WTENUMPROC
lpEnumFunc
,
LPARAM
lParam
)
{
FIXME
(
"(%p, %p, %
l
d): stub
\n
"
,
hMgr
,
lpEnumFunc
,
lParam
);
FIXME
(
"(%p, %p, %
I
d): stub
\n
"
,
hMgr
,
lpEnumFunc
,
lParam
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
...
...
@@ -190,7 +190,7 @@ BOOL WINAPI WTMgrPacketUnhook(HWTHOOK hHook)
LRESULT
WINAPI
WTMgrPacketHookNext
(
HWTHOOK
hHook
,
int
nCode
,
WPARAM
wParam
,
LPARAM
lParam
)
{
FIXME
(
"(%p, %d, %
lu, %l
u): stub
\n
"
,
hHook
,
nCode
,
wParam
,
lParam
);
FIXME
(
"(%p, %d, %
Iu, %I
u): stub
\n
"
,
hHook
,
nCode
,
wParam
,
lParam
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
...
...
@@ -243,7 +243,7 @@ BOOL WINAPI WTMgrCsrButtonMap(HMGR hMgr, UINT wCursor,
BOOL
WINAPI
WTMgrCsrPressureBtnMarks
(
HMGR
hMgr
,
UINT
wCsr
,
DWORD
dwNMarks
,
DWORD
dwTMarks
)
{
FIXME
(
"(%p, %u, %
u, %
u): stub
\n
"
,
hMgr
,
wCsr
,
dwNMarks
,
dwTMarks
);
FIXME
(
"(%p, %u, %
lu, %l
u): stub
\n
"
,
hMgr
,
wCsr
,
dwNMarks
,
dwTMarks
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
...
...
dlls/wintab32/wintab32.c
View file @
2ec60930
...
...
@@ -95,7 +95,7 @@ static HMODULE load_graphics_driver(void)
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpReserved
)
{
TRACE
(
"%p, %x, %p
\n
"
,
hInstDLL
,
fdwReason
,
lpReserved
);
TRACE
(
"%p, %
l
x, %p
\n
"
,
hInstDLL
,
fdwReason
,
lpReserved
);
switch
(
fdwReason
)
{
case
DLL_PROCESS_ATTACH
:
...
...
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