Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
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:
Returns S_OK if the object's URL was opened successfully. If the object does not have a URL associated with it, the function returns S_FALSE. Otherwise, the return value is an error code that can be one of the following:
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.
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.