IMSVidDevice::get_Power

 
Microsoft DirectShow 9.0

IMSVidDevice::get_Power

This topic applies to Windows XP or later.

The get_Power method queries whether the device is off or on.

Syntax

  HRESULT get_Power(
  
  VARIANT_BOOL*
  
  Power
  
  );

Parameters

  pPower

[out] Pointer to a variable that receives one of the following values.

Value Description
VARIANT_TRUE The device is on.
VARIANT_FALSE The device is off.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
E_NOTIMPL Not implemented.
E_POINTER NULL pointer argument.

Remarks

Not all device types implement this method.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also