SHInvokeCommand.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

SHInvokeCommand (SHLWAPI.363)

SYNOPSIS

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

DESCRIPTION

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".