Skip to content

Latest commit

 

History

History
80 lines (62 loc) · 3.03 KB

nf-dcomp-idcompositionrectangleclip-setright(float).md

File metadata and controls

80 lines (62 loc) · 3.03 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:dcomp.IDCompositionRectangleClip.SetRight(float)
IDCompositionRectangleClip::SetRight (dcomp.h)
Changes the value of the Right property of a clip rectangle.
IDCompositionRectangleClip interface [DirectComposition]
SetRight method
IDCompositionRectangleClip.SetRight
IDCompositionRectangleClip::SetRight
IDCompositionRectangleClip::SetRight(float)
SetRight
SetRight method [DirectComposition]
SetRight method [DirectComposition]
IDCompositionRectangleClip interface
dcomp/IDCompositionRectangleClip::SetRight
directcomp.idcompositionrectangleclip_setright_float
directcomp\idcompositionrectangleclip_setright_float.htm
directcomp
FB27BB00-239A-42A8-86D3-C78E2E8E820B
12/05/2018
IDCompositionRectangleClip interface [DirectComposition],SetRight method, IDCompositionRectangleClip.SetRight, IDCompositionRectangleClip::SetRight, IDCompositionRectangleClip::SetRight(float), SetRight, SetRight method [DirectComposition], SetRight method [DirectComposition],IDCompositionRectangleClip interface, dcomp/IDCompositionRectangleClip::SetRight, directcomp.idcompositionrectangleclip_setright_float
dcomp.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Dcomp.lib
Dcomp.dll
Windows
19H1
IDCompositionRectangleClip::SetRight
dcomp/IDCompositionRectangleClip::SetRight
c++
APIRef
kbSyntax
COM
Dcomp.dll
IDCompositionRectangleClip.SetRight

IDCompositionRectangleClip::SetRight

-description

Changes the value of the Right property of a clip rectangle. The Right property specifies the x-coordinate of the lower-right corner of the clip rectangle.

-parameters

-param right [in]

Type: float

The new value of the Right property, in pixels. This parameter has a numerical limit of -2^21 to 2^21. The API accepts numbers outside of this range, but they are always clamped to this range.

-returns

Type: HRESULT

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See DirectComposition Error Codes for a list of error codes.

-remarks

This method fails if the right parameter is NaN, positive infinity, or negative infinity.

If the Right property was previously animated, this method removes the animation and sets the Right property to the specified static value.

-see-also

IDCompositionRectangleClip