SHInvokeCommand(3w)

SHInvokeCommand3w

Usage

HRESULT SHInvokeCommand
(
HWND hWnd,
IShellFolder* lpFolder,
LPCITEMIDLIST lpApidl,
BOOL bInvokeDefault
)

Overview

Get and show a context menu from a shell folder.

Params

hWnd [In] Window displaying the shell folder.

lpFolder [In] IShellFolder interface.

lpApidl [In] Id for the particular folder desired.

bInvokeDefault [In] Whether to invoke the default menu item.

Returns

Success: S_OK. If bInvokeDefault is TRUE, the default menu action was executed.

Failure: An HRESULT error code indicating the error.

Implementation

Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.

Implemented in "dlls/shlwapi/ordinal.c".

Debug channel "shell".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.