CACHE_READ_CALLBACK callback function (filehc.h)

A callback that is provided to the cache to help examine items within the cache.

Syntax

CACHE_READ_CALLBACK CacheReadCallback;

BOOL CacheReadCallback(
  [in] DWORD cb,
  [in] LPBYTE lpb,
  [in] LPVOID lpvContext
)
{...}

Parameters

[in] cb

The size, in bytes, of the data indicated in the lpb parameter.

[in] lpb

A pointer to the data portion of the key.

[in] lpvContext

The context that is specified by the user.

Return value

Returns TRUE if the function succeeds; otherwise, it returns FALSE.

Note  This return value is ignored.
 

Requirements

Requirement Value
Target Platform Windows
Header filehc.h