Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
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