IPropertyStoreCache interface (propsys.h)

Exposes methods that allow a handler to manage various states for each property.

Inheritance

The IPropertyStoreCache interface inherits from IPropertyStore. IPropertyStoreCache also has these types of members:

Methods

The IPropertyStoreCache interface has these methods.

 
IPropertyStoreCache::GetState

Gets the state of a specified property key.
IPropertyStoreCache::GetValueAndState

Gets value and state data for a property key.
IPropertyStoreCache::SetValueAndState

Sets value and state data for a property key.

Remarks

This interface also provides the methods of the IPropertyStore interface, from which it inherits.

When to Implement

An implementation of this interface is provided by CLSID_InMemoryPropertyStore. Users should never need to implement it themselves.

CLSID_InMemoryPropertyStore implements IPropertyStoreCache as well as IPropertyStore and other interfaces so that it can store additional information (PSC_STATE) about each of the properties. This information can be useful for property handler implementers. It can also be useful in other scenarios where a cache of property values is needed.

Requirements

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