Kernel32PssQuerySnapshot Method

Queries a process snapshot.

To take a snapshot, call PssCaptureSnapshot(IntPtr, PssCaptureFlags, UInt32, IntPtr) function.

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("Kernel32.dll", ExactSpelling = true)]
public static Win32ErrorCode PssQuerySnapshot(
	IntPtr snapshotHandle,
	PssQueryInformationClass informationClass,
	IntPtr buffer,
	uint bufferLength
)

Parameters

snapshotHandle  IntPtr
A handle to the snapshot to query.
informationClass  PssQueryInformationClass
An enumerator member that selects what information to query.
buffer  IntPtr
The information that this function provides.
bufferLength  UInt32
The size of buffer, in bytes.

Return Value

Win32ErrorCode
If the function succeeds, the return value is ERROR_SUCCESS; othwerise, a different Win32ErrorCode value.

Remarks

See Also