[Now Supported on Windows NT]
Provides a hook with an opportunity to intercept a command and perform an alternate action.
HRESULT Execute(
LPSHELLEXECUTEINFO pei | // Points to a SHELLEXECUTEINFO struct. |
); |
Parameters
pei
Pointer to a SHELLEXECUTEINFO structure. This structure is discussed further under ShellExecuteEx.
Return Values
Returns NOERROR if the hook is implemented in the executable or S_FALSE if it is not. It is an OLE-defined error value otherwise.
Remarks
Execute provides the hook the chance to pick off a command to be executed and perform some other action.
See Also