An attempt to
realize a palette failed because no palette was previously selected into
the Presentation Space.
PMERR_INVALID_HWND (0x1001)
An invalid window handle was specified.
PMERR_INV_HDC
(0x207C)
An invalid device-context handle or (micro
presentation space) presentation-space handle was specified.
PMERR_HDC_BUSY
(0x2033)
An internal device context busy error was
detected. The device context was locked by one thread during an attempt
to access it from another thread.
PMERR_INV_IN_AREA
(0x2085)
An attempt was made to issue a function
invalid inside an area bracket. This can be detected while the actual drawing
mode is draw or draw-and-retain or during segment drawing
or correlation functions.