Επεξεργασία

Κοινή χρήση μέσω


CItemIDFactory class (shidfact.h)

Exposes methods for interacting with Shell data sources.

Inheritance

The CItemIDFactory class inherits from IDelegateFolder. CItemIDFactory also has these types of members:

Methods

The CItemIDFactory class has these methods.

 
CItemIDFactory::CreateItemID

Creates an ItemID from the supplied data.
CItemIDFactory::GetDataFromIDList

Gets a read only pointer to the client provided structure in the first ItemID in the IDList. (overload 1/2)
CItemIDFactory::GetDataFromIDList

Gets a read only pointer to the client provided structure in the first ItemID in the IDList. (overload 2/2)
CItemIDFactory::GetPropertyFromIDList

Gets a property from the IPropertyStore within the IDList as a variant, using the key. (overload 3/4)
CItemIDFactory::GetPropertyFromIDList

Gets a property from the IPropertyStore within the IDList as a variant, using the key. (overload 2/4)
CItemIDFactory::GetPropertyFromIDList

Gets a property from the IPropertyStore within the IDList as a variant, using the key. (overload 4/4)
CItemIDFactory::GetPropertyFromIDList

Gets a property from the IPropertyStore within the IDList as a variant, using the key. (overload 1/4)
CItemIDFactory::GetPropertyStorage

Gets a read only pointer to the serialized property storage that is used for storing metadata.
CItemIDFactory::GetPropertyStorageFromIDList

Create an instance of the IPropertyStore based on the serialized property storage associated with the first ItemID.
CItemIDFactory::IsDelegateFolder

Gets a Boolean value specifying whether the factory is a delegate folder.
CItemIDFactory::SetItemAlloc

Provides the CItemIDFactory an IMalloc interface used to allocate and free item IDs.

Remarks

it is recommended that all data sources use this as it manages an important issue of security when dealing with IDList parsing.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shidfact.h

See also

IDelegateFolder