CItemIDFactory class

Exposes methods for interacting with Shell data sources.

When to use

Used in shell data source implementations to manage IDLists.

Members

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

Methods

The CItemIDFactory class has these methods.

MethodDescription
CreateItemID

Creates an ItemID from the supplied data.

GetDataFromIDList

Gets a read only pointer to the client provided structure in the first ItemID in the IDList.

GetPropertyFromIDList Overloaded.

Returns a property from the IPropertyStore within the IDList.

GetPropertyStorage

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

GetPropertyStorageFromIDList

create an instance of the IPropertyStore based on the serialized property storage associated with the first ItemID.

IsDelegateFolder

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

SetItemAlloc

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

 

Remarks

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shidfact.h

See also

IDelegateFolder

 

 

Show: