_VCache_UpdateLookup


_VCache_UpdateLookup( HLOOKUP hLookup, unsigned long keylen, void *pKey,
    unsigned long datalen, void *pData )

If an existing key is present, it's associated data is updated with pData. Otherwise a new key entry is generated, aging the LRU entry if the cache is full.

hLookup

Handle of previously opened cache

keylen

Length, in bytes, of the supplied key value.

pKey

Address of the key value.

datalen

Length, in bytes, of the destination buffer.

pData

Address of the destination buffer.