Skip to content

Latest commit

 

History

History
64 lines (52 loc) · 1.37 KB

nf-presentation-ipresentationsurface-setcolorspace.md

File metadata and controls

64 lines (52 loc) · 1.37 KB
UID tech.root title ms.date targetos description prerelease req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NF:presentation.IPresentationSurface.SetColorSpace
comp_swapchain
IPresentationSurface::SetColorSpace
06/08/2021
Windows
Sets the type of color space used by the presentation surface.
false
function
dcomp.dll
presentation.h
dcomp.lib
Windows Build 22000
Windows Build 22000
apiref
COM
presentation.h
IPresentationSurface::SetColorSpace
IPresentationSurface::SetColorSpace
presentation/IPresentationSurface::SetColorSpace
c++

-description

Sets the type of color space used by the presentation surface.

-parameters

-param colorSpace

Type: DXGI_COLOR_SPACE_TYPE

The type of color space used by the presentation surface.

-returns

Type: HRESULT

If the function succeeds, it returns S_OK; otherwise, it returns an HRESULT value that indicates the error.

-remarks

-see-also