include: Use proper dllimports for user32 functions.
This commit is contained in:
parent
402d50d5f9
commit
d92b59717d
5 changed files with 11 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
EXTRADEFS = -DWINBASEAPI= -DWINADVAPI=
|
||||
EXTRADEFS = -DWINBASEAPI= -DWINADVAPI= -DWINUSERAPI=
|
||||
MODULE = kernelbase.dll
|
||||
IMPORTLIB = kernelbase
|
||||
IMPORTS = uuid ntdll winecrt0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
EXTRADEFS = -DWINGDIAPI=
|
||||
EXTRADEFS = -DWINGDIAPI= -DWINUSERAPI=
|
||||
MODULE = win32u.dll
|
||||
UNIXLIB = win32u.so
|
||||
IMPORTLIB = win32u
|
||||
|
|
|
@ -28,10 +28,12 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef WINUSERAPI
|
||||
#if defined(_USER32_) || defined(WINE_UNIX_LIB)
|
||||
#define WINUSERAPI
|
||||
#else
|
||||
#define WINUSERAPI DECLSPEC_HIDDEN
|
||||
#define WINUSERAPI DECLSPEC_IMPORT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <dde.rh>
|
||||
|
|
|
@ -26,10 +26,12 @@
|
|||
extern "C" {
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
#ifndef WINUSERAPI
|
||||
#if defined(_USER32_) || defined(WINE_UNIX_LIB)
|
||||
#define WINUSERAPI
|
||||
#else
|
||||
#define WINUSERAPI DECLSPEC_HIDDEN
|
||||
#define WINUSERAPI DECLSPEC_IMPORT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Codepage Constants
|
||||
|
|
|
@ -19,11 +19,13 @@
|
|||
#ifndef _WINUSER_
|
||||
#define _WINUSER_
|
||||
|
||||
#ifndef WINUSERAPI
|
||||
#if !defined(_USER32_) && !defined(WINE_UNIX_LIB)
|
||||
#define WINUSERAPI DECLSPEC_HIDDEN
|
||||
#define WINUSERAPI DECLSPEC_IMPORT
|
||||
#else
|
||||
#define WINUSERAPI
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef RC_INVOKED
|
||||
#include <stdarg.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue