다음을 통해 공유


IMSVidCtl::put_AutoSize method (msvidctl.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 put_AutoSize method specifies whether the Video Control automatically resizes to display its entire contents.

Syntax

HRESULT put_AutoSize(
  [in] VARIANT_BOOL vbool
);

Parameters

[in] vbool

Specifies whether the Video Control automatically resizes. Use one of the following values.

Value Description
VARIANT_TRUE The Video Control automatically resizes.
VARIANT_FALSE The Video Control does not automatically resize.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header msvidctl.h

See also

IMSVidCtl Interface

IMSVidCtl::get_AutoSize