Skip to content

InvalidateCache

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

void InvalidateCache();

The following example demonstrates use of the InvalidateCache function.

CoAcme4321.cpp
STDMETHODIMP Acme4321::put_Bandwidth()
{
HRESULT hr = S_OK;
InvalidateCache();
return hr;
}