PsApiEnumProcessModulesEx Method

Retrieves a handle for each module in the specified process that meets the specified filter criteria.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("PsApi.dll", ExactSpelling = true, SetLastError = true)]
public static bool EnumProcessModulesEx(
	IntPtr hProcess,
	IntPtr[] module,
	uint cb,
	out uint refNeeded,
	EnumProcessModulesFilter filterFlag
)

Parameters

hProcess  IntPtr
A handle to the process.
module  IntPtr

[Missing <param name="module"/> documentation for "M:DevCase.Win32.NativeMethods.PsApi.EnumProcessModulesEx(System.IntPtr,System.IntPtr[],System.UInt32,System.UInt32@,DevCase.Win32.Enums.EnumProcessModulesFilter)"]

cb  UInt32
The size of the [module] array, in bytes.
refNeeded  UInt32
The number of bytes required to store all module handles in the [module] array.
filterFlag  EnumProcessModulesFilter
The filter criteria.

Return Value

Boolean
If the function succeeds, the return value is .

If the function fails, the return value is .

Remarks

See Also