PC_PRINTER_GET_BMP_INFO

Retrieves the width and height of a loaded bitmap.

Syntax:

call "PC_PRINTER_GET_BMP_INFO" using 
                               by reference printer-handle
                               by value bmp-id
                               by reference bmp-width
                               by reference bmp-height
                               returning status-code
end-call

Parameters:

  Using call prototype (see Key) Picture
printer-handle cblt-x4-comp5 pic x(4) comp-5
bmp-id cblt-x4-comp5 pic x(4) comp-5
bmp-width cblt-x4-comp5 pic x(4) comp-5
bmp-height cblt-x4-comp5 pic x(4) comp-5
status-code See Library Routines - Key

On Entry:

printer-handle The printer handle returned when the printer was opened
bmp-id A valid ID returned from PC_PRINTER_LOAD_BMP

On Exit:

bmp-width Width of the loaded bitmap
bmp-height Height of the loaded bitmap
status-code See Printer Handling Routines Return Codes