The value of ST_MAX_HANDLE_COUNT determines the maximal number of handles that can be allocated. This constant must be greater than 0. According to the specified value, handle management module uses a memory of size which is a multiple of the given value and size of PVOID type.

The size of the HANDLE type is either 16 or 32-bits and depends on the maximal number of handles. When it is less than 65535, the HANDLE type size is 16-bit, otherwise 32-bit.

See also: HANDLE, handle management
SpaceShadow documentation