IMSVidDevice::put_Power method

The put_Power method turns the device on or off.

Syntax


HRESULT put_Power(
  [in]  VARIANT_BOOL Power
);

Parameters

Power [in]

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

Value Description
VARIANT_TRUETurn the device on.
VARIANT_FALSETurn the device off.

 

Return value

Returns an HRESULT value. Possible values include the following.

Return codeDescription
S_OK

Success.

E_NOTIMPL

Not implemented.

 

Remarks

Not all device types implement this method.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

None supported [desktop apps only]

Header

Segment.h (include Msvidctl.h)

IDL

Segment.idl

See also

IMSVidDevice::get_Power
IMSVidDevice Interface

 

 

Send comments about this topic to Microsoft

Build date: 10/27/2012

Community Additions

ADD
Show: