Share via


IMSVidCtl::put_AutoSize Method

This topic applies to Windows XP or later.
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

  • vbool [in]
    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

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IMSVidCtl::get_AutoSize
IMSVidCtl Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008