NAME

SHInvokeCommand  (SHLWAPI.363)

SYNOPSIS

 HRESULT SHInvokeCommand
 (
  HWND          hWnd,
  IShellFolder* lpFolder,
  LPCITEMIDLIST lpApidl,
  DWORD         dwCommandId
 )

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.
dwCommandId [In] The command Id to invoke (0=invoke default).

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 to obtain a pointer to the function.

Implemented in "dlls/shlwapi/ordinal.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shlwapi/ordinal.c

Debug channel "shell".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.