Changeset 92613 in vbox for trunk/src/VBox/HostDrivers/Support/win
- Timestamp:
- Nov 26, 2021 9:53:47 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 148505
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPLib-win.cpp
r92556 r92613 117 117 118 118 119 DECLHIDDEN(int) suplibOsInit(PSUPLIBDATA pThis, bool fPreInited, bool fUnrestricted, SUPINITOP *penmWhat, PRTERRINFO pErrInfo)119 DECLHIDDEN(int) suplibOsInit(PSUPLIBDATA pThis, bool fPreInited, uint32_t fFlags, SUPINITOP *penmWhat, PRTERRINFO pErrInfo) 120 120 { 121 121 /* … … 156 156 UNICODE_STRING NtName; 157 157 NtName.Buffer = (PWSTR)s_wszName; 158 NtName.Length = sizeof(s_wszName) - sizeof(WCHAR) * (f Unrestricted? 2 : 1);158 NtName.Length = sizeof(s_wszName) - sizeof(WCHAR) * (fFlags & SUPR3INIT_F_UNRESTRICTED ? 2 : 1); 159 159 NtName.MaximumLength = NtName.Length; 160 160 … … 183 183 */ 184 184 pThis->hDevice = hDevice; 185 pThis->fUnrestricted = fUnrestricted;185 pThis->fUnrestricted = RT_BOOL(fFlags & SUPR3INIT_F_UNRESTRICTED); 186 186 return VINF_SUCCESS; 187 187 }
Note:
See TracChangeset
for help on using the changeset viewer.