IMSVidDevice::put_Power

 
Microsoft DirectShow 9.0

IMSVidDevice::put_Power

This topic applies to Windows XP or later.

The put_Power method turns the device on or off.

Syntax

  HRESULT put_Power(
  
  VARIANT_BOOL
  
  Power
  
  );

Parameters

  Power

[in]  Specifies whether to turn the power on or off. Use one of the following values.

Value Description
VARIANT_TRUE Turn the device on.
VARIANT_FALSE Turn the device off.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
E_NOTIMPL Not implemented.

Remarks

Not all device types implement this method.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also