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.
C++
PWINDBG_DISASM PwindbgDisasm;
ULONG PwindbgDisasm(
ULONG_PTR *lpOffset,
PCSTR lpBuffer,
ULONG fShowEffectiveAddress
)
{...}
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.
If the routine succeeds, the return value is TRUE; otherwise, it is FALSE.
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | wdbgexts.h (include Wdbgexts.h, Dbgeng.h) |