Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PINSPECT_HSTRING_CALLBACK function pointer

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

Syntax


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

Parameters

context [in]

Custom context data provided to the WindowsInspectString 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 pointer succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Implement this callback when you use the WindowsInspectString function. You can do a cross-process read, read from a dump file, or read from a remote debug debugging session.

Requirements

Header

Winstring.h

See also

WindowsInspectString

 

 

Show: