SetHandleCount function (winbase.h)

Changes the number of file handles available to a process. For DOS-based Win32, the default maximum number of file handles available to a process is 20. For Windows Win32 systems, this API has no effect.

Syntax

UINT SetHandleCount(
  UINT uNumber
);

Parameters

uNumber

The requested number of available file handles.

Return value

The number of available file handles.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header winbase.h
DLL kernel32.dll

See also

f1_keywords:

  • "winbase/SetFirmwareEnvironmentVariable"