Contents Index Topic Contents | ||
Previous Topic: IUniformResourceLocator::GetURL Next Topic: IUniformResourceLocator::SetURL |
IUniformResourceLocator::InvokeCommand
HRESULT InvokeCommand( PURLINVOKECOMMANDINFO pURLCommandInfo; );Runs a command on an object's URL.
- 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.
- pURLCommandInfo
- Address of a URLINVOKECOMMANDINFO structure that contains command information for the function.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.