Index: /trunk/include/VBox/cdefs.h
===================================================================
--- /trunk/include/VBox/cdefs.h	(revision 66713)
+++ /trunk/include/VBox/cdefs.h	(revision 66714)
@@ -98,5 +98,9 @@
  */
 #if defined(IN_DIS)
-# define DISDECL(type)      DECLEXPORT(type) VBOXCALL
+#  define DISDECL(type)     DECLHIDDEN(type) VBOXCALL
+# ifdef IN_DIS_STATIC
+# else
+#  define DISDECL(type)     DECLEXPORT(type) VBOXCALL
+# endif
 #else
 # define DISDECL(type)      DECLIMPORT(type) VBOXCALL
Index: /trunk/src/VBox/HostDrivers/Support/Makefile.kmk
===================================================================
--- /trunk/src/VBox/HostDrivers/Support/Makefile.kmk	(revision 66713)
+++ /trunk/src/VBox/HostDrivers/Support/Makefile.kmk	(revision 66714)
@@ -208,6 +208,6 @@
 	win/SUPR3HardenedMainA-win.asm \
 	win/SUPR3HardenedMainImports-win.cpp \
-       win/SUPHardenedVerifyProcess-win.cpp \
-       win/SUPHardenedVerifyImage-win.cpp \
+	win/SUPHardenedVerifyProcess-win.cpp \
+	win/SUPHardenedVerifyImage-win.cpp \
 	$(VBOX_SUP_WIN_CERTS_FILE)
 SUPR3HardenedStatic_SOURCES.x86 += \
@@ -219,8 +219,8 @@
 if "$(KBUILD_TARGET)" == "win" && defined(VBOX_WITH_HARDENING) ## @todo some of this move up.
  SUPR3HardenedStatic_DEFS += \
-  	IN_RT \
  	IN_RT_R3 \
  	IN_RT_STATIC \
  	IN_DIS \
+	IN_DIS_STATIC \
  	DIS_CORE_ONLY \
   	IPRT_NO_CRT \
@@ -421,4 +421,5 @@
  SUPR3HardenedStatic_DEFS += \
  	IN_DIS \
+	IN_DIS_STATIC \
  	DIS_CORE_ONLY \
  	LOG_DISABLED
