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
50347810
Commit
50347810
authored
Nov 24, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineandroid.drv: Use the Unix call helpers.
parent
5ac3c41e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
dllmain.c
dlls/wineandroid.drv/dllmain.c
+1
-5
unixlib.h
dlls/wineandroid.drv/unixlib.h
+1
-1
No files found.
dlls/wineandroid.drv/dllmain.c
View file @
50347810
...
...
@@ -32,8 +32,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
android
);
static
unixlib_handle_t
unix_handle
;
extern
NTSTATUS
CDECL
wine_ntoskrnl_main_loop
(
HANDLE
stop_event
);
static
HANDLE
stop_event
;
static
HANDLE
thread
;
...
...
@@ -124,9 +122,7 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
if
(
reason
==
DLL_PROCESS_ATTACH
)
return
TRUE
;
DisableThreadLibraryCalls
(
inst
);
if
(
NtQueryVirtualMemory
(
GetCurrentProcess
(),
inst
,
MemoryWineUnixFuncs
,
&
unix_handle
,
sizeof
(
unix_handle
),
NULL
))
return
FALSE
;
if
(
__wine_init_unix_call
())
return
FALSE
;
params
.
register_window_callback
=
register_window_callback
;
if
(
ANDROID_CALL
(
init
,
&
params
))
return
FALSE
;
...
...
dlls/wineandroid.drv/unixlib.h
View file @
50347810
...
...
@@ -30,7 +30,7 @@ enum android_funcs
unix_funcs_count
};
#define ANDROID_CALL(func, params)
__wine_unix_call( unix_handle,
unix_ ## func, params )
#define ANDROID_CALL(func, params)
WINE_UNIX_CALL(
unix_ ## func, params )
/* android_init params */
struct
init_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