WORD SetAttribute(lpDestDev, wStateNum, wIndex, wAttribute) | |||
LPPDEVICE lpDestDev; | |||
WORD wStateNum; | |||
WORD wIndex; | |||
WORD wAttribute; |
The SetAttribute function sets an attribute for a specified device state. GDI does not currently call the SetAttribute function.
A graphics driver must export a SetAttribute function if the RC_GDI20_OUTPUT value is set in the dpRaster member of the GDIINFO structure.
lpDestDev
Points to a PDEVICE or PBITMAP structure specifying the destination device or bitmap.
wStateNum
Specifies the device state.
wIndex
Specifies which attribute to set.
wAttribute
Specifies the attribute value.
The return value is zero.
The export ordinal of this function is 18.
Although GDI does not currently call the SetAttribute function, the function should always return zero, but carry out no other function.