PSAPI: stub implementations
Juan Lang
juan_lang at yahoo.com
Sat Jan 15 11:30:50 CST 2005
Hi Hans,
+ status = NtQueryInformationProcess( GetCurrentProcess(),
SystemPerformanceInformation, info, size, NULL );
+ if (status != STATUS_SUCCESS) return FALSE;
without a test case I don't know for sure, but it seems likely you should
do the something like following on failure:
if (status) { SetLastError( RtlNtStatusToDosError( status )); return
FALSE; }
You might take a look at how advapi32's security.c does it.
--Juan
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
More information about the wine-devel
mailing list