IKnownFolder class com

Exposes methods that allow an application to retrieve information about a known folder's category, type, GUID, pointer to an item identifier list (PIDL) value, redirection capabilities, and definition. It provides a method for the retrieval of a known folder's IShellItem object. It also provides methods to get or set the path of the known folder.

Inheritance

Constructors

IKnownFolder(Pointer<COMObject> ptr)
IKnownFolder.from(IUnknown interface)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() int
Increments the reference count for an interface pointer to a COM object.
inherited
detach() → void
Detaches the object from the Finalizer.
inherited
getCategory(Pointer<Int32> pCategory) int
getFolderDefinition(Pointer<KNOWNFOLDER_DEFINITION> pKFD) int
getFolderType(Pointer<GUID> pftid) int
getId(Pointer<GUID> pkfid) int
getIDList(int dwFlags, Pointer<Pointer<ITEMIDLIST>> ppidl) int
getPath(int dwFlags, Pointer<Pointer<Utf16>> ppszPath) int
getRedirectionCapabilities(Pointer<Uint32> pCapabilities) int
getShellItem(int dwFlags, Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppv) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID).
inherited
release() int
Decrements the reference count for an interface on a COM object.
inherited
setPath(int dwFlags, Pointer<Utf16> pszPath) int
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited