Bewerken

Delen via


RxNameCacheInitialize function (namcache.h)

RxNameCacheInitialize initializes a name cache (NAME_CACHE_CONTROL structure).

Syntax

void RxNameCacheInitialize(
  [in] IN PNAME_CACHE_CONTROL NameCacheCtl,
  [in] IN ULONG               MRxNameCacheSize,
  [in] IN ULONG               MaximumEntries
);

Parameters

[in] NameCacheCtl

A pointer to the NAME_CACHE_CONTROL structure to initialize.

[in] MRxNameCacheSize

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

[in] MaximumEntries

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

Requirement Value
Target Platform Desktop
Header namcache.h (include Namcache.h)
IRQL <= APC_LEVEL

See also

RxNameCacheActivateEntry

RxNameCacheCheckEntry

RxNameCacheCreateEntry

RxNameCacheExpireEntry

RxNameCacheExpireEntryWithShortName

RxNameCacheFetchEntry

RxNameCacheFinalize

RxNameCacheFreeEntry