IShellFolderGetUIObjectOf Method

Gets an object that can be used to carry out actions on the specified file objects or folders.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
Object GetUIObjectOf(
	IntPtr hwndOwner,
	uint pidlCount,
	IntPtr[] pidls,
	ref Guid refIid,
	IntPtr reserved = default
)

Parameters

hwndOwner  IntPtr
A handle to the owner window that the client should specify if it displays a dialog box or message box.
pidlCount  UInt32
The number of file objects or subfolders specified in the pidls parameter.
pidls  IntPtr
The address of an array of pointers to ITEMIDLIST structures, each of which uniquely identifies a file object or subfolder relative to the parent folder.

Each item identifier list must contain exactly one SHITEMID structure followed by a terminating zero.

refIid  Guid
A reference to the IID of the interface to retrieve.

This can be any valid interface identifier that can be created for an item.

reserved  IntPtr  (Optional)
Reserved. Must be Zero.

Return Value

Object
When this method returns successfully, contains the interface pointer requested in refIid.

See Also