Skip to content

InvalidateCacheEntry

Retrieves the value of a cache entry if the entry is valid.

void InvalidateCacheEntry(const CString& strPath);

strPath

[in] Name of property to invalidate. For more information, see property identifiers.

The following example demonstrates use of the InvalidateCacheEntry function.

CoAcme4321.cpp
STDMETHODIMP Acme4321::Configure(double Frequency, double Bandwidth)
{
HRESULT hr = S_OK;
InvalidateCacheEntry(_T("IAcme4321.Frequency"));
return hr;
}