CD3D11_RECT::CD3D11_RECT(LONG,LONG,LONG,LONG) function (d3d11.h)

Instantiates a new instance of a CD3D11_RECT structure that is initialized with the dimensions of a rectangle.

Syntax

void CD3D11_RECT(
  LONG Left,
  LONG Top,
  LONG Right,
  LONG Bottom
);

Parameters

Left

Type: LONG

The x-coordinate of the upper-left corner of the rectangle.

Top

Type: LONG

The y-coordinate of the upper-left corner of the rectangle.

Right

Type: LONG

The x-coordinate of the lower-right corner of the rectangle.

Bottom

Type: LONG

The y-coordinate of the lower-right corner of the rectangle.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h
Library D3D11.lib

See also

CD3D11_RECT