IShellFolderViewDual3::PopupItemMenu Method

Creates a shortcut menu for the specified item and returns the selected command string.

Syntax

HRESULT PopupItemMenu(      
    FolderItem *pfi,
    VARIANT vx,
    VARIANT vy,
    BSTR *pbs
);

Parameters

  • pfi
    [in] The FolderItem for which to create a shortcut menu.
  • vx
    [in] Optional.
  • vy
    [in] Optional.
  • pbs
    [out] The command string.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IShellFolderViewDual, IShellFolderViewDual2, IShellFolderViewDual3