Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the type of color space used by the presentation surface.
Syntax
HRESULT SetColorSpace(
DXGI_COLOR_SPACE_TYPE colorSpace
);
Parameters
colorSpace
Type: DXGI_COLOR_SPACE_TYPE
The type of color space used by the presentation surface.
Return value
Type: HRESULT
If the function succeeds, it returns S_OK; otherwise, it returns an HRESULT value that indicates the error.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Build 22000 |
| Minimum supported server | Windows Build 22000 |
| Header | presentation.h |
| Library | dcomp.lib |
| DLL | dcomp.dll |