IShellFolderViewDual::PopupItemMenu method
Creates a shortcut menu for the specified item and returns the selected command string.
Syntax
HRESULT PopupItemMenu( [in, optional] FolderItem *pfi, [in, optional] VARIANT vx, [in, optional] VARIANT vy, [out] BSTR *pbs );
Parameters
- pfi [in, optional]
-
Type: FolderItem*
The FolderItem for which to create a shortcut menu.
- vx [in, optional]
-
Type: VARIANT
Optional.
- vy [in, optional]
-
Type: VARIANT
Optional.
- pbs [out]
-
Type: BSTR*
The command string.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
IDL |
|
See also
Show: