InvalidateName function

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

Syntax

FILEHC_EXPORT BOOL InvalidateName(
  PNAME_CACHE_CONTEXT pNameCache,
  IN LPBYTE           lpbName,
  IN DWORD            cbName
);

Parameters

pNameCache

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

lpbName

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

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

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