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
cb713d60
Commit
cb713d60
authored
Nov 24, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Use the Unix call helpers.
parent
1d036c04
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
dllmain.c
dlls/winex11.drv/dllmain.c
+1
-5
unixlib.h
dlls/winex11.drv/unixlib.h
+1
-2
No files found.
dlls/winex11.drv/dllmain.c
View file @
cb713d60
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
HMODULE
x11drv_module
=
0
;
HMODULE
x11drv_module
=
0
;
unixlib_handle_t
x11drv_handle
;
typedef
NTSTATUS
(
*
callback_func
)(
UINT
arg
);
typedef
NTSTATUS
(
*
callback_func
)(
UINT
arg
);
...
@@ -74,10 +73,7 @@ BOOL WINAPI DllMain( HINSTANCE instance, DWORD reason, void *reserved )
...
@@ -74,10 +73,7 @@ BOOL WINAPI DllMain( HINSTANCE instance, DWORD reason, void *reserved )
DisableThreadLibraryCalls
(
instance
);
DisableThreadLibraryCalls
(
instance
);
x11drv_module
=
instance
;
x11drv_module
=
instance
;
if
(
NtQueryVirtualMemory
(
GetCurrentProcess
(),
instance
,
MemoryWineUnixFuncs
,
if
(
__wine_init_unix_call
())
return
FALSE
;
&
x11drv_handle
,
sizeof
(
x11drv_handle
),
NULL
))
return
FALSE
;
if
(
X11DRV_CALL
(
init
,
&
params
))
return
FALSE
;
if
(
X11DRV_CALL
(
init
,
&
params
))
return
FALSE
;
callback_table
=
NtCurrentTeb
()
->
Peb
->
KernelCallbackTable
;
callback_table
=
NtCurrentTeb
()
->
Peb
->
KernelCallbackTable
;
...
...
dlls/winex11.drv/unixlib.h
View file @
cb713d60
...
@@ -36,8 +36,7 @@ enum x11drv_funcs
...
@@ -36,8 +36,7 @@ enum x11drv_funcs
unix_funcs_count
,
unix_funcs_count
,
};
};
extern
unixlib_handle_t
x11drv_handle
DECLSPEC_HIDDEN
;
#define X11DRV_CALL(func, params) WINE_UNIX_CALL( unix_ ## func, params )
#define X11DRV_CALL(func, params) __wine_unix_call( x11drv_handle, unix_ ## func, params )
/* x11drv_create_desktop params */
/* x11drv_create_desktop params */
struct
create_desktop_params
struct
create_desktop_params
...
...
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