Compartilhar via


IMSVidCtl::put_AutoSize

 
Microsoft DirectShow 9.0

IMSVidCtl::put_AutoSize

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(
  
  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 Values

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

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also