コード例 #1
0
 // The debugger calls this when it needs to obtain the IDebugDisassemblyStream2 for a particular code-context.
 // The sample engine does not support dissassembly so it returns E_NOTIMPL
 // In order for this to be called, the Disassembly capability must be set in the registry for this Engine
 public int GetDisassemblyStream(enum_DISASSEMBLY_STREAM_SCOPE dwScope, IDebugCodeContext2 codeContext, out IDebugDisassemblyStream2 disassemblyStream)
 {
     disassemblyStream = new AD7DisassemblyStream(this, dwScope, codeContext);
     return(Constants.S_OK);
 }
コード例 #2
0
ファイル: AD7Engine.cs プロジェクト: wesrupert/MIEngine
 // The debugger calls this when it needs to obtain the IDebugDisassemblyStream2 for a particular code-context.
 // The sample engine does not support dissassembly so it returns E_NOTIMPL
 // In order for this to be called, the Disassembly capability must be set in the registry for this Engine
 public int GetDisassemblyStream(enum_DISASSEMBLY_STREAM_SCOPE dwScope, IDebugCodeContext2 codeContext, out IDebugDisassemblyStream2 disassemblyStream)
 {
     disassemblyStream = new AD7DisassemblyStream(this, dwScope, codeContext);
     return Constants.S_OK;
 }