IFolderView2::InvokeVerbOnSelection method

Invokes the given verb on the current selection.

Syntax


HRESULT InvokeVerbOnSelection(
  [in, unique] LPCSTR pszVerb
);

Parameters

pszVerb [in]

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Show: