IMSVidDevice::get_Power Method
This topic applies to Windows XP or later.
The get_Power method queries whether the device is off or on.
Syntax
HRESULT get_Power(
[out] VARIANT_BOOL *pPower
);
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 Value
Returns an HRESULT value. Possible values include the following.
Return code | Description |
---|---|
S_OK |
Success. |
E_NOTIMPL |
Not implemented. |
E_POINTER |
NULL pointer argument. |
Remarks
Not all device types implement this method.
Requirements
Header | Declared in Dshow.h. |
DLL | Requires Quartz.dll. |
See Also
IMSVidDevice Interface
IMSVidDevice::put_Power
Send comments about this topic to Microsoft
Build date: 12/4/2008