#if ((ST_MAX_HANDLE_COUNT) < 65535UL) typedef UINT16 HANDLE; #else typedef UINT32 HANDLE; #endif
The HANDLE type is used to store handles for system objects. A handle is either a 16-bit or 32-bit positive integer. Its width depends on the maximum number of handles, defined by the ST_MAX_HANDLE_COUNT constant. If the count is less than 65,535, the handle size is 16-bit; otherwise, it is 32-bit.
| Version: | 1.0 |
|---|---|
| Header file: | ST_Handle.h (include ST_API.h) |
| See also: | handle management, ST_MAX_HANDLE_COUNT, stHandleAlloc, stHandleRelease |