diff --git a/include/dde.h b/include/dde.h index 976c457cd4f..35623615398 100644 --- a/include/dde.h +++ b/include/dde.h @@ -31,7 +31,7 @@ extern "C" { #ifdef _USER32_ #define WINUSERAPI #else -#define WINUSERAPI DECLSPEC_IMPORT +#define WINUSERAPI DECLSPEC_HIDDEN #endif #include diff --git a/include/ddeml.h b/include/ddeml.h index e769662988f..39c8c50b3c7 100644 --- a/include/ddeml.h +++ b/include/ddeml.h @@ -29,7 +29,7 @@ extern "C" { #ifdef _USER32_ #define WINUSERAPI #else -#define WINUSERAPI DECLSPEC_IMPORT +#define WINUSERAPI DECLSPEC_HIDDEN #endif /* Codepage Constants diff --git a/include/slpublic.h b/include/slpublic.h index 97fa8c798c9..3f3a39274d1 100644 --- a/include/slpublic.h +++ b/include/slpublic.h @@ -26,7 +26,7 @@ extern "C" { #ifdef _SLC_ #define SLCAPI #else -#define SLCAPI DECLSPEC_IMPORT +#define SLCAPI DECLSPEC_HIDDEN #endif typedef GUID SLID; diff --git a/include/winbase.h b/include/winbase.h index 6c97afe9fd6..314a8b7f605 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -28,13 +28,13 @@ extern "C" { #ifdef _KERNEL32_ #define WINBASEAPI #else -#define WINBASEAPI DECLSPEC_IMPORT +#define WINBASEAPI DECLSPEC_HIDDEN #endif #ifdef _ADVAPI32_ #define WINADVAPI #else -#define WINADVAPI DECLSPEC_IMPORT +#define WINADVAPI DECLSPEC_HIDDEN #endif #include diff --git a/include/wincred.h b/include/wincred.h index 86934b892ed..e8b5e677c82 100644 --- a/include/wincred.h +++ b/include/wincred.h @@ -26,7 +26,7 @@ extern "C" { #ifdef _ADVAPI32_ #define WINADVAPI #else -#define WINADVAPI DECLSPEC_IMPORT +#define WINADVAPI DECLSPEC_HIDDEN #endif #ifndef __SECHANDLE_DEFINED__ diff --git a/include/wincrypt.h b/include/wincrypt.h index 8d9106e752e..8ab503c5038 100644 --- a/include/wincrypt.h +++ b/include/wincrypt.h @@ -31,7 +31,7 @@ extern "C" { #ifdef _ADVAPI32_ # define WINADVAPI #else -# define WINADVAPI DECLSPEC_IMPORT +# define WINADVAPI DECLSPEC_HIDDEN #endif /* some typedefs for function parameters */ diff --git a/include/wingdi.h b/include/wingdi.h index 347ce1a2c2b..bed2c70798e 100644 --- a/include/wingdi.h +++ b/include/wingdi.h @@ -27,13 +27,13 @@ extern "C" { #ifdef _GDI32_ #define WINGDIAPI #else -#define WINGDIAPI DECLSPEC_IMPORT +#define WINGDIAPI DECLSPEC_HIDDEN #endif #ifdef _OPENGL32_ #define WGLAPI #else -#define WGLAPI DECLSPEC_IMPORT +#define WGLAPI DECLSPEC_HIDDEN #endif typedef struct _ABCFLOAT { diff --git a/include/winnls.h b/include/winnls.h index 5e5d8d13cd5..3be5077ad3a 100644 --- a/include/winnls.h +++ b/include/winnls.h @@ -25,7 +25,7 @@ extern "C" { #endif #ifndef _NORMALIZE_ -# define WINNORMALIZEAPI DECLSPEC_IMPORT +# define WINNORMALIZEAPI DECLSPEC_HIDDEN #else # define WINNORMALIZEAPI #endif diff --git a/include/winsvc.h b/include/winsvc.h index 9db35dd4fe0..8509d1738c6 100644 --- a/include/winsvc.h +++ b/include/winsvc.h @@ -26,7 +26,7 @@ extern "C" { #ifdef _ADVAPI32_ #define WINADVAPI #else -#define WINADVAPI DECLSPEC_IMPORT +#define WINADVAPI DECLSPEC_HIDDEN #endif /* Service database names */ diff --git a/include/winuser.h b/include/winuser.h index a489cb744c1..60bc473225b 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -20,7 +20,7 @@ #define _WINUSER_ #if !defined(_USER32_) -#define WINUSERAPI DECLSPEC_IMPORT +#define WINUSERAPI DECLSPEC_HIDDEN #else #define WINUSERAPI #endif diff --git a/include/wmium.h b/include/wmium.h index bbb13a3dbf4..887c2b4ccf5 100644 --- a/include/wmium.h +++ b/include/wmium.h @@ -22,7 +22,7 @@ #ifdef _WMI_SOURCE_ #define WMIAPI __stdcall #else -#define WMIAPI DECLSPEC_IMPORT __stdcall +#define WMIAPI DECLSPEC_HIDDEN __stdcall #endif #include