Simulation support:
None. This function is mandatory for all drivers.
Description:
GreDeviceGetAttributes queries the attribute values currently set in the device.
This function must be supported by the presentation driver.
#define INCL_GRE_DEVMISC1
#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; /* Return Codes. */
rc = GreDeviceGetAttributes(hdc, lPrimType,
flAttrsMask, pAttrs, pInstance, lFunction);