IDXGIOutput4::CheckOverlayColorSpaceSupport method
Checks for overlay color space support.
Syntax
HRESULT CheckOverlayColorSpaceSupport( [in] DXGI_FORMAT Format, [in] DXGI_COLOR_SPACE_TYPE ColorSpace, [in] IUnknown *pConcernedDevice, [out] UINT *pFlags );
Parameters
- Format [in]
-
Type: DXGI_FORMAT
A DXGI_FORMAT-typed value for the color format.
- ColorSpace [in]
-
Type: DXGI_COLOR_SPACE_TYPE
A DXGI_COLOR_SPACE_TYPE-typed value that specifies color space type to check overlay support for.
- pConcernedDevice [in]
-
Type: IUnknown*
A pointer to the Direct3D device interface. CheckOverlayColorSpaceSupport returns only support info about this scan-out device.
- pFlags [out]
-
Type: UINT*
A pointer to a variable that receives a combination of DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG-typed values that are combined by using a bitwise OR operation. The resulting value specifies options for overlay color space support.
Return value
Type: HRESULT
This method returns S_OK on success, or it returns one of the error codes that are described in the DXGI_ERROR topic.
Requirements
|
Minimum supported client |
Windows 10 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2016 [desktop apps only] |
|
Header |
|
|
Library |
|
See also