|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| kernel32.lib
| Header File
| winbase.h
| Unicode
| No
| Platform Notes
| None
|
|
|
SetHandleCount
The
SetHandleCount function sets the number of file handles available to a process. This
function has no effect under Windows NT and Windows 95, because there is no explicit
file handle limit for applications on these platforms. Under Win32s, there are
only 20 file handles available to a process by default; however you could use
SetHandleCount to allow a process to use up to 255 file handles.
UINT SetHandleCount(
UINT uNumber
| // number of file handles needed
|
);
|
|
Parameters
uNumber
Specifies the number of file handles needed by the application.
Return Values
Under Windows NT and Windows 95, this function simply returns the value
specified in the
uNumber parameter.
Under Win32s, the return value specifies the number of file handles actually
available to the application. It may be fewer than the number specified by the
uNumber parameter.
Remarks
Under Windows NT and Windows 95, the maximum number of files that an
application can open is determined by the amount of available non-paged memory pool,
because each open file handle requires non-paged memory.
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database