CACHE_DESTROY_CALLBACK callback function (filehc.h)

A function that is called whenever an entry in the name cache is destroyed. It provides the client with an opportunity to track any relationships between the key and data components.

Syntax

CACHE_DESTROY_CALLBACK CacheDestroyCallback;

void CacheDestroyCallback(
  [in] DWORD cb,
  [in] LPBYTE lpb
)
{...}

Parameters

[in] cb

The size of the data or key pointed to by the lpb parameter, in bytes.

[in] lpb

A pointer to the data or key.

Return value

None

Remarks

If the client does not associate data with the name, this function is called only for the key data.

Requirements

Requirement Value
Target Platform Windows
Header filehc.h