DDERR_NOT8BITCOLOR
Code: 0x88760140 (2289434944)
As HRESULT:- S: 1 (Failure)
- C: 0 (Microsoft-defined)
- N: 0 (Not an NTSTATUS value)
- X: 1 (Reserved, only expected on the TRK exceptions)
- Facility: 0x076 (Unknown facility)
- Code: 0x0140 (320)
- Sev: 2 (STATUS_SEVERITY_WARNING)
- C: 0 (Microsoft-defined)
- Facility: 0x876 (Unknown facility)
- Code: 0x0140 (320)
Documented in Win32
DirectDraw Return Codes (ddraw.h)
The DirectDrawSurface object is not using an 8-bit color palette, and the requested operation requires an 8-bit color palette.