#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.
lpDevice
Points to a PDEVICE structure specifying the destination device.
lpEscNum
Points to a 16-bit variable specifying the escape function to be checked.
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.