共用方式為


IMSVidCtl::put_Enabled

 
Microsoft DirectShow 9.0

IMSVidCtl::put_Enabled

This topic applies to Windows XP or later.

The put_Enabled method specifies a value that determines whether the Video Control can respond to user-generated events.

Syntax

  HRESULT put_Enabled(
  
  VARIANT_BOOL
  
  vbool
  
  );

Parameters

  vbool

[in]  Specifies the new value of the property.

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