Psapi.h File Reference

Go to the source code of this file.

Classes

struct  _MODULEINFO
struct  _PSAPI_WS_WATCH_INFORMATION
struct  _PROCESS_MEMORY_COUNTERS
struct  _PERFORMANCE_INFORMATION
struct  _ENUM_PAGE_FILE_INFORMATION

Defines

#define GetModuleBaseName   GetModuleBaseNameA
#define GetModuleFileNameEx   GetModuleFileNameExA
#define GetMappedFileName   GetMappedFileNameA
#define GetDeviceDriverBaseName   GetDeviceDriverBaseNameA
#define GetDeviceDriverFileName   GetDeviceDriverFileNameA
#define PENUM_PAGE_FILE_CALLBACK   PENUM_PAGE_FILE_CALLBACKA
#define EnumPageFiles   EnumPageFilesA
#define GetProcessImageFileName   GetProcessImageFileNameA

Typedefs

typedef struct _MODULEINFO MODULEINFO
typedef struct _MODULEINFOLPMODULEINFO
typedef struct
_PSAPI_WS_WATCH_INFORMATION 
PSAPI_WS_WATCH_INFORMATION
typedef struct
_PSAPI_WS_WATCH_INFORMATION
PPSAPI_WS_WATCH_INFORMATION
typedef struct
_PROCESS_MEMORY_COUNTERS 
PROCESS_MEMORY_COUNTERS
typedef PROCESS_MEMORY_COUNTERSPPROCESS_MEMORY_COUNTERS
typedef struct
_PERFORMANCE_INFORMATION 
PERFORMANCE_INFORMATION
typedef struct
_PERFORMANCE_INFORMATION
PPERFORMANCE_INFORMATION
typedef struct
_PERFORMANCE_INFORMATION 
PERFORMACE_INFORMATION
typedef struct
_PERFORMANCE_INFORMATION
PPERFORMACE_INFORMATION
typedef struct
_ENUM_PAGE_FILE_INFORMATION 
ENUM_PAGE_FILE_INFORMATION
typedef struct
_ENUM_PAGE_FILE_INFORMATION
PENUM_PAGE_FILE_INFORMATION
typedef BOOL(* PENUM_PAGE_FILE_CALLBACKW )(LPVOID pContext, PENUM_PAGE_FILE_INFORMATION pPageFileInfo, LPCWSTR lpFilename)
typedef BOOL(* PENUM_PAGE_FILE_CALLBACKA )(LPVOID pContext, PENUM_PAGE_FILE_INFORMATION pPageFileInfo, LPCSTR lpFilename)

Functions

BOOL WINAPI EnumProcesses (DWORD *lpidProcess, DWORD cb, DWORD *cbNeeded)
BOOL WINAPI EnumProcessModules (HANDLE hProcess, HMODULE *lphModule, DWORD cb, LPDWORD lpcbNeeded)
DWORD WINAPI GetModuleBaseNameA (HANDLE hProcess, HMODULE hModule, LPSTR lpBaseName, DWORD nSize)
DWORD WINAPI GetModuleBaseNameW (HANDLE hProcess, HMODULE hModule, LPWSTR lpBaseName, DWORD nSize)
DWORD WINAPI GetModuleFileNameExA (HANDLE hProcess, HMODULE hModule, LPSTR lpFilename, DWORD nSize)
DWORD WINAPI GetModuleFileNameExW (HANDLE hProcess, HMODULE hModule, LPWSTR lpFilename, DWORD nSize)
BOOL WINAPI GetModuleInformation (HANDLE hProcess, HMODULE hModule, LPMODULEINFO lpmodinfo, DWORD cb)
BOOL WINAPI EmptyWorkingSet (HANDLE hProcess)
BOOL WINAPI QueryWorkingSet (HANDLE hProcess, PVOID pv, DWORD cb)
BOOL WINAPI InitializeProcessForWsWatch (HANDLE hProcess)
BOOL WINAPI GetWsChanges (HANDLE hProcess, PPSAPI_WS_WATCH_INFORMATION lpWatchInfo, DWORD cb)
DWORD WINAPI GetMappedFileNameW (HANDLE hProcess, LPVOID lpv, LPWSTR lpFilename, DWORD nSize)
DWORD WINAPI GetMappedFileNameA (HANDLE hProcess, LPVOID lpv, LPSTR lpFilename, DWORD nSize)
BOOL WINAPI EnumDeviceDrivers (LPVOID *lpImageBase, DWORD cb, LPDWORD lpcbNeeded)
DWORD WINAPI GetDeviceDriverBaseNameA (LPVOID ImageBase, LPSTR lpBaseName, DWORD nSize)
DWORD WINAPI GetDeviceDriverBaseNameW (LPVOID ImageBase, LPWSTR lpBaseName, DWORD nSize)
DWORD WINAPI GetDeviceDriverFileNameA (LPVOID ImageBase, LPSTR lpFilename, DWORD nSize)
DWORD WINAPI GetDeviceDriverFileNameW (LPVOID ImageBase, LPWSTR lpFilename, DWORD nSize)
BOOL WINAPI GetProcessMemoryInfo (HANDLE Process, PPROCESS_MEMORY_COUNTERS ppsmemCounters, DWORD cb)
BOOL WINAPI GetPerformanceInfo (PPERFORMACE_INFORMATION pPerformanceInformation, DWORD cb)
BOOL WINAPI EnumPageFilesW (PENUM_PAGE_FILE_CALLBACKW pCallBackRoutine, LPVOID pContext)
BOOL WINAPI EnumPageFilesA (PENUM_PAGE_FILE_CALLBACKA pCallBackRoutine, LPVOID pContext)
DWORD WINAPI GetProcessImageFileNameA (HANDLE hProcess, LPSTR lpImageFileName, DWORD nSize)
DWORD WINAPI GetProcessImageFileNameW (HANDLE hProcess, LPWSTR lpImageFileName, DWORD nSize)


