## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreCharStr - Parameters

hdc (HDC) - input The device context handle.

pVioPS (VioPresentationSpace *) - input A pointer to the Vio presentation space.

pCharRect (LPGridRectRef) - input A pointer to parameter block. This is a GridStringRef structure:

StartRow The starting row (relative to the bottom left of the LVB) of the character rectangle to be drawn

StartCol The starting column (relative to the bottom left of the LVB) of the character rectangle to be drawn

StringLength Number of characters to be written

pInstance (PVOID) - input A pointer to instance data.

lFunction (ULONG) - input High-order WORD=flags; low-order WORD=NGreCharStr .

rc (LONG) - returns Return codes.

This function returns a LONG value as an error indicator.

NO_ERROR Successful.
GRE_INVALID_COLUMN_INDEX Invalid column index.
CE_INVALID_PRESENTATION_SPACE Error. For example, this message might be returned as a result of an invalid CellByteSize.
CE_INVALID_ROW_INDEX Invalid row index.
GRE_NEGATIVE_LENGTH Negative length.