Simulation support:
None. This function is mandatory for all drivers.
Description:
GreDeviceSetGlobalAttribute sets the individual primitive attributes to the specified value in the line, area, character, image, and marker bundles.
This function must be supported by the presentation driver.
#define INCL_GRE_DEVMISC1 #include <os2.h> HDC hdc; /* Device context handle. */ LONG lAttrType; /* Specifies the attribute. */ LONG lAttribute; /* New attribute value. */ ULONG flOptions; /* Options flag. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; BOOL rc; /* Return Codes. */ rc = GreDeviceSetGlobalAttribute(hdc, lAttrType, lAttribute, flOptions, pInstance, lFunction);