Changeset 21308 for trunk/src/psapi
- Timestamp:
- Jun 18, 2009, 6:27:45 PM (16 years ago)
- Location:
- trunk/src/psapi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/psapi/psapi.DEF
r2223 r21308 10 10 EmptyWorking = _EmptyWorkingSet@4 @1 11 11 EnumDeviceDrivers = _EnumDeviceDrivers@12 @2 12 EnumProcessModules = _ EnumProcessModules@16@312 EnumProcessModules = _PSAPI_EnumProcessModules@16 @3 13 13 EnumProcesses = _EnumProcesses@12 @4 14 14 GetDeviceDriverBaseNameA = _GetDeviceDriverBaseNameA@12 @5 … … 22 22 GetModuleFileNameExA = _GetModuleFileNameExA@16 @13 23 23 GetModuleFileNameExW = _GetModuleFileNameExW@16 @14 24 GetModuleInformation = _ GetModuleInformation@16@1524 GetModuleInformation = _PSAPI_GetModuleInformation@16 @15 25 25 GetProcessMemoryInfo = _GetProcessMemoryInfo@12 @16 26 26 GetWsChanges = _GetWsChanges@12 @17 -
trunk/src/psapi/psapi.cpp
r1710 r21308 56 56 } 57 57 58 #ifndef __WIN32OS2__ 58 59 /*********************************************************************** 59 60 * EnumProcessModules (PSAPI.4) … … 70 71 return TRUE; 71 72 } 73 #endif 72 74 73 75 /*********************************************************************** … … 191 193 } 192 194 195 #ifdef __WIN32OS2__ 193 196 /*********************************************************************** 194 197 * GetModuleFileNameExA (PSAPI.13) … … 197 200 HANDLE hProcess, HMODULE hModule, LPSTR lpFilename, DWORD nSize) 198 201 { 199 #ifdef DEBUG 200 dprintf(("PSAPI: GetModuleFileNameExA not implemented\n")); 201 #endif 202 if(hProcess != GetCurrentProcess()) { 203 dprintf(("PSAPI: GetModuleFileNameExA not implemented for other processes (%x %x)\n", hProcess, hModule)); 204 return 0; 205 } 206 return GetModuleFileNameA(hModule, lpFilename, nSize); 207 } 208 #else 209 /*********************************************************************** 210 * GetModuleFileNameExA (PSAPI.13) 211 */ 212 DWORD WINAPI GetModuleFileNameExA( 213 HANDLE hProcess, HMODULE hModule, LPSTR lpFilename, DWORD nSize) 214 { 202 215 if(lpFilename&&nSize) 203 216 lpFilename[0]='\0'; … … 205 218 return 0; 206 219 } 220 #endif 207 221 208 222 /*********************************************************************** … … 221 235 } 222 236 237 #ifndef __WIN32OS2__ 223 238 /*********************************************************************** 224 239 * GetModuleInformation (PSAPI.15) … … 234 249 return TRUE; 235 250 } 251 #endif 236 252 237 253 /***********************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.