Changeset 106908 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Nov 9, 2024 1:46:17 AM (2 months ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Installer/InstallHelper
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/InstallHelper/Makefile.kmk
r106898 r106908 38 38 PROGRAMS += VBoxGuestInstallHelper 39 39 VBoxGuestInstallHelper_TEMPLATE = VBoxGuestR3Exe 40 VBoxGuestInstallHelper_DEFS = _WIN32_WINNT=0x0400_UNICODE UNICODE41 VBoxGuestInstallHelper_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)40 VBoxGuestInstallHelper_DEFS = _UNICODE UNICODE 41 VBoxGuestInstallHelper_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV) 42 42 ifdef VBOX_WITH_WDDM 43 VBoxGuestInstallHelper_DEFS += VBOX_WITH_WDDM43 VBoxGuestInstallHelper_DEFS += VBOX_WITH_WDDM 44 44 endif 45 VBoxGuestInstallHelper_DEPS = $(VBOX_SVN_REV_KMK) 46 VBoxGuestInstallHelper_SDKS = ReorderCompilerIncs $(VBOX_WINPSDK_GST) $(VBOX_WINDDK_GST) 47 VBoxGuestInstallHelper_INCS = ../../include 45 if1of ($(KBUILD_TARGET_ARCH), x86) 46 VBoxGuestInstallHelper_DEFS += _WIN32_WINNT=0x0400 47 else if1of ($(KBUILD_TARGET_ARCH), amd64) 48 VBoxGuestInstallHelper_DEFS += _WIN32_WINNT=0x0501 49 endif 50 VBoxGuestInstallHelper_DEPS = $(VBOX_SVN_REV_KMK) 51 VBoxGuestInstallHelper_SDKS = ReorderCompilerIncs $(VBOX_WINPSDK_GST) $(VBOX_WINDDK_GST) 52 VBoxGuestInstallHelper_INCS = ../../include 48 53 VBoxGuestInstallHelper_SOURCES = \ 49 54 VBoxGuestInstallHelper.cpp \ … … 79 84 VBoxGuestInstallHelperDll_DEFS := WIN32_LEAN_AND_MEAN=1 UNICODE _UNICODE 80 85 if1of ($(KBUILD_TARGET_ARCH), x86) 81 VBoxGuestInstallHelperDll_DEFS := _WIN32_WINNT=0x040086 VBoxGuestInstallHelperDll_DEFS += _WIN32_WINNT=0x0400 82 87 VBoxGuestInstallHelperDll_VBOX_IMPORT_CHECKER.win.x86 := nt4 83 88 else if1of ($(KBUILD_TARGET_ARCH), amd64) 84 VBoxGuestInstallHelperDll_DEFS := _WIN32_WINNT=0x050189 VBoxGuestInstallHelperDll_DEFS += _WIN32_WINNT=0x0501 85 90 VBoxGuestInstallHelperDll_VBOX_IMPORT_CHECKER.win.x86 := xp 86 91 else 87 VBoxGuestInstallHelperDll_DEFS := _WIN32_WINNT=0x0a0092 VBoxGuestInstallHelperDll_DEFS += _WIN32_WINNT=0x0a00 88 93 VBoxGuestInstallHelperDll_VBOX_IMPORT_CHECKER.win.x86 := w8 89 94 endif -
trunk/src/VBox/Additions/WINNT/Installer/InstallHelper/VBoxGuestInstallHelper.cpp
r106896 r106908 760 760 * - SP_INF_SIGNER_INFO_W, 761 761 * but we only make use of SP_DRVINFO_DATA_W. 762 * 763 * The newer SP_DRVINFO_DATA_W version was introduced with Windows 764 * 2000, so this only affects x86. 762 765 */ 763 766 SetLastError(NO_ERROR); 767 #if defined(RT_ARCH_X86) 764 768 SP_DRVINFO_DATA_V1_W drvInfoData = { sizeof(drvInfoData) }; 769 #else 770 SP_DRVINFO_DATA_W drvInfoData = { sizeof(drvInfoData) }; 771 #endif 765 772 if (!SetupDiEnumDriverInfoW(hDevInfo, NULL, SPDIT_CLASSDRIVER, 0, &drvInfoData)) 766 773 return ErrorMsgLastErr("SetupDiEnumDriverInfoW");
Note:
See TracChangeset
for help on using the changeset viewer.