RxNameCacheFreeEntry - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// namcache.h

VOID RxNameCacheFreeEntry(
  [in] IN PNAME_CACHE_CONTROL NameCacheCtl,
  [in] IN PNAME_CACHE         NameCache
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-namcache-rxnamecachefreeentry)

RxNameCacheFreeEntry function

Description

RxNameCacheFreeEntry releases the storage for a NAME_CACHE entry and decrements the count of the NAME_CACHE cache entries associated with a NAME_CACHE_CONTROL structure.

Parameters

NameCacheCtl [in]

A pointer to the NAME_CACHE_CONTROL structure for the name cache.

NameCache [in]

A pointer to the NAME_CACHE structure to free.

Remarks

The RxNameCacheFreeEntry routine assumes that the name cache entry is not on either the free or active list.

The RxNameCacheFreeEntry routine frees memory allocated for the name buffer if the name buffer for this name cache entry is not NULL. This routine will then free memory used for the NAME_CACHE entry. Then, the count of name cache entries on NameCacheCtl is decremented.

See also

RxNameCacheActivateEntry

RxNameCacheCheckEntry

RxNameCacheCreateEntry

RxNameCacheExpireEntry

RxNameCacheExpireEntryWithShortName

RxNameCacheFetchEntry

RxNameCacheFinalize

RxNameCacheInitialize