> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IGameInputDevice::PowerOff (déconseillé)

> IGameInputDevice::PowerOff

# IGameInputDevice::PowerOff

> [!WARNING]
>
> **Obsolète.** Cette méthode a été supprimée dans GameInput v1 et n'est pas disponible dans l'API actuelle.

Commande à l'appareil de s'éteindre.

## Syntaxe

```cpp theme={null}
HRESULT PowerOff();
```

### Valeur de retour

Type : HRESULT

Retourne E\_NOTIMPL, car cette méthode n'a jamais été implémentée dans v0.

## Remarques

Cette méthode a été supprimée dans v1. Aucune méthode équivalente n'existe dans l'API actuelle.

## Historique des versions

| Version | Modifications |
| - | - |
| **v1** | Supprimé. |
| **v0** | Introduit. |

## Voir aussi

[Membres obsolètes de l'API GameInput](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)\
[IGameInputDevice](https://docs.xbox.com/fr/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)


## Related topics

- [IGameInputDevice::SetRawDeviceFeature (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_setrawdevicefeature.md)
- [IGameInputDevice::GetRawDeviceFeature (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getrawdevicefeature.md)
- [IGameInputDevice::SendInputSynchronizationHint (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_sendinputsynchronizationhint.md)
- [IGameInputDevice::SetInputSynchronizationState (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_setinputsynchronizationstate.md)
- [IGameInputDevice::GetBatteryState (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getbatterystate.md)
