## Presentation Device Driver Reference for OS/2

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

### GreAreaSetAttributes - Parameters

hdc (HDC) - input Device context handle.

lPrimType (LONG) - input Bundle primitive type.

PRIM_LINE Line attribute bundle
PRIM_CHAR Character attribute bundle
PRIM_MARKER Marker attribute bundle
PRIM_AREA Pattern attribute bundle
PRIM_IMAGE Image attribute bundle

flDefsMask (ULONG) - input Flags attributes for default.

Flags indicating which attributes are to be set to default.

flAttrsMask (ULONG) - input Flags attributes for modification.

Flags indicating which attributes are to be modified.

pAttrs (PBUNDLE) - input Pointer to fixed-format record bundle.

This is a pointer to the fixed-format bundle record containing the attribute values to be set as specified by flAttrsMask. Only the attribute fields corresponding to attribute flags set in flAttrsMask, and not set in flDefsMask, contain valid values. This buffer must only be large enough to contain data for the highest offset attribute referenced.

pInstance (PVOID) - input Pointer to instance data.

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

fSuccess (BOOL) - returns This function returns BOOLEAN (fSuccess).

TRUE Successful
FALSE Error