Changeset 45161 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Mar 25, 2013 11:08:50 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/testcase/tstNtQueryStuff.cpp
r43417 r45161 372 372 StrBuf.UniStr.Length, StrBuf.UniStr.Length, StrBuf.UniStr.Buffer); 373 373 374 /* Process image name (Win32) . */374 /* Process image name (Win32) - Not available on Windows 2003. */ 375 375 RT_ZERO(StrBuf); 376 376 StrBuf.UniStr.Length = UNICODE_STRING_MAX_CHARS * 2; … … 381 381 ProcessImageFileNameWin32, 382 382 &StrBuf, sizeof(StrBuf), &cbActual); 383 RTTESTI_CHECK_MSG(NT_SUCCESS(rcNt), ("rcNt=%#x\n", rcNt)); 384 if (NT_SUCCESS(rcNt)) 385 RTTestIPrintf(RTTESTLVL_ALWAYS, "ProcessImageFileNameWin32: len=%u\n %.*ls\n", 386 StrBuf.UniStr.Length, StrBuf.UniStr.Length, StrBuf.UniStr.Buffer); 387 388 /* Process image mapping. */ 383 if (rcNt != STATUS_INVALID_INFO_CLASS) 384 { 385 RTTESTI_CHECK_MSG(NT_SUCCESS(rcNt), ("rcNt=%#x\n", rcNt)); 386 if (NT_SUCCESS(rcNt)) 387 RTTestIPrintf(RTTESTLVL_ALWAYS, "ProcessImageFileNameWin32: len=%u\n %.*ls\n", 388 StrBuf.UniStr.Length, StrBuf.UniStr.Length, StrBuf.UniStr.Buffer); 389 } 390 else 391 RTTestIPrintf(RTTESTLVL_ALWAYS, "ProcessImageFileNameWin32: Not supported (STATUS_INVALID_INFO_CLASS).\n"); 392 393 /* Process image mapping - Not available on Windows 2003. */ 389 394 uPtr = ~(DWORD_PTR)0; 390 395 cbActual = 0; … … 396 401 else if (rcNt == STATUS_OBJECT_TYPE_MISMATCH) 397 402 RTTestIPrintf(RTTESTLVL_ALWAYS, "ProcessImageFileMapping: rcNt=%#x (STATUS_OBJECT_TYPE_MISMATCH)\n", rcNt); 403 else if (rcNt == STATUS_INVALID_INFO_CLASS) 404 RTTestIPrintf(RTTESTLVL_ALWAYS, "ProcessImageFileMapping: Not supported (STATUS_INVALID_INFO_CLASS).\n"); 398 405 else 399 406 RTTestIFailed("ProcessImageFileMapping: rcNt=%#x\n", rcNt);
Note:
See TracChangeset
for help on using the changeset viewer.