PINSPECT_MEMORY_CALLBACK function

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

Syntax


HRESULT WINAPI PINSPECT_MEMORY_CALLBACK(
  _In_  void     *context,
  _In_  UINT_PTR readAddress,
  _In_  UINT32   length,
  _Out_ BYTE     *buffer
);

Parameters

context [in]

Custom context data provided to the RoInspectCapturedStackBackTrace function.

readAddress [in]

The address to read data from.

length [in]

The number of bytes to read, starting at readAddress.

buffer [out]

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

Return value

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

Requirements

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

Roerrorapi.h

See also

RoInspectCapturedStackBackTrace

 

 

Show: