PssWalkMarkerFree function (processsnapshot.h)

Frees a walk marker created by PssWalkMarkerCreate.


DWORD PssWalkMarkerFree(
  [in] HPSSWALK WalkMarkerHandle


[in] WalkMarkerHandle

A handle to the walk marker.

Return value

This function returns ERROR_SUCCESS on success.

All error codes are defined in winerror.h. Use FormatMessage with the FORMAT_MESSAGE_FROM_SYSTEM flag to get a message for an error code.


If PssWalkMarkerCreate used AllocRoutine of a custom allocator to create the walk marker, PssWalkMarkerFree uses the FreeRoutine of the allocator.


Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header processsnapshot.h
DLL Kernel32.dll

See also

Process Snapshotting