예제 #1
0
        private void SendInternal(EventModel model)
        {
            uint attributes;
            Guid riidEvent = new Guid(model.IidEvent);

            EngineUtils.RequireOk(model.EventObject.GetAttributes(out attributes));
            EngineUtils.RequireOk(_eventCallback.Event(_engine, null, model.Program, model.Thread, model.EventObject, ref riidEvent, attributes));

            model.Set();
        }
예제 #2
0
 public static AD_PROCESS_ID GetProcessId(IDebugProcess2 process)
 {
     AD_PROCESS_ID[] pid = new AD_PROCESS_ID[1];
     EngineUtils.RequireOk(process.GetPhysicalProcessId(pid));
     return(pid[0]);
 }