Debugging Tools for Windows

Disasm

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

ULONG 
  Disasm (
    PULONG lpOffset,
    PCSTR lpBuffer,
    ULONG fShowEffectiveAddress
    );

Parameters

lpOffset
Points to the instruction to be disassembled.
lpBuffer
Receives the disassembled instruction.
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

Headers: Defined in wdbgexts.h. If you are writing a WdbgExts extension, include wdbgexts.h. If you are writing a DbgEng extension that calls this function, include wdbgexts.h before dbgeng.h (see Writing DbgEng Extension Code for details).

Build machine: CAPEBUILD