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
daddd9b3
Commit
daddd9b3
authored
Jun 01, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 03, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac: Build with msvcrt.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
parent
f1549e7f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
45 additions
and
26 deletions
+45
-26
Makefile.in
dlls/winemac.drv/Makefile.in
+0
-2
dllmain.c
dlls/winemac.drv/dllmain.c
+2
-3
dragdrop.c
dlls/winemac.drv/dragdrop.c
+2
-3
ime.c
dlls/winemac.drv/ime.c
+2
-6
macdrv.h
dlls/winemac.drv/macdrv.h
+0
-12
macdrv_dll.h
dlls/winemac.drv/macdrv_dll.h
+39
-0
No files found.
dlls/winemac.drv/Makefile.in
View file @
daddd9b3
...
...
@@ -5,8 +5,6 @@ IMPORTS = uuid rpcrt4 user32 gdi32 win32u
DELAYIMPORTS
=
ole32 shell32 imm32
EXTRALIBS
=
-lwin32u
-framework
AppKit
-framework
Carbon
-framework
Security
-framework
OpenGL
-framework
IOKit
-framework
CoreVideo
-framework
QuartzCore
$(METAL_LIBS)
EXTRADLLFLAGS
=
-mcygwin
C_SRCS
=
\
clipboard.c
\
display.c
\
...
...
dlls/winemac.drv/dllmain.c
View file @
daddd9b3
...
...
@@ -18,9 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#include "macdrv.h"
#include "macdrv_dll.h"
#include "macdrv_res.h"
#include "shellapi.h"
#include "wine/debug.h"
...
...
dlls/winemac.drv/dragdrop.c
View file @
daddd9b3
...
...
@@ -20,18 +20,17 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#define NONAMELESSUNION
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "macdrv.h"
#include "macdrv
_dll
.h"
#define COBJMACROS
#include "objidl.h"
#include "shellapi.h"
#include "shlobj.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dragdrop
);
...
...
dlls/winemac.drv/ime.c
View file @
daddd9b3
...
...
@@ -34,14 +34,10 @@
* here the IMM level deals with if the application is IME aware or not.
*/
#include "config.h"
#include <stdarg.h>
#include "macdrv.h"
#include "winuser.h"
#include "macdrv_dll.h"
#include "imm.h"
#include "ddk/imm.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
imm
);
...
...
dlls/winemac.drv/macdrv.h
View file @
daddd9b3
...
...
@@ -41,7 +41,6 @@ extern BOOL allow_vsync DECLSPEC_HIDDEN;
extern
BOOL
allow_set_gamma
DECLSPEC_HIDDEN
;
extern
BOOL
allow_software_rendering
DECLSPEC_HIDDEN
;
extern
BOOL
disable_window_decorations
DECLSPEC_HIDDEN
;
extern
HMODULE
macdrv_module
DECLSPEC_HIDDEN
;
extern
NTSTATUS
(
WINAPI
*
pNtWaitForMultipleObjects
)(
ULONG
,
const
HANDLE
*
,
BOOLEAN
,
BOOLEAN
,
const
LARGE_INTEGER
*
)
DECLSPEC_HIDDEN
;
...
...
@@ -276,13 +275,6 @@ extern void check_retina_status(void) DECLSPEC_HIDDEN;
extern
void
macdrv_init_display_devices
(
BOOL
force
)
DECLSPEC_HIDDEN
;
extern
void
init_user_driver
(
void
)
DECLSPEC_HIDDEN
;
/**************************************************************************
* Mac IME driver
*/
extern
NTSTATUS
WINAPI
macdrv_ime_set_text
(
void
*
params
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
macdrv_ime_query_char_rect
(
void
*
params
,
ULONG
size
)
DECLSPEC_HIDDEN
;
/* unixlib interface */
extern
NTSTATUS
macdrv_dnd_get_data
(
void
*
arg
)
DECLSPEC_HIDDEN
;
...
...
@@ -296,10 +288,6 @@ extern NTSTATUS macdrv_notify_icon(void *arg) DECLSPEC_HIDDEN;
extern
NTSTATUS
macdrv_client_func
(
enum
macdrv_client_funcs
func
,
const
void
*
params
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
macdrv_dnd_query_drag
(
void
*
arg
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
macdrv_dnd_query_drop
(
void
*
arg
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
macdrv_dnd_query_exited
(
void
*
arg
,
ULONG
size
)
DECLSPEC_HIDDEN
;
/* user helpers */
static
inline
LRESULT
send_message
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
...
...
dlls/winemac.drv/macdrv_dll.h
0 → 100644
View file @
daddd9b3
/*
* MAC driver definitions
*
* Copyright 2022 Jacek Caban for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_MACDRV_DLL_H
#define __WINE_MACDRV_DLL_H
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "ntgdi.h"
#include "unixlib.h"
extern
NTSTATUS
WINAPI
macdrv_dnd_query_drag
(
void
*
arg
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
macdrv_dnd_query_drop
(
void
*
arg
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
macdrv_dnd_query_exited
(
void
*
arg
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
macdrv_ime_set_text
(
void
*
params
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
WINAPI
macdrv_ime_query_char_rect
(
void
*
params
,
ULONG
size
)
DECLSPEC_HIDDEN
;
extern
HMODULE
macdrv_module
DECLSPEC_HIDDEN
;
#endif
/* __WINE_MACDRV_DLL_H */
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