IShellExecuteHook::Execute  2BDHAPY

[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 SHELLEXECUTEINFO0YOU3D structure. This structure is discussed further under ShellExecuteEx28RU_HC.

 

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

IShellExecuteHook, IShellExtInit, ITEMIDLIST