- Timestamp:
- 07/17/11 21:19:33 (13 years ago)
- File:
-
- 1 edited
-
ps/trunk/source/lib/sysdep/os/win/mahaf.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/lib/sysdep/os/win/mahaf.cpp
r9423 r9863 348 348 if(hAken == INVALID_HANDLE_VALUE) 349 349 { 350 ENSURE(GetLastError() == ERROR_FILE_NOT_FOUND); 350 // GetLastError() is ERROR_FILE_NOT_FOUND if the driver isn't running, 351 // but this is also reached when a handle has already been opened 352 // (e.g. by a second instance of the same program) - in which case we must 353 // indicate failure so that clients won't engage in unsynchronized ring 0 operations. 351 354 SetLastError(0); 352 355 return ERR::INVALID_HANDLE; // NOWARN (happens often due to security restrictions)
Note:
See TracChangeset
for help on using the changeset viewer.
