hdc (HDC) - input
pptlStart (PPOINTL) - input
prclRect (PRECTL) - input
The clipping rectangle pointed to by this parameter is defined as a RECTL structure:
xLeft
flOptions (ULONG) - input
The following flags can be used in combination:
CHS_OPAQUE
cChars (LONG) - input
pchString (PCH) - input
pAdx (PLONG) - input
Pointer to an array of LONG integers, one element for each character in the string. When CHS_VECTOR is set, this array is used to set the spacing between characters. Each element is the distance in world coordinates from the bottom-left corner of the corresponding character in the string to the bottom-left corner of the next. The distance is measured along the baseline for left-to-right and right-to-left character directions, and along the shear line for top-to-bottom and bottom-to-top character directions. The final element is used to reposition the current position, when necessary.
pAttrs (PCSP_INFO) - input
Pointer to a CSP_INFO structure. This structure contains the attributes to be used to draw the string when the CHS_ATTR_INFO flag is set. These do not alter the current character attributes (see Character Attributes). The CSP_INFO structure is defined as:
cSize
pInstance (PVOID) - input
lFunction (ULONG) - input
rc (LONG) - returns
On completion, the handling routine must return a LONG value (cHits) indicating, where appropriate, whether correlation hits were detected:
GPI_OK
PMERR_BASE_ERROR PMERR_COORDINATE_OVERFLOW
PMERR_DEV_FUNC_NOT _ INSTALLED
PMERR_EXCEEDS_MAX_SEG_LENGTH
PMERR_FONT_AND_MODE_MISMATCH
PMERR_HDC_BUSY
PMERR_HRGN_BUSY
PMERR_HUGE_FONTS_NOT_SUPPORTED
PMERR_INSUFFICIENT_MEMORY
PMERR_INV_HDC
PMERR_INV_IN_AREA
PMERR_INV_LENGTH_OR_COUNT
PMERR_PATH_LIMIT_EXCEEDED