lCode (LONG) - input
If the device context is of type OD_QUEUED with a PM_Q_STD spool file, some escapes are sent to the presentation driver and others are recorded in the spool file (depending on the escape code). If the device context is of type OD_METAFILE, all escapes are metafiled. If the device context is of any type other than OD_QUEUED (with a PM_Q_STD spool file) or OD_METAFILE, all escapes are sent to the presentation driver.
The description for each standard escape specifies which of these categories the escape falls into.
Devices can define additional escape functions using user lCode values, that have the following ranges:
32 768 through 40 959
DEVESC_QUERYESCSUPPORT