Alexandre Julliard : include: Make the Dll* entry points hidden.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 12 10:02:39 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 9936feef079ef0357a8241d2c53ffb109e110bb8
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=9936feef079ef0357a8241d2c53ffb109e110bb8

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Jun 12 16:18:01 2006 +0200

include: Make the Dll* entry points hidden.

---

 dlls/mshtml/main.c          |    1 +
 dlls/wininet/wininet_main.c |    2 ++
 include/objbase.h           |    8 ++++----
 include/shlwapi.h           |    4 ++--
 4 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/dlls/mshtml/main.c b/dlls/mshtml/main.c
index eb53311..d3d533a 100644
--- a/dlls/mshtml/main.c
+++ b/dlls/mshtml/main.c
@@ -34,6 +34,7 @@ #include "winnls.h"
 #include "winreg.h"
 #include "ole2.h"
 #include "advpub.h"
+#include "shlwapi.h"
 
 #include "wine/unicode.h"
 #include "wine/debug.h"
diff --git a/dlls/wininet/wininet_main.c b/dlls/wininet/wininet_main.c
index 71fe1b8..cf4a6f2 100644
--- a/dlls/wininet/wininet_main.c
+++ b/dlls/wininet/wininet_main.c
@@ -23,6 +23,8 @@ #include <stdarg.h>
 #include "windef.h"
 #include "winbase.h"
 #include "winerror.h"
+#include "winreg.h"
+#include "shlwapi.h"
 
 #include "wine/debug.h"
 
diff --git a/include/objbase.h b/include/objbase.h
index f2d4d93..129506a 100644
--- a/include/objbase.h
+++ b/include/objbase.h
@@ -426,13 +426,13 @@ INT WINAPI StringFromGUID2(REFGUID id, L
 /*****************************************************************************
  *	COM Server dll - exports
  */
-HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID * ppv);
-HRESULT WINAPI DllCanUnloadNow(void);
+HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID * ppv) DECLSPEC_HIDDEN;
+HRESULT WINAPI DllCanUnloadNow(void) DECLSPEC_HIDDEN;
 
 /* shouldn't be here, but is nice for type checking */
 #ifdef __WINESRC__
-HRESULT WINAPI DllRegisterServer(void);
-HRESULT WINAPI DllUnregisterServer(void);
+HRESULT WINAPI DllRegisterServer(void) DECLSPEC_HIDDEN;
+HRESULT WINAPI DllUnregisterServer(void) DECLSPEC_HIDDEN;
 #endif
 
 
diff --git a/include/shlwapi.h b/include/shlwapi.h
index 1f3aec4..e1e43f5 100644
--- a/include/shlwapi.h
+++ b/include/shlwapi.h
@@ -978,7 +978,7 @@ typedef HRESULT (CALLBACK *DLLGETVERSION
 
 #ifdef __WINESRC__
 /* shouldn't be here, but is nice for type checking */
-HRESULT WINAPI DllGetVersion(DLLVERSIONINFO *);
+HRESULT WINAPI DllGetVersion(DLLVERSIONINFO *) DECLSPEC_HIDDEN;
 #endif
 
 typedef struct _DLLVERSIONINFO2 {
@@ -995,7 +995,7 @@ #define DLLVER_QFE_MASK   0x000000000000
 #define MAKEDLLVERULL(mjr, mnr, bld, qfe) (((ULONGLONG)(mjr)<< 48)| \
   ((ULONGLONG)(mnr)<< 32) | ((ULONGLONG)(bld)<< 16) | (ULONGLONG)(qfe))
 
-HRESULT WINAPI DllInstall(BOOL,LPCWSTR);
+HRESULT WINAPI DllInstall(BOOL,LPCWSTR) DECLSPEC_HIDDEN;
 
 
 /* IsOS definitions */




More information about the wine-cvs mailing list