PSAPI: stub implementations

Juan Lang juan_lang at
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

You might take a look at how advapi32's security.c does it.


Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 

More information about the wine-devel mailing list