PWINDBG_DISASM callback function (wdbgexts.h)
The PWINDBG_DISASM (Disasm) function disassembles the instruction pointed to by lpOffset and places the printable string into lpBuffer.
Syntax
PWINDBG_DISASM PwindbgDisasm;
ULONG PwindbgDisasm(
ULONG_PTR *lpOffset,
PCSTR lpBuffer,
ULONG fShowEffectiveAddress
)
{...}
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | wdbgexts.h (include Wdbgexts.h, Dbgeng.h) |