PDEBUG_EXTENSION_KNOWN_STRUCT_EX callback function (dbgeng.h)

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

 CALLBACK* PDEBUG_EXTENSION_KNOWN_STRUCT_EX DebugExtensionKnownStructEx;

Syntax

PDEBUG_EXTENSION_KNOWN_STRUCT_EX PdebugExtensionKnownStructEx;

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

Parameters

[in] Client

A debug client.

[in] Flags

Flags.

[in] Offset

An offset.

[in, optional] TypeName

The name of a type.

[out, optional] Buffer

An output buffer.

[in, out, optional] 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

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