PWINDBG_DISASM - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdbgexts.h

PWINDBG_DISASM PwindbgDisasm;

ULONG PwindbgDisasm(
  ULONG_PTR *lpOffset,
  PCSTR lpBuffer,
  ULONG fShowEffectiveAddress
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-wdbgexts-pwindbg_disasm)

PWINDBG_DISASM callback function

Description

The PWINDBG_DISASM (Disasm) function disassembles the instruction pointed to by lpOffset and places the printable string into lpBuffer.

Parameters

lpOffset

Points to the instruction to be disassembled.

lpBuffer

Receives the disassembled instruction. This buffer must be at least 2000 characters in length.

fShowEffectiveAddress

Specifies whether or not to print the effective address.

Return value

If the routine succeeds, the return value is TRUE; otherwise, it is FALSE.