mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 04:19:21 +08:00
Added new PSAPI defines and exports
This commit is contained in:
parent
cb8686370b
commit
249d08dc1d
@ -1,3 +1,10 @@
|
||||
2008-01-29 Brandon Sneed <nivenh@sourceware.org>
|
||||
|
||||
* include/psapi.h (GetProcessImageFileNameA, GetProcessImageFileNameW):
|
||||
Add prototypes.
|
||||
* lib/psapi.def (GetProcessImageFileNameA@12, GetProcessImageFileNameW@12):
|
||||
Add exports.
|
||||
|
||||
2007-12-27 Chris Sutcliffe <ir0nh34d@users.sf.net>
|
||||
|
||||
* include/w32api.h: Increment version to 3.11.
|
||||
|
@ -70,6 +70,10 @@ DWORD WINAPI GetDeviceDriverBaseNameW(LPVOID,LPWSTR,DWORD);
|
||||
DWORD WINAPI GetDeviceDriverFileNameA(LPVOID,LPSTR,DWORD);
|
||||
DWORD WINAPI GetDeviceDriverFileNameW(LPVOID,LPWSTR,DWORD);
|
||||
BOOL WINAPI GetProcessMemoryInfo(HANDLE,PPROCESS_MEMORY_COUNTERS,DWORD);
|
||||
#if (_WIN32_WINNT >= 0x0501)
|
||||
DWORD WINAPI GetProcessImageFileNameA(HANDLE,LPSTR,DWORD);
|
||||
DWORD WINAPI GetProcessImageFileNameW(HANDLE,LPWSTR,DWORD);
|
||||
#endif
|
||||
|
||||
#endif /* not RC_INVOKED */
|
||||
|
||||
@ -79,12 +83,18 @@ BOOL WINAPI GetProcessMemoryInfo(HANDLE,PPROCESS_MEMORY_COUNTERS,DWORD);
|
||||
#define GetMappedFileName GetMappedFileNameW
|
||||
#define GetDeviceDriverBaseName GetDeviceDriverBaseNameW
|
||||
#define GetDeviceDriverFileName GetDeviceDriverFileNameW
|
||||
#if (_WIN32_WINNT >= 0x0501)
|
||||
#define GetProcessImageFileName GetProcessImageFileNameW
|
||||
#endif
|
||||
#else
|
||||
#define GetModuleBaseName GetModuleBaseNameA
|
||||
#define GetModuleFileNameEx GetModuleFileNameExA
|
||||
#define GetMappedFileName GetMappedFileNameA
|
||||
#define GetDeviceDriverBaseName GetDeviceDriverBaseNameA
|
||||
#define GetDeviceDriverFileName GetDeviceDriverFileNameA
|
||||
#if (_WIN32_WINNT >= 0x0501)
|
||||
#define GetProcessImageFileName GetProcessImageFileNameA
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -16,6 +16,8 @@ GetModuleFileNameExA@16
|
||||
GetModuleFileNameExW@16
|
||||
GetModuleInformation@16
|
||||
GetProcessMemoryInfo@12
|
||||
GetProcessImageFileNameA@12
|
||||
GetProcessImageFileNameW@12
|
||||
GetWsChanges@12
|
||||
InitializeProcessForWsWatch@4
|
||||
QueryWorkingSet@12
|
||||
|
Loading…
x
Reference in New Issue
Block a user