Description
GreGetDefaultAttributes returns the default values 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;
PVOID pInstance; /* Pointer to instance data. */
ULONG lFunction;
BOOL rc;
rc = GreGetDefaultAttributes(hdc, lPrimType,
flAttrsMask, pAttrs, pInstance, lFunction);