Click or drag to resize

InvalidateCache

Invalidates all cached properties on the class of the caller and all child repeated capabilities.

void InvalidateCache();
Example

The following example demonstrates use of the InvalidateCache function.

C++
// CoAcme4321.cpp
STDMETHODIMP Acme4321::put_Bandwidth()
{
  HRESULT hr = S_OK;

  InvalidateCache();

  return hr;
}
See Also

Download a complete CHM version of this documentation here.