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.
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.
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.
Certain system selectors cannot be freed since they are required for Windows operation. This service ignores the RPL bits of the selector.
EAX