_Free_LDT_Selector

include vmm.inc

VMMcall _Free_LDT_Selector, <VM, Selector, flags>


The _Free_LDT_Selector service frees a LDT selector previously allocated using the _Allocate_LDT_Selector service.

Parameters

VM

Specifies a handle identifying the virtual machine to which the selector belongs.

Selector

Specifies the selector to free. This parameter must have been previously created using the _Allocate_LDT_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 or an invalid virtual machine handle.

Comments

This service ignores the RPL bits of the selector.

Uses

EAX

See Also

_Allocate_LDT_Selector, _Free_GDT_Selector