NTSTATUS KeI386AllocateGdtSelectors( OUT PUSHORT SelectorArray, IN USHORT NumberOfSelectors ); Routine Description: This function allocates a set of GDT selectors for a device driver to use. Usually this allocation is performed at device driver initialization time to reserve the selectors for later use. Arguments: SelectorArray - Supplies a pointer to an array of USHORT to be filled in with the GDT selectors allocated. NumberOfSelectors - Specifies the number of selectors to be allocated. Return Value: STATUS_SUCCESS - If the requested selectors are allocated. STATUS_ABIOS_SELECTOR_NOT_AVAILABLE - if system can not allocate the number of selectors requested.