For the purposes of this query, presentation
parameters are not inherited from the owners of the window specified by
hwnd. If not specified (default), presentation parameters are inherited.
QPF_ID1COLORINDEX
idAttrType1
refers to a color index presentation parameter attribute, the value
of which, if found, is to be converted to RGB before being passed back in
pAttrValue.
QPF_ID2COLORINDEX
idAttrType2
refers to a color index presentation parameter attribute, the value
of which, if found, is to be converted to RGB before being passed back in
pAttrValue.
QPF_PURERGBCOLOR
Specifies
that either or both of idAttrType1 and idAttrType2 reference
RGB color, and that these colors must be pure. This is necessary when specifying
text foreground and background colors. This is applied after QPF_ID1COLORINDEX
and QPF_ID2COLORINDEX.