コード例 #1
0
 public void Dispose()
 {
     NtDbgUi.DbgUiSetThreadDebugObject(_old_debug_object_handle);
 }
コード例 #2
0
 public ScopedDebugObject(NtDebug debug_object)
 {
     _debug_object            = debug_object;
     _old_debug_object_handle = NtDbgUi.DbgUiGetThreadDebugObject();
     NtDbgUi.DbgUiSetThreadDebugObject(debug_object.Handle.DangerousGetHandle());
 }