Skip to main content

IGameInputDevice::GetBatteryState

Deprecated. This method was removed in GameInput v1 and is not available in the current API.
Gets the current battery state of the device.

Syntax

Parameters

state   _Out_
Type: GameInputBatteryState*
A pointer to a GameInputBatteryState structure to fill with the current battery state.

Return value

Type: HRESULT Returns E_NOTIMPL, as this method was never implemented in v0.

Remarks

This method was removed in v1. Battery state information was provided via the GameInputBatteryState structure, which was also removed. No direct battery state query exists in the current API.

Version History

See also

Deprecated GameInput API members
GameInputBatteryState
IGameInputDevice
Last modified on August 4, 2026