Changeset 41379 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- May 21, 2012 7:19:55 PM (13 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPMisc.cpp
r41058 r41379 2341 2341 return STATUS_SUCCESS; 2342 2342 } 2343 2344 NTSTATUS vboxWddmDrvCfgInit(PUNICODE_STRING pRegStr) 2345 { 2346 HANDLE hKey; 2347 OBJECT_ATTRIBUTES ObjAttr; 2348 2349 InitializeObjectAttributes(&ObjAttr, pRegStr, OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE, NULL, NULL); 2350 2351 NTSTATUS Status = ZwOpenKey(&hKey, GENERIC_READ, &ObjAttr); 2352 if (!NT_SUCCESS(Status)) 2353 { 2354 WARN(("ZwOpenKey for settings key failed, Status 0x%x", Status)); 2355 return Status; 2356 } 2357 2358 DWORD dwValue = 0; 2359 Status = vboxWddmRegQueryValueDword(hKey, VBOXWDDM_CFG_STR_LOG_UM, &dwValue); 2360 if (NT_SUCCESS(Status)) 2361 g_VBoxLogUm = dwValue; 2362 2363 ZwClose(hKey); 2364 2365 return Status; 2366 } -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPMisc.h
r39981 r41379 198 198 void VBoxWddmVrTerm(); 199 199 200 NTSTATUS vboxWddmDrvCfgInit(PUNICODE_STRING pRegStr); 201 200 202 #endif /* #ifndef ___VBoxMPMisc_h__ */ -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.h
r40747 r41379 30 30 31 31 //#define VBOXWDDM_DEBUG_VIDPN 32 33 #define VBOXWDDM_CFG_LOG_UM_BACKDOOR 0x00000001 34 #define VBOXWDDM_CFG_LOG_UM_DBGPRINT 0x00000002 35 #define VBOXWDDM_CFG_STR_LOG_UM L"VBoxLogUm" 36 extern DWORD g_VBoxLogUm; 32 37 33 38 RT_C_DECLS_BEGIN
Note:
See TracChangeset
for help on using the changeset viewer.