Export (0) Print
Expand All
Expand Minimize

RxNameCacheInitialize function

RxNameCacheInitialize initializes a name cache (NAME_CACHE_CONTROL structure).

Syntax


VOID RxNameCacheInitialize(
  _In_  PNAME_CACHE_CONTROL NameCacheCtl,
  _In_  ULONG MRxNameCacheSize,
  _In_  ULONG MaximumEntries
);

Parameters

NameCacheCtl [in]

A pointer to the NAME_CACHE_CONTROL structure to initialize.

MRxNameCacheSize [in]

The size, in bytes, of the network mini-redirector portion of the NAME_CACHE entry.

MaximumEntries [in]

The maximum number of entries that will ever be allocated. This value prevents an errant program that opens a large number of files with bad names from using all of the paged pool memory.

Return value

None

Requirements

Header

Namcache.h (include Namcache.h)

IRQL

<= APC_LEVEL

See also

RxNameCacheActivateEntry
RxNameCacheCheckEntry
RxNameCacheCreateEntry
RxNameCacheExpireEntry
RxNameCacheExpireEntryWithShortName
RxNameCacheFetchEntry
RxNameCacheFinalize
RxNameCacheFreeEntry

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft