ioctl12.hlp (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.
SCR_DEALLOCLDT (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_DOSDEVIOCTL
 
USHORT DosDevIOCtl(0L, psel, 0x0071, 0x0003, hDevice)
PSEL psel;        /* pointer to LDT selector */
HFILE hDevice;    /* device handle           */
 
The SCR_DEALLOCLDT function deallocates a logical descriptor table (LDT)
selector previously allocated by the SCR_ALLOCLDT or SCR_ALLOCLDTOFF
function.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
psel       Points to the logical descriptor table selector to be
           deallocated.
 
hDevice    Identifies the screen device that receives the device-control
           function. This handle must have been created previously by using
           the DosOpen function.
 
Return Value
 
The return value is zero if the function is successful or the error value
ERROR_I24_INVALID_PARAMETER if an error occurs.
 
See Also
 
SCR_ALLOCLDT, SCR_ALLOCLDTOFF