PSAPI: stub implementations (#3)

Juan Lang juan_lang at yahoo.com
Sat Jan 15 18:07:15 CST 2005


Hi Hans,

+BOOL WINAPI GetPerformanceInfo( PPERFORMANCE_INFORMATION info, DWORD size
)
+{
+    NTSTATUS status;
+
+    TRACE( "(%p, %ld)\n", info, size );
+
+    status = NtQueryInformationProcess( GetCurrentProcess(),
SystemPerformanceInformation, info, size, NULL );
+
+    if (status)
+    {
+        SetLastError( RtlNtStatusToDosError( status ));
+        return FALSE
+    }
+    return FALSE;

Shouldn't this return TRUE on success?
--Juan


		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 



More information about the wine-devel mailing list