private static extern UInt32 XInputGetBatteryInformation(UInt32 dwUserIndex, Byte devType, ref XINPUT_BATTERY_INFORMATION pBatteryInformation);
public UInt32 GetBatteryInformation(UInt32 dwUserIndex, Byte devType, ref XINPUT_BATTERY_INFORMATION pBatteryInformation) { return(XInputGetBatteryInformation(dwUserIndex, devType, ref pBatteryInformation)); }