Description
This function returns the current value of the attributes indicated in 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 flAttrsMask; /* Attribute mask. */
PBUNDLE pAttrs; /* The returned attribute value (bundle). */
PVOID pInstance; /* Pointer to instance data. */
ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreGetAttributes. */
LONG rc;
rc = GreGetAttributes(hdc, lPrimType, flAttrsMask,
pAttrs, pInstance, lFunction);