Changeset 95698 in vbox
- Timestamp:
- Jul 18, 2022 9:49:17 AM (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/system.h
r93115 r95698 355 355 RTDECL(uint64_t) RTSystemGetNtVersion(void); 356 356 357 /** 358 * Get the Windows NT product type (OSVERSIONINFOW::wProductType). 359 */ 360 RTDECL(uint8_t) RTSystemGetNtProductType(void); 361 357 362 #endif /* RT_OS_WINDOWS */ 358 363 -
trunk/src/VBox/Runtime/r3/win/system-get-nt-xxx-win.cpp
r93115 r95698 50 50 } 51 51 52 53 RTDECL(uint8_t) RTSystemGetNtProductType(void) 54 { 55 Assert(g_WinOsInfoEx.dwOSVersionInfoSize > 0); 56 return g_WinOsInfoEx.wProductType; /* It's a byte, not a word as 'w' normally indicates. (Baka Maikurosofuto!) */ 57 } 58
Note:
See TracChangeset
for help on using the changeset viewer.