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.
Constructors
-
IKnownFolder(Pointer<
COMObject> ptr) - IKnownFolder.from(IUnknown interface)
-
factory
Properties
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< ppidl) → intITEMIDLIST> > -
getPath(
int dwFlags, Pointer< Pointer< ppszPath) → intUtf16> > -
getRedirectionCapabilities(
Pointer< Uint32> pCapabilities) → int -
getShellItem(
int dwFlags, Pointer< GUID> riid, Pointer<Pointer< ppv) → intNativeType> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryInterface(
Pointer< GUID> riid, Pointer<Pointer< ppvObject) → intNativeType> > -
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