Partager via


IMSVidRect::get_Width method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The get_Width method retrieves the width of the rectangle.

Syntax

HRESULT get_Width(
  [out] LONG *WidthVal
);

Parameters

[out] WidthVal

Pointer to a variable that receives the width, in pixels.

Return value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Calling the IMSVidRect::put_Left method changes the width of the rectangle. For example, if the x-coordinate is zero and the width is 100, setting the x-coordinate to 10 changes the width to 90.

Requirements

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidRect Interface

IMSVidRect::put_Width