I am trying to get the type of battery in my computer using c++ on windows using this api http://msdn.microsoft.com/en-us/library/windows/desktop/aa372661%28v=vs.85%29.aspx with the chemistry string but i couldn't get it to work, so if someone could please post a code snippet with this working i would be extremely grateful, by the way im a beginner in c++ i am doing this for a java jni project so please don't do anything like telling me what to do without code because i probably wont understand it.
↧