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
5ac3c41e
Commit
5ac3c41e
authored
Nov 24, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac.drv: Use the Unix call helpers.
parent
cb713d60
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
dllmain.c
dlls/winemac.drv/dllmain.c
+1
-4
unixlib.h
dlls/winemac.drv/unixlib.h
+1
-2
No files found.
dlls/winemac.drv/dllmain.c
View file @
5ac3c41e
...
...
@@ -27,7 +27,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(macdrv);
HMODULE
macdrv_module
=
0
;
unixlib_handle_t
macdrv_handle
;
struct
quit_info
{
HWND
*
wins
;
...
...
@@ -406,9 +405,7 @@ static BOOL process_attach(void)
{
.
id
=
0
}
};
if
(
NtQueryVirtualMemory
(
GetCurrentProcess
(),
macdrv_module
,
MemoryWineUnixFuncs
,
&
macdrv_handle
,
sizeof
(
macdrv_handle
),
NULL
))
return
FALSE
;
if
(
__wine_init_unix_call
())
return
FALSE
;
for
(
str
=
strings
;
str
->
id
;
str
++
)
str
->
len
=
LoadStringW
(
macdrv_module
,
str
->
id
,
(
WCHAR
*
)
&
str
->
str
,
0
);
...
...
dlls/winemac.drv/unixlib.h
View file @
5ac3c41e
...
...
@@ -35,8 +35,7 @@ enum macdrv_funcs
unix_funcs_count
};
extern
unixlib_handle_t
macdrv_handle
DECLSPEC_HIDDEN
;
#define MACDRV_CALL(func, params) __wine_unix_call(macdrv_handle, unix_ ## func, params)
#define MACDRV_CALL(func, params) WINE_UNIX_CALL(unix_ ## func, params)
/* macdrv_dnd_get_data params */
struct
dnd_get_data_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