//*************************************************************************** // Class Constructors // /// <summary> /// Provides a managed class for accessing Windows' shell32.dll,ShellExecute unmanaged code. /// </summary> public InteropShellExecute() { this._ShExec = new SHEXECOPSTRUCT(); this._ShExec.hwnd = IntPtr.Zero; this._ShExec.lpDirectory = ""; this._ShExec.lpFile = ""; this._ShExec.lpOperation = null; this._ShExec.lpParameters = ""; this._ShExec.lpShowCmd = ShowCommands.SW_SHOWNORMAL; }
static extern IntPtr ShellExecute([In] SHEXECOPSTRUCT lpExecOp);