Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
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.
See Also