InvalidateName function (filehc.h)

Enables the user to remove a single name and all associated data from the name cache.

Syntax

FILEHC_EXPORT BOOL InvalidateName(
  [in] PNAME_CACHE_CONTEXT pNameCache,
  [in] LPBYTE              lpbName,
  [in] DWORD               cbName
);

Parameters

[in] pNameCache

A pointer to the name cache that the client will use.

[in] lpbName

The bytes that the user provides for the name of the cache item.

[in] cbName

The actual byte count of the name.

Return value

Returns TRUE if the name and associated data are removed from the name cache; otherwise, it returns FALSE.

Requirements

Requirement Value
Target Platform Windows
Header filehc.h
Library Fcachdll.lib
DLL Fcachdll.dll