PssWalkMarkerGetPosition function (processsnapshot.h)

Returns the current position of a walk marker.

Syntax

DWORD PssWalkMarkerGetPosition(
  [in]  HPSSWALK  WalkMarkerHandle,
  [out] ULONG_PTR *Position
);

Parameters

[in] WalkMarkerHandle

A handle to the walk marker.

[out] 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

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