include vmm.inc
VMMCall _Free_GDT_Selector, <Selector, flags>
or eax, eax ; nonzero if freed, zero if error
jz not_freed
Frees a GDT selector previously allocated using the _Allocate_GDT_Selector service. Uses EAX, ECX, EDX, and Flags.
Certain system selectors cannot be freed since they are required for Windows operation. (Remember, free only those selectors created by calling _Allocate_GDT_Selector.) This service ignores the RPL bits of the selector.
_Allocate_GDT_Selector, _Free_LDT_Selector