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
d6bc9fc9
Commit
d6bc9fc9
authored
Dec 16, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Dec 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv/explorer: Add CDECL to exported functions.
parent
602b9b08
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
desktop.c
dlls/winex11.drv/desktop.c
+1
-1
systray.c
dlls/winex11.drv/systray.c
+1
-1
desktop.c
programs/explorer/desktop.c
+1
-1
systray.c
programs/explorer/systray.c
+1
-1
No files found.
dlls/winex11.drv/desktop.c
View file @
d6bc9fc9
...
@@ -128,7 +128,7 @@ void X11DRV_init_desktop( Window win, unsigned int width, unsigned int height )
...
@@ -128,7 +128,7 @@ void X11DRV_init_desktop( Window win, unsigned int width, unsigned int height )
*
*
* Create the X11 desktop window for the desktop mode.
* Create the X11 desktop window for the desktop mode.
*/
*/
Window
X11DRV_create_desktop
(
UINT
width
,
UINT
height
)
Window
CDECL
X11DRV_create_desktop
(
UINT
width
,
UINT
height
)
{
{
XSetWindowAttributes
win_attr
;
XSetWindowAttributes
win_attr
;
Window
win
;
Window
win
;
...
...
dlls/winex11.drv/systray.c
View file @
d6bc9fc9
...
@@ -415,7 +415,7 @@ static BOOL delete_icon( struct tray_icon *icon )
...
@@ -415,7 +415,7 @@ static BOOL delete_icon( struct tray_icon *icon )
*
*
* Driver-side implementation of Shell_NotifyIcon.
* Driver-side implementation of Shell_NotifyIcon.
*/
*/
int
wine_notify_icon
(
DWORD
msg
,
NOTIFYICONDATAW
*
data
)
int
CDECL
wine_notify_icon
(
DWORD
msg
,
NOTIFYICONDATAW
*
data
)
{
{
BOOL
ret
=
FALSE
;
BOOL
ret
=
FALSE
;
struct
tray_icon
*
icon
;
struct
tray_icon
*
icon
;
...
...
programs/explorer/desktop.c
View file @
d6bc9fc9
...
@@ -105,7 +105,7 @@ static unsigned long create_desktop( const WCHAR *name, unsigned int width, unsi
...
@@ -105,7 +105,7 @@ static unsigned long create_desktop( const WCHAR *name, unsigned int width, unsi
HMODULE
x11drv
=
GetModuleHandleA
(
"winex11.drv"
);
HMODULE
x11drv
=
GetModuleHandleA
(
"winex11.drv"
);
HDESK
desktop
;
HDESK
desktop
;
unsigned
long
xwin
=
0
;
unsigned
long
xwin
=
0
;
unsigned
long
(
*
create_desktop_func
)(
unsigned
int
,
unsigned
int
);
unsigned
long
(
CDECL
*
create_desktop_func
)(
unsigned
int
,
unsigned
int
);
desktop
=
CreateDesktopW
(
name
,
NULL
,
NULL
,
0
,
DESKTOP_ALL_ACCESS
,
NULL
);
desktop
=
CreateDesktopW
(
name
,
NULL
,
NULL
,
0
,
DESKTOP_ALL_ACCESS
,
NULL
);
if
(
!
desktop
)
if
(
!
desktop
)
...
...
programs/explorer/systray.c
View file @
d6bc9fc9
...
@@ -35,7 +35,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(systray);
...
@@ -35,7 +35,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(systray);
#define IS_OPTION_FALSE(ch) \
#define IS_OPTION_FALSE(ch) \
((ch) == 'n' || (ch) == 'N' || (ch) == 'f' || (ch) == 'F' || (ch) == '0')
((ch) == 'n' || (ch) == 'N' || (ch) == 'f' || (ch) == 'F' || (ch) == '0')
static
int
(
*
wine_notify_icon
)(
DWORD
,
NOTIFYICONDATAW
*
);
static
int
(
CDECL
*
wine_notify_icon
)(
DWORD
,
NOTIFYICONDATAW
*
);
/* an individual systray icon, unpacked from the NOTIFYICONDATA and always in unicode */
/* an individual systray icon, unpacked from the NOTIFYICONDATA and always in unicode */
struct
icon
struct
icon
...
...
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