Runs a command on an object's URL.
Syntax
HRESULT InvokeCommand( PURLINVOKECOMMANDINFO pURLCommandInfo );
Parameters
- pURLCommandInfo
- Address of a URLINVOKECOMMANDINFO structure that contains command information for the function.
Return Value
Returns one of the following values:
S_OK The object's URL was opened successfully. S_FALSE The object does not have a URL associated with it. E_OUTOFMEMORY There is not enough memory to complete the operation. IS_E_EXEC_FAILED The URL's protocol handler failed to run. URL_E_INVALID_SYNTAX The URL's syntax is invalid. URL_E_UNREGISTERED_PROTOCOL The URL's protocol does not have a registered protocol handler.