AuxUlibSetSystemFileCacheSize function (aux_ulib.h)

Sets the current file system cache size.

As of Windows Server 2003 with Service Pack 1 (SP1), this function has been superseded by the SetSystemFileCacheSize function.

Syntax

BOOL AuxUlibSetSystemFileCacheSize(
  [in] SIZE_T MinimumFileCacheSize,
  [in] SIZE_T MaximumFileCacheSize,
  [in] DWORD  Flags
);

Parameters

[in] MinimumFileCacheSize

The minimum cache size, in bytes. To flush the cache, use (DWORD)–1.

[in] MaximumFileCacheSize

The maximum cache size, in bytes. To flush the cache, use (DWORD)–1.

[in] Flags

This parameter is reserved for future use and must be zero.

Return value

If the function succeeds, the return value is TRUE.

If the function fails, the return value is FALSE. To retrieve extended information, call GetLastError.

Remarks

You must call the AuxUlibInitialize function before calling this function.

The caller must have enabled the SE_INCREASE_QUOTA_NAME privilege in the active token.

Requirements

Requirement Value
Target Platform Windows
Header aux_ulib.h
Library Aux_ulib.lib
Redistributable Windows Auxiliary API library version 1.0 or later

See also

AuxUlibInitialize