## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreGetDefaultAttributes Return Value - rc

rc (BOOL) - returns This function returns the default attribute bit mask. Only bits with corresponding set bits in flAttrsMask are updated. Otherwise , this function returns the error, ATTRS_ERROR.

Possible Errors Detected: When an error is detected, the graphics engine calls WinSetErrorInfo to post the condition. Reasons for failure of this function include:

PMERR_HDC_BUSY
PMERR_INV_HDC

Refer to the "Error Explanations" section of the Presentation Manager Programming Reference for further explanation.