| Previous | Next |
| STATUS_GRAPHICS_INVALID_PIXELFORMAT | STATUS_GRAPHICS_INVALID_PIXELVALUEACCESSMODE |
STATUS_GRAPHICS_INVALID_COLORBASIS
The color-basis attribute is not valid for this display object
STATUS_GRAPHICS_INVALID_COLORBASIS is a Windows NTSTATUS value from the graphics/display facility. It belongs to the WDDM kernel display stack rather than to a Win32 GDI error alone, so the useful context is usually the adapter, VidPN object, child device, present path, or primary allocation involved in the call.
Color-basis metadata describes how color information is represented for a display surface or mode. This status means the color-basis field supplied to the graphics path is not valid for the current mode, pixel format, or D3DKMDT data structure.
The error is a contract mismatch in display metadata. Check whether a caller mixed legacy color fields with a newer format, left an enum uninitialized, or copied attributes from a different primary surface. It is not the same as a gamma-ramp failure, which concerns color correction data.
What to check
- Dump pixel format, color basis, and pixel-value access mode as a single tuple.
- Initialize D3DKMDT structures fully before setting selected fields.
- Do not reuse color metadata from a previous mode if the pixel format changed.
References
Looking for a different code? Search another status or error code.
