Specifies
the attribute.
Possible attribute types are:
ATYPE_COLOR
ATYPE_BACK_COLOR
ATYPE_MIX_MODE
ATYPE_BACK_MIX_MODE
Background mix ATYPE_BACK_COLOR
and ATYPE_BACK_MIX_MODE do not apply to the line bundle.
lAttribute (LONG) - input
flOptions (ULONG) - input
Options
flag.
The only allowable option is:
GATTR_DEFAULT
When set, the attribute indicated
by lAttrType is set to its default value. When this flag is not set, the
attribute is set to the value of lAttribute.
pInstance (PVOID) - input
Pointer
to instance data.
lFunction (ULONG) - input
High-order
WORD=flags; low-order WORD=NGreDeviceSetGlobalAttribute.
rc (BOOL) - returns
Return
Codes.
On completion, the handling routine must return a BOOLEAN value to indicate
success or an error.
TRUE
FALSE
Possible
Errors Detected: When an error is detected, the handling routine must
call WinSetErrorInfo to post the condition. Error codes for conditions that
the handling routine is expected to check include:
PMERR_DEV_FUNC_NOT_INSTALLED PMERR_INV_BACKGROUND_COL_ATTR
PMERR_INV_BACKGROUND_MIX_ATTR
PMERR_INV_COLOR_ATTR
PMERR_INV_HDC
PMERR_INV_MIX_ATTR
Refer to the "Error Explanations"
section in the Presentation Manager Programming Reference for further
explanation.
[Back: GreDeviceSetGlobalAttribute Return Value - rc]
[Next: GreDeviceSetGlobalAttribute - Remarks]