Define Documentation

#define EnumPageFiles   EnumPageFilesA

Definition at line 330 of file Psapi.h.

#define GetDeviceDriverBaseName   GetDeviceDriverBaseNameA

Definition at line 225 of file Psapi.h.

#define GetDeviceDriverFileName   GetDeviceDriverFileNameA

Definition at line 248 of file Psapi.h.

#define GetMappedFileName   GetMappedFileNameA

Definition at line 194 of file Psapi.h.

#define GetModuleBaseName   GetModuleBaseNameA

Definition at line 92 of file Psapi.h.

#define GetModuleFileNameEx   GetModuleFileNameExA

Definition at line 117 of file Psapi.h.

#define GetProcessImageFileName   GetProcessImageFileNameA

Definition at line 352 of file Psapi.h.

#define PENUM_PAGE_FILE_CALLBACK   PENUM_PAGE_FILE_CALLBACKA

Definition at line 329 of file Psapi.h.


Typedef Documentation

typedef struct _MODULEINFO * LPMODULEINFO

typedef struct _MODULEINFO MODULEINFO

typedef BOOL(* PENUM_PAGE_FILE_CALLBACKA)(LPVOID pContext, PENUM_PAGE_FILE_INFORMATION pPageFileInfo, LPCSTR lpFilename)

Definition at line 309 of file Psapi.h.

typedef BOOL(* PENUM_PAGE_FILE_CALLBACKW)(LPVOID pContext, PENUM_PAGE_FILE_INFORMATION pPageFileInfo, LPCWSTR lpFilename)

Definition at line 307 of file Psapi.h.

Definition at line 265 of file Psapi.h.


Function Documentation

BOOL WINAPI EmptyWorkingSet ( HANDLE  hProcess  ) 

BOOL WINAPI EnumDeviceDrivers ( LPVOID *  lpImageBase,
DWORD  cb,
LPDWORD  lpcbNeeded 
)

BOOL WINAPI EnumPageFilesA ( PENUM_PAGE_FILE_CALLBACKA  pCallBackRoutine,
LPVOID  pContext 
)

BOOL WINAPI EnumPageFilesW ( PENUM_PAGE_FILE_CALLBACKW  pCallBackRoutine,
LPVOID  pContext 
)

BOOL WINAPI EnumProcesses ( DWORD *  lpidProcess,
DWORD  cb,
DWORD *  cbNeeded 
)

BOOL WINAPI EnumProcessModules ( HANDLE  hProcess,
HMODULE *  lphModule,
DWORD  cb,
LPDWORD  lpcbNeeded 
)

DWORD WINAPI GetDeviceDriverBaseNameA ( LPVOID  ImageBase,
LPSTR  lpBaseName,
DWORD  nSize 
)

DWORD WINAPI GetDeviceDriverBaseNameW ( LPVOID  ImageBase,
LPWSTR  lpBaseName,
DWORD  nSize 
)

DWORD WINAPI GetDeviceDriverFileNameA ( LPVOID  ImageBase,
LPSTR  lpFilename,
DWORD  nSize 
)

DWORD WINAPI GetDeviceDriverFileNameW ( LPVOID  ImageBase,
LPWSTR  lpFilename,
DWORD  nSize 
)

DWORD WINAPI GetMappedFileNameA ( HANDLE  hProcess,
LPVOID  lpv,
LPSTR  lpFilename,
DWORD  nSize 
)

DWORD WINAPI GetMappedFileNameW ( HANDLE  hProcess,
LPVOID  lpv,
LPWSTR  lpFilename,
DWORD  nSize 
)

DWORD WINAPI GetModuleBaseNameA ( HANDLE  hProcess,
HMODULE  hModule,
LPSTR  lpBaseName,
DWORD  nSize 
)

DWORD WINAPI GetModuleBaseNameW ( HANDLE  hProcess,
HMODULE  hModule,
LPWSTR  lpBaseName,
DWORD  nSize 
)

DWORD WINAPI GetModuleFileNameExA ( HANDLE  hProcess,
HMODULE  hModule,
LPSTR  lpFilename,
DWORD  nSize 
)

DWORD WINAPI GetModuleFileNameExW ( HANDLE  hProcess,
HMODULE  hModule,
LPWSTR  lpFilename,
DWORD  nSize 
)

BOOL WINAPI GetModuleInformation ( HANDLE  hProcess,
HMODULE  hModule,
LPMODULEINFO  lpmodinfo,
DWORD  cb 
)

BOOL WINAPI GetPerformanceInfo ( PPERFORMACE_INFORMATION  pPerformanceInformation,
DWORD  cb 
)

DWORD WINAPI GetProcessImageFileNameA ( HANDLE  hProcess,
LPSTR  lpImageFileName,
DWORD  nSize 
)

DWORD WINAPI GetProcessImageFileNameW ( HANDLE  hProcess,
LPWSTR  lpImageFileName,
DWORD  nSize 
)

BOOL WINAPI GetProcessMemoryInfo ( HANDLE  Process,
PPROCESS_MEMORY_COUNTERS  ppsmemCounters,
DWORD  cb 
)

BOOL WINAPI GetWsChanges ( HANDLE  hProcess,
PPSAPI_WS_WATCH_INFORMATION  lpWatchInfo,
DWORD  cb 
)

BOOL WINAPI InitializeProcessForWsWatch ( HANDLE  hProcess  ) 

BOOL WINAPI QueryWorkingSet ( HANDLE  hProcess,
PVOID  pv,
DWORD  cb 
)


Generated on Tue Jul 7 16:21:18 2009 for CoreLibrary by  doxygen 1.5.6