Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; 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.
QUERYESCSUPPORT
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define QUERYESCSUPPORT 8 
short Control(lpDevice, QUERYESCSUPPORT, lpEscNum, NULL)
LPPDEVICE lpDevice;
LPINT lpEscNum;
 
The QUERYESCSUPPORT escape determines if a particular escape is implemented
by the device driver.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
 
lpDevice   Points to a PDEVICE structure specifying the destination device.
 
lpEscNum   Points to a 16-bit variable specifying the escape function to be
           checked.
 
Return Value
 
The return value is nonzero for implemented escapes. Otherwise, it is zero
for unimplemented escapes. All device drivers must return success if queried
about whether they support the QUERYESCSUPPORT escape.
 
See Also
 
PDEVICE