Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_Free_GDT_Selector
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
VMMcall _Free_GDT_Selector, <Selector, flags>
 
or      eax, eax            ; nonzero if freed, zero if error
jz      not_freed
 
The _Free_GDT_Selector service frees a GDT selector previously allocated
using the Allocate_GDT_Selector service.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
Selector   Specifies the selector to free. This parameter must have been
           previously created using the Allocate_GDT_Selector service.
 
flags      Specifies the operation flags. This parameter must be set to 0.
 
Return Value
 
The EAX register contains a nonzero value if the service is successful.
Otherwise, EAX contains zero to indicate an error such as an invalid
selector.
 
Comments
 
Certain system selectors cannot be freed since they are required for Windows
operation. This service ignores the RPL bits of the selector.
 
Uses
 
EAX
 
See Also
 
_Allocate_GDT_Selector, _Free_LDT_Selector