| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final Psapi |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError.A pointer to an array that receives the list of process
identifiers lpidProcess, int The size of the lpidProcess array, in bytes. cb, IntByReference The number of bytes returned in the pProcessIds array. lpcbNeeded)Retrieves the process identifier for each process object in the system. |
| public boolean | Returns: If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError.A handle to the process. hProcess,An array that receives the list of module handles. lphModule,The size of the lphModule array, in bytes. cb, IntByReference The number of bytes required to store all module handles in
the lphModule array. lpcbNeeded)The EnumProcessModules function is primarily designed for use by debuggers and similar applications that must extract module information from another process. |
| public int | Returns: If the function succeeds, the return value specifies the length of the string copied to the buffer. If the function fails, the return value is zero. To get extended error information, callKernel32Util#getLastErrorMessage().A handle to the process that contains the module. process,A handle to the module. If this parameter is NULL,
GetModuleFileNameEx returns the path of the executable file of
the process specified in hProcess. module,A pointer to a buffer that receives the fully qualified path
to the module. If the size of the file name is larger than the
value of the nSize parameter, the function succeeds but the
file name is truncated and null-terminated. lpFilename, int The size of the lpFilename buffer, in characters. nSize)Retrieves the fully qualified path for the file containing the specified module. |
| public int | Returns: If the function succeeds, the return value specifies the length of the string copied to the buffer. If the function fails, the return value is zero. To get extended error information, callKernel32Util#getLastErrorMessage().A handle to the process that contains the module. process,A handle to the module. If this parameter is NULL,
GetModuleFileNameEx returns the path of the executable file of
the process specified in hProcess. module,A pointer to a buffer that receives the fully qualified path
to the module. If the size of the file name is larger than the
value of the nSize parameter, the function succeeds but the
file name is truncated and null-terminated. lpFilename, int The size of the lpFilename buffer, in characters. nSize)Retrieves the fully qualified path for the file containing the specified module. |
| public int | Returns: If the function succeeds, the return value specifies the length of the string copied to the buffer. If the function fails, the return value is zero. To get extended error information, callKernel32Util#getLastErrorMessage().A handle to the process that contains the module. process,A handle to the module. If this parameter is NULL,
GetModuleFileNameEx returns the path of the executable file of
the process specified in hProcess. module,A pointer to a buffer that receives the fully qualified path
to the module. If the size of the file name is larger than the
value of the nSize parameter, the function succeeds but the
file name is truncated and null-terminated. lpFilename, int The size of the lpFilename buffer, in characters. nSize)Retrieves the fully qualified path for the file containing the specified module. |
| public boolean | Returns: If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError.A handle to the process that contains the module. The handle
must have the PROCESS_QUERY_INFORMATION and PROCESS_VM_READ
access rights. For more information, see Process Security and
Access Rights. hProcess,A handle to the module. hModule,A pointer to the MODULEINFO structure that receives
information about the module. lpmodinfo,The size of the MODULEINFO structure, in bytes. cb)To get information for the calling process, pass the handle returned by GetCurrentProcess. |
| public boolean | Returns: If the function succeeds, the return value is TRUE. If the function fails, the return value is FALSE. To get extended error information, callKernel32Util#getLastErrorMessage().A pointer to a pPerformanceInformation,PERFORMANCE_INFORMATION structure that
receives the performance information.The size of the cb)PERFORMANCE_INFORMATION structure, in
bytes.Retrieves the performance values contained in the
|
| public int | Returns: If the function succeeds, the return value specifies the length of the string copied to the buffer. If the function fails, the return value is zero. To get extended error information, call GetLastError.A handle to the process. The handle must have the
PROCESS_QUERY_INFORMATION or PROCESS_QUERY_LIMITED_INFORMATION
access right. For more information, see Process Security and
Access Rights. hProcess,Windows Server 2003 and Windows XP: The handle must have the PROCESS_QUERY_INFORMATION access right. A pointer to a buffer that receives the full path to the
executable file. lpImageFileName, int The size of the lpImageFileName buffer, in characters. nSize)Retrieves the name of the executable file for the specified process. |
| public boolean | Returns: If the function succeeds, the return value is nonzero.A Handle to the Process hProcess,A pointer to an array of PSAPI_WORKING_SET_EX_INFORMATION structures pv, int The size of the pv buffer, in bytes. cb)Retrieves extended information about the pages at specific virtual addresses in the address space of the specified process. |
| INSTANCE | back to summary |
|---|---|
| public static final Psapi INSTANCE | |
| EnumProcesses | back to summary |
|---|---|
| public boolean EnumProcesses(int[] lpidProcess, int cb, IntByReference lpcbNeeded) Retrieves the process identifier for each process object in the system.
| |
| EnumProcessModules | back to summary |
|---|---|
| public boolean EnumProcessModules(WinNT. The EnumProcessModules function is primarily designed for use by
debuggers and similar applications that must extract module information
from another process.
| |
| GetModuleFileNameEx | back to summary |
|---|---|
| public int GetModuleFileNameEx(WinNT. Retrieves the fully qualified path for the file containing the specified module.
| |
| GetModuleFileNameExA | back to summary |
|---|---|
| public int GetModuleFileNameExA(WinNT. Retrieves the fully qualified path for the file containing the specified module.
| |
| GetModuleFileNameExW | back to summary |
|---|---|
| public int GetModuleFileNameExW(WinNT. Retrieves the fully qualified path for the file containing the specified module.
| |
| GetModuleInformation | back to summary |
|---|---|
| public boolean GetModuleInformation(WinNT. To get information for the calling process, pass the handle returned by
GetCurrentProcess.
| |
| GetPerformanceInfo | back to summary |
|---|---|
| public boolean GetPerformanceInfo(Psapi. Retrieves the performance values contained in the
| |
| GetProcessImageFileName | back to summary |
|---|---|
| public int GetProcessImageFileName(WinNT. Retrieves the name of the executable file for the specified process.
| |
| QueryWorkingSetEx | back to summary |
|---|---|
| public boolean QueryWorkingSetEx(WinNT. Retrieves extended information about the pages at specific virtual addresses in the address space of the specified process. | |
| Access | Constructor and Description |
|---|---|
| public |
| EntryPoint | back to summary |
|---|---|
| public Pointer EntryPoint | |
| lpBaseOfDll | back to summary |
|---|---|
| public Pointer lpBaseOfDll | |
| SizeOfImage | back to summary |
|---|---|
| public int SizeOfImage | |
| MODULEINFO | back to summary |
|---|---|
| public MODULEINFO() | |
| Modifier and Type | Field and Description |
|---|---|
| public WinDef. | |
| public BaseTSD. | |
| public BaseTSD. | |
| public BaseTSD. | |
| public WinDef. | |
| public BaseTSD. | |
| public BaseTSD. | |
| public BaseTSD. | |
| public BaseTSD. | |
| public BaseTSD. | |
| public BaseTSD. | |
| public WinDef. | |
| public BaseTSD. | |
| public WinDef. |
| Access | Constructor and Description |
|---|---|
| public |
| cb | back to summary |
|---|---|
| public WinDef. | |
| CommitLimit | back to summary |
|---|---|
| public BaseTSD. | |
| CommitPeak | back to summary |
|---|---|
| public BaseTSD. | |
| CommitTotal | back to summary |
|---|---|
| public BaseTSD. | |
| HandleCount | back to summary |
|---|---|
| public WinDef. | |
| KernelNonpaged | back to summary |
|---|---|
| public BaseTSD. | |
| KernelPaged | back to summary |
|---|---|
| public BaseTSD. | |
| KernelTotal | back to summary |
|---|---|
| public BaseTSD. | |
| PageSize | back to summary |
|---|---|
| public BaseTSD. | |
| PhysicalAvailable | back to summary |
|---|---|
| public BaseTSD. | |
| PhysicalTotal | back to summary |
|---|---|
| public BaseTSD. | |
| ProcessCount | back to summary |
|---|---|
| public WinDef. | |
| SystemCache | back to summary |
|---|---|
| public BaseTSD. | |
| ThreadCount | back to summary |
|---|---|
| public WinDef. | |
| PERFORMANCE_INFORMATION | back to summary |
|---|---|
| public PERFORMANCE_INFORMATION() | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | Returns: innerValue with the mask and shift applied.Size of the Bit Mask maskLength, final int Amount to Shift innerValue to the right by rightShiftAmount)Returns innerValue after shifting the value rightShiftAmount, and applying a Bit Mask of size maskLength. |
| public int | |
| public int | |
| public int | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean |
| VirtualAddress | back to summary |
|---|---|
| public Pointer VirtualAddress | |
| VirtualAttributes | back to summary |
|---|---|
| public BaseTSD. | |
| PSAPI_WORKING_SET_EX_INFORMATION | back to summary |
|---|---|
| public PSAPI_WORKING_SET_EX_INFORMATION() | |
| getBitFieldValue | back to summary |
|---|---|
| private int getBitFieldValue(final int maskLength, final int rightShiftAmount) Returns innerValue after shifting the value rightShiftAmount, and
applying a Bit Mask of size maskLength. Example,
| |
| getNode | back to summary |
|---|---|
| public int getNode() The NUMA node. The maximum value of this member is 63. | |
| getShareCount | back to summary |
|---|---|
| public int getShareCount() The number of processes that share this page. The maximum value of this member is 7. | |
| getWin32Protection | back to summary |
|---|---|
| public int getWin32Protection() The memory protection attributes of the page. For a list of values see below.
| |
| isBad | back to summary |
|---|---|
| public boolean isBad() If this bit is 1, the page is has been reported as bad. | |
| isLargePage | back to summary |
|---|---|
| public boolean isLargePage() If this bit is 1, the page is a large page. | |
| isLocked | back to summary |
|---|---|
| public boolean isLocked() If this bit is 1, the virtual page is locked in physical memory. | |
| isShared | back to summary |
|---|---|
| public boolean isShared() If this bit is 1, the page can be shared. | |
| isValid | back to summary |
|---|---|
| public boolean isValid() If this bit is 1, the subsequent members are valid; otherwise they should be ignored. | |