PDEBUG_EXTENSION_KNOWN_STRUCT_EX callback function

The DebugExtensionKnownStructEx callback function is called by extensions in order to dump structures that are well known to them.

C++
 CALLBACK* PDEBUG_EXTENSION_KNOWN_STRUCT_EX DebugExtensionKnownStructEx;

Syntax

PDEBUG_EXTENSION_KNOWN_STRUCT_EX PdebugExtensionKnownStructEx;

HRESULT PdebugExtensionKnownStructEx(
  PDEBUG_CLIENT Client,
  ULONG Flags,
  ULONG64 Offset,
  PCSTR TypeName,
  PSTR Buffer,
  PULONG BufferChars
)
{...}

Parameters

Client

A debug client.

Flags

Flags.

Offset

An offset.

TypeName

The name of a type.

Buffer

An output buffer.

BufferChars

A pointer to the length of the output buffer.

Return value

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

Remarks

DebugExtensionKnownStructEx is called PDEBUG_EXTENSION_KNOWN_STRUCT_EX in the Dbgeng.h header file.

Requirements

   
Target Platform Windows
Header dbgeng.h (include Dbgeng.h)