Previous in Contents Next in Contents

IConfigurationCache::SaveToCache

The SaveToCache method generates a unique key to the object's configuration information, saves this key to persistent storage, and returns the key to the caller (for example, the pipeline).

Syntax

HRESULT SaveToCache(
BSTR *pbstrToken// out, retval
);

Parameter

pbstrToken
The address of a BSTR that contains the key that will be used to uniquely identify this object's configuration information and to retrieve this information from storage. While this key is typically the object's class ID, it can be any unique identifier.

Include

<pipeline.h>
<pipecomp.h>

Return Value

This method returns an HRESULT value.

Related Topic

IConfigurationCache::LoadFromCache


© 1997-2000 Microsoft Corporation. All rights reserved.