SetDeskCPat
This function obtains a PixPatHandle to a desktop pixel pattern.
Notes: Not for use by applications, SetDeskCPat assigns the desktop pattern to a particular pixel pattern, including ones with three or more colors.
Redrawing is automatic. The pixel pattern takes on the current foreground
and background colors if deskPixPat is patType = 0--an old-style
two-color or binary pattern. A NIL value for pixPatHandle results in the
standard desktop pattern described by 'ppat' resource =16.
Changes in the desktop's color pattern can be made by SetDeskCPat but are normally made through the Control Panel, which is the only way to change the value of a bit flag called pCDeskPat in parameter RAM.
pCDeskPat, in turn, controls the startup desktop pattern and determines
whether a new pattern (pCDeskPat = 0) or the standard binary pattern
(pCDeskPat = any value except 0) will be used.