IFolderView2::InvokeVerbOnSelection method (shobjidl_core.h)

Invokes the given verb on the current selection.

Syntax

HRESULT InvokeVerbOnSelection(
  [in] LPCSTR pszVerb
);

Parameters

[in] pszVerb

Type: LPCSTR

A pointer to a Unicode string containing a verb.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

If pszVerb is NULL, then the default verb is invoked on the selection.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)