Click or drag to resize

InvalidateCacheEntry

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

void InvalidateCacheEntry(const CString& strPath);
Parameters
strPath

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

Example

The following example demonstrates use of the InvalidateCacheEntry function.

C++
// CoAcme4321.cpp
STDMETHODIMP Acme4321::Configure(double Frequency, double Bandwidth)
{
  HRESULT hr = S_OK;

  InvalidateCacheEntry(_T("IAcme4321.Frequency"));

  return hr;
}
See Also

Download a complete CHM version of this documentation here.