PINSPECT_MEMORY_CALLBACK callback function (roerrorapi.h)

Provides a function pointer to the callback used by the RoInspectCapturedStackBackTrace function.

Syntax

PINSPECT_MEMORY_CALLBACK PinspectMemoryCallback;

HRESULT PinspectMemoryCallback(
  [in]  void *context,
  [in]  UINT_PTR readAddress,
  [in]  UINT32 length,
  [out] BYTE *buffer
)
{...}

Parameters

[in] context

Custom context data provided to the RoInspectCapturedStackBackTrace function.

[in] readAddress

The address to read data from.

[in] length

The number of bytes to read, starting at readAddress.

[out] buffer

The buffer that receives a copy of the bytes that are read.

Return value

If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

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 roerrorapi.h

See also

RoInspectCapturedStackBackTrace