Description
GreSetAttributes sets the attributes for the specified primitive type according to the flags set in flDefsMask and flAttrsMask.
This function is supported by the graphics engine.
#define INCL_GRE_DEVSUPPORT
#include <os2.h>
HDC hdc; /* Device context handle. */
LONG lPrimType; /* Bundle primitive type. */
ULONG flDefsMask; /* Flags indicating the attributes to be set to default. */
ULONG flAttrsMask; /* Flags indicating the attributes to be modified. */
PBUNDLE pAttrs; /* Pointer. */
PVOID pInstance; /* Pointer to instance data. */
ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreSetAttributes. */
BOOL rc; /* Return codes. */
rc = GreSetAttributes(hdc, lPrimType, flDefsMask,
flAttrsMask, pAttrs, pInstance, lFunction);