Esempio n. 1
0
 static unsafe _SECURITY_ATTRIBUTES()
 {
     Default = new Interop.CorDebug._SECURITY_ATTRIBUTES();
     Default.bInheritHandle       = 0;
     Default.lpSecurityDescriptor = IntPtr.Zero;
     Default.nLength = (uint)sizeof(Interop.CorDebug._SECURITY_ATTRIBUTES);
 }
Esempio n. 2
0
        public ICorDebugProcess CreateProcess(string lpApplicationName, string lpCommandLine, ref Interop.CorDebug._SECURITY_ATTRIBUTES lpProcessAttributes, ref Interop.CorDebug._SECURITY_ATTRIBUTES lpThreadAttributes, int bInheritHandles, uint dwCreationFlags, System.IntPtr lpEnvironment, string lpCurrentDirectory, STARTUPINFO lpStartupInfo, uint lpProcessInformation, CorDebugCreateProcessFlags debuggingFlags)
        {
            ICorDebugProcess ppProcess;

            Interop.CorDebug.ICorDebugProcess out_ppProcess;
            this.WrappedObject.CreateProcess(lpApplicationName, lpCommandLine, ref lpProcessAttributes, ref lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment, lpCurrentDirectory, lpStartupInfo, lpProcessInformation, ((Interop.CorDebug.CorDebugCreateProcessFlags)(debuggingFlags)), out out_ppProcess);
            ppProcess = ICorDebugProcess.Wrap(out_ppProcess);
            return(ppProcess);
        }