PssWalkMarkerGetPosition function

Returns the current position of a walk marker.

Syntax

DWORD PssWalkMarkerGetPosition(
  HPSSWALK  WalkMarkerHandle,
  ULONG_PTR *Position
);

Parameters

WalkMarkerHandle

A handle to the walk marker.

Position

The walk marker position that this function returns.

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.

Remarks

The position value compared to the values of other positions is not of any significance. The only valid use of the position is to set the current position using the PssWalkMarkerSetPosition function.

Requirements

   
Windows version Windows 8.1 [desktop apps only] Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header processsnapshot.h
DLL Kernel32.dll

See Also

Process Snapshotting