AuxUlibSetSystemFileCacheSize function

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 WINAPI AuxUlibSetSystemFileCacheSize(
  _In_ SIZE_T dwMinimumFileCacheSize,
  _In_ SIZE_T dwMaximumFileCacheSize,
  _In_ DWORD  dwFlags
);

Parameters

dwMinimumFileCacheSize [in]

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

dwMaximumFileCacheSize [in]

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

dwFlags [in]

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.

The object library that implements this API can be downloaded from here.

Requirements

Redistributable

Windows Auxiliary API library version 1.0 or later

Header

Aux_ulib.h

Library

Aux_ulib.lib

See also

AuxUlibInitialize

 

 

Show: