ShellBrowser Delphi Components Documentation
|
Wrapper for IShellFolder.GetUIObjectOf() which retrieves a COM object for the ItemIdLists in this collection.
function GetUIObject(const pInterfaceID: TGUID): IInterface;
Parameters |
Description |
const pInterfaceID: TGUID |
Interface identifier (IID) of the interface that should be returned, e.g. IID_IDropTarget. |
Returns the requested COM Object for the current shell object(s), need to be casted to the actual interface using the as-operator.
Wrapper for the Windows shell API IShellFolder.GetUIObjectOf() which will be rarely used directly by developers. For a list of valid interface identifiers that can be passed please visit MSDN.
Exceptions |
Description |
If an error occurred when querying the context menu from the system. | |
EInvalidOperation |
If there is no element in the collection. |