Kernel32PssFreeSnapshot Method
Namespace: DevCase.Win32.NativeMethodsAssembly: 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 PssFreeSnapshot(
IntPtr processHandle,
IntPtr snapshotHandle
)
<DllImportAttribute("Kernel32.dll", ExactSpelling := true>]
Public Shared Function PssFreeSnapshot (
processHandle As IntPtr,
snapshotHandle As IntPtr
) As Win32ErrorCode
Dim processHandle As IntPtr
Dim snapshotHandle As IntPtr
Dim returnValue As Win32ErrorCode
returnValue = Kernel32.PssFreeSnapshot(processHandle,
snapshotHandle)
public:
[DllImportAttribute(L"Kernel32.dll", ExactSpelling = true)]
static Win32ErrorCode PssFreeSnapshot(
IntPtr processHandle,
IntPtr snapshotHandle
)
[<DllImportAttribute("Kernel32.dll", ExactSpelling = true)>]
static member PssFreeSnapshot :
processHandle : IntPtr *
snapshotHandle : IntPtr -> Win32ErrorCode
No code example is currently available or this language may not be supported.
- processHandle IntPtr
-
A handle to the process that contains the snapshot.
The handle must have VirtualMemoryRead,
VirtualMemoryOperation and
DuplicateHandle rights.
If the snapshot was captured from the current process, or duplicated into the current process,
then pass in the result of GetCurrentProcess.
- snapshotHandle IntPtr
-
A handle to the snapshot to free.
Win32ErrorCode
If the function succeeds, the return value is
ERROR_SUCCESS;
othwerise, a different
Win32ErrorCode value.