1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

include: Use proper dllimports for user32 functions.

This commit is contained in:
Alexandre Julliard 2022-12-07 11:33:13 +01:00
parent 402d50d5f9
commit d92b59717d
5 changed files with 11 additions and 5 deletions

View file

@ -1,4 +1,4 @@
EXTRADEFS = -DWINBASEAPI= -DWINADVAPI=
EXTRADEFS = -DWINBASEAPI= -DWINADVAPI= -DWINUSERAPI=
MODULE = kernelbase.dll
IMPORTLIB = kernelbase
IMPORTS = uuid ntdll winecrt0

View file

@ -1,4 +1,4 @@
EXTRADEFS = -DWINGDIAPI=
EXTRADEFS = -DWINGDIAPI= -DWINUSERAPI=
MODULE = win32u.dll
UNIXLIB = win32u.so
IMPORTLIB = win32u

View file

@ -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>

View file

@ -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

View file

@ -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>