[in] Name of property from which to retrieve the cached value. For more information, see property identifiers.
GetCacheEntryValue
Retrieves the value of a cache entry if the entry is valid.
Syntax
Section titled “Syntax”template <typename T>void GetCacheEntryValue(const CString& strKey, T* pValue);Parameters
Section titled “Parameters”strKey
pValue
[out] Cached value. If the value is not valid, then the value of this parameter is undefined.
Return value
Section titled “Return value”Returns true if the specified value is in the cache and is valid, otherwise false.
Example
Section titled “Example”The following example demonstrates use of the GetCacheEntryValue function.
STDMETHODIMP Acme4321::Configure(double Frequency, double Bandwidth){ HRESULT hr = S_OK;
double dFreq = 0; GetCacheEntryValue(_T("IAcme4321.Frequency"), &dFreq);
return hr;}