typedef struct {
DWORD dwcbSize;
DWORD dwFlags;
HWND hwndParent;
LPCSTR pcszVerb;
} URLINVOKECOMMANDINFO, *PURLINVOKECOMMANDINFO;
The URLINVOKECOMMANDINFO structure contains information for use with the IUniformResourceLocator::InvokeCommand method.
- dwcbSize
- Size of this structure, in bytes.
- dwFlags
- Specifies how the IUniformResourceLocator::InvokeCommand method will execute. This value can be a combination of the following.
- Value
- Meaning
- IURL_INVOKECOMMAND_FL_ALLOW_UI
- Interaction with the user is allowed and the hwndParent member of this structure is valid. If this is not set, interaction with the user is not allowed and the hwndParent member is ignored.
- IURL_INVOKECOMMAND_FL_USE_DEFAULT_VERB
- The default verb for the Internet Shortcut's protocol is to be used and the pcszVerb member is ignored. If this bit is not set, the verb is specified by pcszVerb.
- hwndParent
- Handle to the parent window. If dwFlags is set to IURL_INVOKECOMMAND_FL_USE_DEFAULT_VERB, this member is ignored.
- pcszVerb
- Pointer to a zero-terminated string that contains the verb to be invoked by IUniformResourceLocator::InvokeCommand. If dwFlags is set to IURL_INVOKECOMMAND_FL_USE_DEFAULT_VERB, this member is ignored.