hdc (HDC) - input
lAttrType (LONG) - input
Specifies
the attribute type.
Attribute types:
ATYPE_COLOR
ATYPE_BACK_COLOR
ATYPE_MIX_MODE
ATYPE_BACK_MIX_MODE
Note:
ATYPE_BACK_COLOR and ATYPE_BACK_MIX_MODE do not apply to the line bundle.
lAttribute (LONG) - input
flOptions (ULONG) - input
The
only allowable option flag is GATTR_DEFAULT, which specifies that the attribute
indicated by lAttrType should be set to its default value. If the GATTR_DEFAULT
flag is not set, the function sets the attribute to the value specified
by lAttribute.
pInstance (PVOID) - input
Pointer
to instance data.
lFunction (ULONG) - input
High-order
WORD=flags; low-order WORD=NGreSetGlobalAttribute.
fSuccess (BOOL) - returns
Return
codes.
On completion, the handling routine must return BOOLEAN (fSuccess).
TRUE
FALSE
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_DEV_FUNC_NOT_INSTALLED PMERR_HDC_BUSY
PMERR_INV_BACKGROUND_COL_ATTR
PMERR_INV_BACKGROUND_MIX_ATTR
PMERR_INV_COLOR_ATTR
PMERR_INV_HDC
PMERR_INV_IN_AREA
PMERR_INV_MIX_ATTR
PMERR_INV_RESET_OPTIONS
Refer to the "Error Explanations"
section of the Presentation Manager Programming Reference for further
explanation.
[Back: GreSetGlobalAttribute Return Value - fSuccess]
[Next: GreSetGlobalAttribute - Remarks]