IExecuteCommand

IID_IExecuteCommand {7F9185B0-CB92-43C5-80A9-92277A4F7B54}

The IExecuteCommand methods are (as ordered in the virtual function table after the IUnknown methods):

Offset Method
0x0C SetKeyState
0x10 SetParameters
0x14 SetPosition
0x18 SetShowWindow
0x1C SetNoShowUI
0x20 SetDirectory
0x24 Execute

with prototypes:

HRESULT SetKeyState (ULONG);
HRESULT SetParameters (PCWSTR);
HRESULT SetPosition (POINT);
HRESULT SetShowWindow (INT);
HRESULT SetNoShowUI (INT);
HRESULT SetDirectory (PCWSTR);
HRESULT Execute (VOID);

Availability

The IExecuteCommand interface is implemented by the ExplorerFrame.dll and SHELL32.DLL version 6.0 from Windows Vista.

Though new for Windows Vista, this interface is not documented by Microsoft in the January 2007 edition of the Software Development Kit (SDK) for Windows Vista.