Export (0) Print
Expand All
Expand Minimize

RxNameCacheExpireEntryWithShortName function

RxNameCacheExpireEntryWithShortName expires all of the name cache entries whose name prefix matches the given short file name.

Syntax


VOID RxNameCacheExpireEntryWithShortName(
  _In_  PNAME_CACHE_CONTROL NameCacheCtl,
  _In_  PUNICODE_STRING Name
);

Parameters

NameCacheCtl [in]

A pointer to the NAME_CACHE_CONTROL structure to scan.

Name [in]

A pointer to the Unicode string that contains the name prefix to scan for name cache entry matches to expire.

Return value

None

Remarks

The RxNameCacheExpireEntryWithShortName routine scans the active list and inserts any matching NAME_CACHE entries at the head of the free list. The CaseInsensitive member of the NAME_CACHE entry is used to determine whether the scan should ignore case sensitivity when matching the Name parameter.

Because the active list is scanned, the RxNameCacheExpireEntryWithShortName routine puts any non-matching entries that have expired on the free list. A Name value of zero length will match all entries and insert the entries on the free list.

Requirements

Header

Namcache.h (include Namcache.h)

IRQL

<= APC_LEVEL

See also

RxNameCacheActivateEntry
RxNameCacheCheckEntry
RxNameCacheCreateEntry
RxNameCacheExpireEntry
RxNameCacheFetchEntry
RxNameCacheFinalize
RxNameCacheFreeEntry
RxNameCacheInitialize

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft