I am trying to retrieve the Battery_Infomation structure. It turns out this is a structure within the Battery_Query_Information structure.
I know that I need to use the IOCTL_Battery_Query_Tag on the DeviceIoControl function but I am having trouble finishing the code. Mainly, I am not sure how to pass the array within the array back.... I don't need the larger Battery_Query_Information structure....
http://msdn.microsoft.com/en-us/library/aa372700(v=VS.85).aspx ---> IOCTL_Battery_Quer