The descriptor will be set to present data type,
with a base and limit of zero.

It is up to the caller to fill in the descriptors.

The privilege level of descriptors will match the
application's code segment privilege level. When
modifying descriptors, always set the DPL to the
same privilege ring as your program's code
segment. Use the lar instruction to determine the
privilege of a descriptor.

Code Sample:

The following function compiles with Watcom C/C++ version 11.0 or later,
and Microsoft Visual C/C++ version 4.0 or later: