Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
ENUMPAPERBINS
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define ENUMPAPERBINS 31 
short Control(lpDevice, ENUMPAPERBINS, lpInData, lpOutData)
LPPDEVICE lpDevice;
LPINT lpInData;
LPINT lpOutData;
 
The ENUMPAPERBINS escape retrieves attribute information about a specified
number of paper bins. The GETSETPAPERBINS escape retrieves the number of
bins available on a printer.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
 
lpDevice   Points to a PDEVICE structure specifying the destination device.
 
lpInData   Points to a 16-bit variable that specifies the number of bins for
           which information is to be retrieved.
 
lpOutData  Points to a BINNAMES structure to which information about the
           paper bins is copied. The size of the structure depends on the
           number of bins for which information was requested.
 
Return Value
 
It is 1 if the escape is successful. Otherwise, it is 0 if the escape is not
successful or not implemented.
 
See Also
 
GETSETPAPERBINS, BINNAMES, PDEVICE
 
 
                                      ♦