- Timestamp:
- Aug 6, 2016 3:07:45 PM (9 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Installer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/RegCleanup.cpp
r62686 r63090 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * delinvalid - remove "InvalidDisplay" key on NT4 4 * 4 */ 5 6 /* 5 7 * Copyright (C) 2006-2016 Oracle Corporation 6 8 * … … 27 29 */ 28 30 31 /********************************************************************************************************************************* 32 * Header Files * 33 *********************************************************************************************************************************/ 29 34 //#define _UNICODE 30 35 … … 39 44 40 45 41 /********************************************************************************************************************************* 42 * Defined Constants And Macros * 43 *********************************************************************************************************************************/ 44 45 ///////////////////////////////////////////////////////////////////////////// 46 47 48 BOOL isNT4 (void) 46 BOOL isNT4(void) 49 47 { 50 48 OSVERSIONINFO OSversion; … … 68 66 } 69 67 70 int main (int argc, char **argv)68 int main() 71 69 { 72 70 int rc = 0; … … 88 86 return rc; 89 87 } 88 -
trunk/src/VBox/Additions/WINNT/Installer/VBoxDrvInst.cpp
r62686 r63090 24 24 #endif 25 25 26 #include <iprt/cdefs.h> 26 27 #include <VBox/version.h> 27 28 … … 104 105 return false; 105 106 } 106 else 107 { 108 _TCHAR *p = _tcschr(pszMsg, _T('\r')); 109 if (p != NULL) 110 *p = _T('\0'); 111 } 112 107 _TCHAR *p = _tcschr(pszMsg, _T('\r')); 108 if (p != NULL) 109 *p = _T('\0'); 113 110 return true; 114 111 } … … 434 431 int ExecuteInfFile(const _TCHAR *pszSection, int iMode, const _TCHAR *pszInf) 435 432 { 433 RT_NOREF(iMode); 436 434 _tprintf(_T("Installing from INF-File: %ws (Section: %ws) ...\n"), 437 435 pszInf, pszSection); … … 1250 1248 { 1251 1249 HKEY hRootKey = HKEY_LOCAL_MACHINE; /** @todo needs to be expanded (argv[3]) */ 1252 DWORD dwValSize ;1250 DWORD dwValSize = 0; 1253 1251 BYTE *pbVal = NULL; 1254 1252 DWORD dwVal;
Note:
See TracChangeset
for help on using the changeset viewer.