SplQueryDevice - Remarks

If ulLevel is 0, the port name in pBuf is truncated to 8 characters.

If ulLevel is 3, and pBuf cannot hold the entire PRDINFO3 structure, SplQueryDevice returns NERR_BufTooSmall (2123).

To obtain the size of buffer required, call SplQueryDevice with the required value of ulLevel and a NULL buffer. The number of bytes required is returned in pcbNeeded.

If no job is printing on the print device, bits 2-11 of fsStatus in the PRDINFO3 data structure are meaningless.


[Back: SplQueryDevice - Parameters]
[Next: SplQueryDevice - Related Functions]