Commit 30ce97dd authored by Alexandre Julliard's avatar Alexandre Julliard

include: Remove DECLSPEC_HIDDEN from RPC functions.

parent d597d049
...@@ -139,8 +139,8 @@ RPCRTAPI void WINAPI CStdStubBuffer_DebugServerRelease( IRpcStubBuffer *Thi ...@@ -139,8 +139,8 @@ RPCRTAPI void WINAPI CStdStubBuffer_DebugServerRelease( IRpcStubBuffer *Thi
RPCRTAPI ULONG WINAPI NdrCStdStubBuffer_Release( IRpcStubBuffer *This, IPSFactoryBuffer *pPSF ); RPCRTAPI ULONG WINAPI NdrCStdStubBuffer_Release( IRpcStubBuffer *This, IPSFactoryBuffer *pPSF );
RPCRTAPI ULONG WINAPI NdrCStdStubBuffer2_Release(IRpcStubBuffer *This, IPSFactoryBuffer *pPSF); RPCRTAPI ULONG WINAPI NdrCStdStubBuffer2_Release(IRpcStubBuffer *This, IPSFactoryBuffer *pPSF);
ULONG STDMETHODCALLTYPE CStdStubBuffer_Release( IRpcStubBuffer *This ) DECLSPEC_HIDDEN; ULONG STDMETHODCALLTYPE CStdStubBuffer_Release( IRpcStubBuffer *This );
ULONG STDMETHODCALLTYPE CStdStubBuffer2_Release(IRpcStubBuffer *This) DECLSPEC_HIDDEN; ULONG STDMETHODCALLTYPE CStdStubBuffer2_Release(IRpcStubBuffer *This);
#define CStdStubBuffer_METHODS \ #define CStdStubBuffer_METHODS \
CStdStubBuffer_QueryInterface, \ CStdStubBuffer_QueryInterface, \
...@@ -224,10 +224,10 @@ ULONG WINAPI CStdStubBuffer2_Release(IRpcStubBuffer *This) \ ...@@ -224,10 +224,10 @@ ULONG WINAPI CStdStubBuffer2_Release(IRpcStubBuffer *This) \
/* macros used in dlldata.c files */ /* macros used in dlldata.c files */
#define EXTERN_PROXY_FILE(proxy) \ #define EXTERN_PROXY_FILE(proxy) \
EXTERN_C const ProxyFileInfo proxy##_ProxyFileInfo DECLSPEC_HIDDEN; EXTERN_C const ProxyFileInfo proxy##_ProxyFileInfo;
#define PROXYFILE_LIST_START \ #define PROXYFILE_LIST_START \
const ProxyFileInfo * aProxyFileList[] DECLSPEC_HIDDEN = \ const ProxyFileInfo * aProxyFileList[] = \
{ {
#define REFERENCE_PROXY_FILE(proxy) \ #define REFERENCE_PROXY_FILE(proxy) \
...@@ -287,7 +287,7 @@ ULONG WINAPI CStdStubBuffer2_Release(IRpcStubBuffer *This) \ ...@@ -287,7 +287,7 @@ ULONG WINAPI CStdStubBuffer2_Release(IRpcStubBuffer *This) \
#define DLLDATA_GETPROXYDLLINFO(pfl, rclsid) \ #define DLLDATA_GETPROXYDLLINFO(pfl, rclsid) \
void RPC_ENTRY GetProxyDllInfo(const ProxyFileInfo ***ppProxyFileInfo, \ void RPC_ENTRY GetProxyDllInfo(const ProxyFileInfo ***ppProxyFileInfo, \
const CLSID **ppClsid) DECLSPEC_HIDDEN; \ const CLSID **ppClsid); \
void RPC_ENTRY GetProxyDllInfo(const ProxyFileInfo ***ppProxyFileInfo, \ void RPC_ENTRY GetProxyDllInfo(const ProxyFileInfo ***ppProxyFileInfo, \
const CLSID **ppClsid) \ const CLSID **ppClsid) \
{ \ { \
...@@ -296,7 +296,7 @@ ULONG WINAPI CStdStubBuffer2_Release(IRpcStubBuffer *This) \ ...@@ -296,7 +296,7 @@ ULONG WINAPI CStdStubBuffer2_Release(IRpcStubBuffer *This) \
} }
#define DLLGETCLASSOBJECTROUTINE(pfl, factory_clsid, factory) \ #define DLLGETCLASSOBJECTROUTINE(pfl, factory_clsid, factory) \
HRESULT WINAPI DLLGETCLASSOBJECT_ENTRY(REFCLSID rclsid, REFIID riid, void **ppv) DECLSPEC_HIDDEN; \ HRESULT WINAPI DLLGETCLASSOBJECT_ENTRY(REFCLSID rclsid, REFIID riid, void **ppv); \
HRESULT WINAPI DLLGETCLASSOBJECT_ENTRY(REFCLSID rclsid, REFIID riid, \ HRESULT WINAPI DLLGETCLASSOBJECT_ENTRY(REFCLSID rclsid, REFIID riid, \
void **ppv) \ void **ppv) \
{ \ { \
...@@ -305,16 +305,16 @@ ULONG WINAPI CStdStubBuffer2_Release(IRpcStubBuffer *This) \ ...@@ -305,16 +305,16 @@ ULONG WINAPI CStdStubBuffer2_Release(IRpcStubBuffer *This) \
} }
#define DLLCANUNLOADNOW(factory) \ #define DLLCANUNLOADNOW(factory) \
HRESULT WINAPI DLLCANUNLOADNOW_ENTRY(void) DECLSPEC_HIDDEN; \ HRESULT WINAPI DLLCANUNLOADNOW_ENTRY(void); \
HRESULT WINAPI DLLCANUNLOADNOW_ENTRY(void) \ HRESULT WINAPI DLLCANUNLOADNOW_ENTRY(void) \
{ \ { \
return NdrDllCanUnloadNow((factory)); \ return NdrDllCanUnloadNow((factory)); \
} }
#define REGISTER_PROXY_DLL_ROUTINES(pfl, factory_clsid) \ #define REGISTER_PROXY_DLL_ROUTINES(pfl, factory_clsid) \
HINSTANCE hProxyDll DECLSPEC_HIDDEN = NULL; \ HINSTANCE hProxyDll = NULL; \
\ \
BOOL WINAPI DLLMAIN_ENTRY(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) DECLSPEC_HIDDEN; \ BOOL WINAPI DLLMAIN_ENTRY(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved); \
BOOL WINAPI DLLMAIN_ENTRY(HINSTANCE hinstDLL, DWORD fdwReason, \ BOOL WINAPI DLLMAIN_ENTRY(HINSTANCE hinstDLL, DWORD fdwReason, \
LPVOID lpvReserved) \ LPVOID lpvReserved) \
{ \ { \
...@@ -326,13 +326,13 @@ ULONG WINAPI CStdStubBuffer2_Release(IRpcStubBuffer *This) \ ...@@ -326,13 +326,13 @@ ULONG WINAPI CStdStubBuffer2_Release(IRpcStubBuffer *This) \
return TRUE; \ return TRUE; \
} \ } \
\ \
HRESULT WINAPI DLLREGISTERSERVER_ENTRY(void) DECLSPEC_HIDDEN; \ HRESULT WINAPI DLLREGISTERSERVER_ENTRY(void); \
HRESULT WINAPI DLLREGISTERSERVER_ENTRY(void) \ HRESULT WINAPI DLLREGISTERSERVER_ENTRY(void) \
{ \ { \
WINE_DO_REGISTER_DLL( (pfl), (factory_clsid) ); \ WINE_DO_REGISTER_DLL( (pfl), (factory_clsid) ); \
} \ } \
\ \
HRESULT WINAPI DLLUNREGISTERSERVER_ENTRY(void) DECLSPEC_HIDDEN; \ HRESULT WINAPI DLLUNREGISTERSERVER_ENTRY(void); \
HRESULT WINAPI DLLUNREGISTERSERVER_ENTRY(void) \ HRESULT WINAPI DLLUNREGISTERSERVER_ENTRY(void) \
{ \ { \
WINE_DO_UNREGISTER_DLL( (pfl), (factory_clsid) ); \ WINE_DO_UNREGISTER_DLL( (pfl), (factory_clsid) ); \
...@@ -347,7 +347,7 @@ ULONG WINAPI CStdStubBuffer2_Release(IRpcStubBuffer *This) \ ...@@ -347,7 +347,7 @@ ULONG WINAPI CStdStubBuffer2_Release(IRpcStubBuffer *This) \
#define DLLDATA_ROUTINES(pfl, factory_clsid) \ #define DLLDATA_ROUTINES(pfl, factory_clsid) \
CLSID_PSFACTORYBUFFER \ CLSID_PSFACTORYBUFFER \
CStdPSFactoryBuffer DECLSPEC_HIDDEN gPFactory = { NULL, 0, NULL, 0 }; \ CStdPSFactoryBuffer gPFactory = { NULL, 0, NULL, 0 }; \
DLLDATA_GETPROXYDLLINFO(pfl, factory_clsid) \ DLLDATA_GETPROXYDLLINFO(pfl, factory_clsid) \
DLLGETCLASSOBJECTROUTINE(pfl, factory_clsid, &gPFactory) \ DLLGETCLASSOBJECTROUTINE(pfl, factory_clsid, &gPFactory) \
DLLCANUNLOADNOW(&gPFactory) \ DLLCANUNLOADNOW(&gPFactory) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment