18.08.2013 Views

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SAR$ ATREAD<br />

19.1.1.1. Required Information for ATREAD Procedures<br />

The calling program must set the following fields of the ATREAD packet to appropriate<br />

values:<br />

PACKET_VERSION:<br />

PLUS Attribute: 6-bit integer<br />

The ATREAD packet data structure version. The current version is equal to the<br />

constant SAR_ATREAD_PACKET_CURRENT_VERSION defined in the element<br />

SAR$ATRPKTD.<br />

IMAGE_BUFFER_ADDRESS:<br />

PLUS Attribute: word pointer<br />

The address of the image buffer which ATREAD uses to construct images to be<br />

written out and to read input images into.<br />

IMAGE_BUFFER_WORD_LENGTH:<br />

PLUS Attribute: 18-bit integer<br />

The length in words of the image buffer.<br />

OUTPUT_TEXT_BUFFER_ADDRESS:<br />

PLUS Attribute: word pointer<br />

The address of the output text buffer into which the caller places the character text<br />

to be written out.<br />

OUTPUT_TEXT_BUFFER_BYTE_LENGTH:<br />

PLUS Attribute: 18-bit integer<br />

The length in 9-bit bytes of the character text in the text buffer.<br />

OUTPUT_ATTRIBUTE_TABLE_ADDRESS:<br />

PLUS Attribute: word pointer<br />

The address of the output attribute table into which the caller places the attributes<br />

describing the character text to be output. This field is undefined if the<br />

OUTPUT_ATTRIBUTE_TABLE_WORD_LENGTH is zero.<br />

19–2 7833 1733–004

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!