XInputGetBatteryInformation function xinput
int
XInputGetBatteryInformation(
- int dwUserIndex,
- int devType,
- Pointer<
XINPUT_BATTERY_INFORMATION> pBatteryInformation
Retrieves the battery type and charge status of a wireless controller.
DWORD XInputGetBatteryInformation(
[in] DWORD dwUserIndex,
[in] BYTE devType,
[out] XINPUT_BATTERY_INFORMATION *pBatteryInformation
);
Implementation
int XInputGetBatteryInformation(int dwUserIndex, int devType,
Pointer<XINPUT_BATTERY_INFORMATION> pBatteryInformation) =>
_XInputGetBatteryInformation(dwUserIndex, devType, pBatteryInformation);