URLINVOKECOMMANDINFO structure

Contains information for use with the IUniformResourceLocator::InvokeCommand method.

Syntax

typedef struct {
  DWORD  dwcbSize;
  DWORD  dwFlags;
  HWND   hwndParent;
  LPCSTR pcszVerb;
} URLINVOKECOMMANDINFO, *PURLINVOKECOMMANDINFO;

Members

dwcbSize

Size of this structure, in bytes.

dwFlags

Flag value that specifies how the IUniformResourceLocator::InvokeCommand method will execute. This value can be one or more of the following:

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

Default verb for the Internet Shortcut's protocol should be used and the pcszVerb member is ignored. If this bit is not set, the verb is specified by pcszVerb.

IURL_INVOKECOMMAND_FL_DDEWAIT

Wait for the DDE conversation to terminate before returning.

hwndParent

Handle to the parent window. If dwFlags is set to IURL_INVOKECOMMAND_FL_USE_DEFAULT_VERB, this member is ignored.

pcszVerb

Address of 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.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Intshcut.h