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
569de388
Commit
569de388
authored
Dec 16, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Dec 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintab32/winex11.drv: Add CDECL to imported functions.
parent
bb33b0a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
16 deletions
+16
-16
wintab.c
dlls/winex11.drv/wintab.c
+8
-8
wintab32.c
dlls/wintab32/wintab32.c
+4
-4
wintab_internal.h
dlls/wintab32/wintab_internal.h
+4
-4
No files found.
dlls/winex11.drv/wintab.c
View file @
569de388
...
@@ -484,7 +484,7 @@ static void disable_system_cursors(void)
...
@@ -484,7 +484,7 @@ static void disable_system_cursors(void)
/***********************************************************************
/***********************************************************************
* X11DRV_LoadTabletInfo (X11DRV.@)
* X11DRV_LoadTabletInfo (X11DRV.@)
*/
*/
void
X11DRV_LoadTabletInfo
(
HWND
hwnddefault
)
void
CDECL
X11DRV_LoadTabletInfo
(
HWND
hwnddefault
)
{
{
const
WCHAR
SZ_CONTEXT_NAME
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
' '
,
'T'
,
'a'
,
'b'
,
'l'
,
'e'
,
't'
,
' '
,
'C'
,
'o'
,
'n'
,
't'
,
'e'
,
'x'
,
't'
,
0
};
const
WCHAR
SZ_CONTEXT_NAME
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
' '
,
'T'
,
'a'
,
'b'
,
'l'
,
'e'
,
't'
,
' '
,
'C'
,
'o'
,
'n'
,
't'
,
'e'
,
'x'
,
't'
,
0
};
const
WCHAR
SZ_DEVICE_NAME
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
' '
,
'T'
,
'a'
,
'b'
,
'l'
,
'e'
,
't'
,
' '
,
'D'
,
'e'
,
'v'
,
'i'
,
'c'
,
'e'
,
0
};
const
WCHAR
SZ_DEVICE_NAME
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
' '
,
'T'
,
'a'
,
'b'
,
'l'
,
'e'
,
't'
,
' '
,
'D'
,
'e'
,
'v'
,
'i'
,
'c'
,
'e'
,
0
};
...
@@ -959,7 +959,7 @@ static void proximity_event( HWND hwnd, XEvent *event )
...
@@ -959,7 +959,7 @@ static void proximity_event( HWND hwnd, XEvent *event )
/***********************************************************************
/***********************************************************************
* X11DRV_AttachEventQueueToTablet (X11DRV.@)
* X11DRV_AttachEventQueueToTablet (X11DRV.@)
*/
*/
int
X11DRV_AttachEventQueueToTablet
(
HWND
hOwner
)
int
CDECL
X11DRV_AttachEventQueueToTablet
(
HWND
hOwner
)
{
{
struct
x11drv_thread_data
*
data
=
x11drv_init_thread_data
();
struct
x11drv_thread_data
*
data
=
x11drv_init_thread_data
();
int
num_devices
;
int
num_devices
;
...
@@ -1041,7 +1041,7 @@ int X11DRV_AttachEventQueueToTablet(HWND hOwner)
...
@@ -1041,7 +1041,7 @@ int X11DRV_AttachEventQueueToTablet(HWND hOwner)
/***********************************************************************
/***********************************************************************
* X11DRV_GetCurrentPacket (X11DRV.@)
* X11DRV_GetCurrentPacket (X11DRV.@)
*/
*/
int
X11DRV_GetCurrentPacket
(
LPWTPACKET
packet
)
int
CDECL
X11DRV_GetCurrentPacket
(
LPWTPACKET
packet
)
{
{
*
packet
=
gMsgPacket
;
*
packet
=
gMsgPacket
;
return
1
;
return
1
;
...
@@ -1062,7 +1062,7 @@ static inline int CopyTabletData(LPVOID target, LPCVOID src, INT size)
...
@@ -1062,7 +1062,7 @@ static inline int CopyTabletData(LPVOID target, LPCVOID src, INT size)
/***********************************************************************
/***********************************************************************
* X11DRV_WTInfoW (X11DRV.@)
* X11DRV_WTInfoW (X11DRV.@)
*/
*/
UINT
X11DRV_WTInfoW
(
UINT
wCategory
,
UINT
nIndex
,
LPVOID
lpOutput
)
UINT
CDECL
X11DRV_WTInfoW
(
UINT
wCategory
,
UINT
nIndex
,
LPVOID
lpOutput
)
{
{
/*
/*
* It is valid to call WTInfoA with lpOutput == NULL, as per standard.
* It is valid to call WTInfoA with lpOutput == NULL, as per standard.
...
@@ -1488,7 +1488,7 @@ UINT X11DRV_WTInfoW(UINT wCategory, UINT nIndex, LPVOID lpOutput)
...
@@ -1488,7 +1488,7 @@ UINT X11DRV_WTInfoW(UINT wCategory, UINT nIndex, LPVOID lpOutput)
/***********************************************************************
/***********************************************************************
* AttachEventQueueToTablet (X11DRV.@)
* AttachEventQueueToTablet (X11DRV.@)
*/
*/
int
X11DRV_AttachEventQueueToTablet
(
HWND
hOwner
)
int
CDECL
X11DRV_AttachEventQueueToTablet
(
HWND
hOwner
)
{
{
return
0
;
return
0
;
}
}
...
@@ -1496,7 +1496,7 @@ int X11DRV_AttachEventQueueToTablet(HWND hOwner)
...
@@ -1496,7 +1496,7 @@ int X11DRV_AttachEventQueueToTablet(HWND hOwner)
/***********************************************************************
/***********************************************************************
* GetCurrentPacket (X11DRV.@)
* GetCurrentPacket (X11DRV.@)
*/
*/
int
X11DRV_GetCurrentPacket
(
LPWTPACKET
packet
)
int
CDECL
X11DRV_GetCurrentPacket
(
LPWTPACKET
packet
)
{
{
return
0
;
return
0
;
}
}
...
@@ -1504,14 +1504,14 @@ int X11DRV_GetCurrentPacket(LPWTPACKET packet)
...
@@ -1504,14 +1504,14 @@ int X11DRV_GetCurrentPacket(LPWTPACKET packet)
/***********************************************************************
/***********************************************************************
* LoadTabletInfo (X11DRV.@)
* LoadTabletInfo (X11DRV.@)
*/
*/
void
X11DRV_LoadTabletInfo
(
HWND
hwnddefault
)
void
CDECL
X11DRV_LoadTabletInfo
(
HWND
hwnddefault
)
{
{
}
}
/***********************************************************************
/***********************************************************************
* WTInfoW (X11DRV.@)
* WTInfoW (X11DRV.@)
*/
*/
UINT
X11DRV_WTInfoW
(
UINT
wCategory
,
UINT
nIndex
,
LPVOID
lpOutput
)
UINT
CDECL
X11DRV_WTInfoW
(
UINT
wCategory
,
UINT
nIndex
,
LPVOID
lpOutput
)
{
{
return
0
;
return
0
;
}
}
...
...
dlls/wintab32/wintab32.c
View file @
569de388
...
@@ -36,10 +36,10 @@ static const WCHAR
...
@@ -36,10 +36,10 @@ static const WCHAR
WC_TABLETCLASSNAME
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
'T'
,
'a'
,
'b'
,
'l'
,
'e'
,
't'
,
'C'
,
'l'
,
'a'
,
's'
,
's'
,
0
};
WC_TABLETCLASSNAME
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
'T'
,
'a'
,
'b'
,
'l'
,
'e'
,
't'
,
'C'
,
'l'
,
'a'
,
's'
,
's'
,
0
};
CRITICAL_SECTION
csTablet
;
CRITICAL_SECTION
csTablet
;
int
(
*
pLoadTabletInfo
)(
HWND
hwnddefault
)
=
NULL
;
int
(
CDECL
*
pLoadTabletInfo
)(
HWND
hwnddefault
)
=
NULL
;
int
(
*
pGetCurrentPacket
)(
LPWTPACKET
packet
)
=
NULL
;
int
(
CDECL
*
pGetCurrentPacket
)(
LPWTPACKET
packet
)
=
NULL
;
int
(
*
pAttachEventQueueToTablet
)(
HWND
hOwner
)
=
NULL
;
int
(
CDECL
*
pAttachEventQueueToTablet
)(
HWND
hOwner
)
=
NULL
;
UINT
(
*
pWTInfoW
)(
UINT
wCategory
,
UINT
nIndex
,
LPVOID
lpOutput
)
=
NULL
;
UINT
(
CDECL
*
pWTInfoW
)(
UINT
wCategory
,
UINT
nIndex
,
LPVOID
lpOutput
)
=
NULL
;
static
LRESULT
WINAPI
TABLET_WindowProc
(
HWND
hwnd
,
UINT
uMsg
,
WPARAM
wParam
,
static
LRESULT
WINAPI
TABLET_WindowProc
(
HWND
hwnd
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
);
LPARAM
lParam
);
...
...
dlls/wintab32/wintab_internal.h
View file @
569de388
...
@@ -151,10 +151,10 @@ int TABLET_PostTabletMessage(LPOPENCONTEXT newcontext, UINT msg, WPARAM wParam,
...
@@ -151,10 +151,10 @@ int TABLET_PostTabletMessage(LPOPENCONTEXT newcontext, UINT msg, WPARAM wParam,
LPOPENCONTEXT
AddPacketToContextQueue
(
LPWTPACKET
packet
,
HWND
hwnd
);
LPOPENCONTEXT
AddPacketToContextQueue
(
LPWTPACKET
packet
,
HWND
hwnd
);
/* X11drv functions */
/* X11drv functions */
extern
int
(
*
pLoadTabletInfo
)(
HWND
hwnddefault
);
extern
int
(
CDECL
*
pLoadTabletInfo
)(
HWND
hwnddefault
);
extern
int
(
*
pGetCurrentPacket
)(
LPWTPACKET
packet
);
extern
int
(
CDECL
*
pGetCurrentPacket
)(
LPWTPACKET
packet
);
extern
int
(
*
pAttachEventQueueToTablet
)(
HWND
hOwner
);
extern
int
(
CDECL
*
pAttachEventQueueToTablet
)(
HWND
hOwner
);
extern
UINT
(
*
pWTInfoW
)(
UINT
wCategory
,
UINT
nIndex
,
LPVOID
lpOutput
);
extern
UINT
(
CDECL
*
pWTInfoW
)(
UINT
wCategory
,
UINT
nIndex
,
LPVOID
lpOutput
);
extern
HWND
hwndDefault
;
extern
HWND
hwndDefault
;
extern
CRITICAL_SECTION
csTablet
;
extern
CRITICAL_SECTION
csTablet
;
...
...
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