Class PsApi
Description of PsAPI.
Inheritance
System.Object
PsApi
Namespace: Dapplo.Windows.Kernel32
Assembly: Dapplo.Windows.Kernel32.dll
Syntax
public static class PsApi : object
Methods
| Improve this Doc View SourceEmptyWorkingSet()
Removes as many pages as possible from the current process.
Declaration
public static void EmptyWorkingSet()
GetModuleFileNameEx(IntPtr, IntPtr, StringBuilder, UInt32)
Declaration
public static uint GetModuleFileNameEx(IntPtr hProcess, IntPtr hModule, StringBuilder lpFilename, uint nSize)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | hProcess | |
IntPtr | hModule | |
StringBuilder | lpFilename | |
System.UInt32 | nSize |
Returns
Type | Description |
---|---|
System.UInt32 |
GetProcessImageFileName(IntPtr, StringBuilder, UInt32)
Declaration
public static uint GetProcessImageFileName(IntPtr hProcess, StringBuilder lpImageFileName, uint nSize)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | hProcess | |
StringBuilder | lpImageFileName | |
System.UInt32 | nSize |
Returns
Type | Description |
---|---|
System.UInt32 |