Re: BatClass.h



I seriously doubt you are getting "all kinds of errors". I strongly suspect you are
getting very specific error messages. Without seeing them, there is no way to guess what
might be wrong. Otherwise, your question is unanswerable.
joe

On 8 Dec 2006 16:08:40 -0800, "HK" <HKahwaji@xxxxxxxxxxxxxx> wrote:

Hi all,

I am experimenting in IOCTL_BATTERY_QUERY_INFORMATION to get more
detailed infromation about the battery and I was able to get good
information from MSDN.

1. My application has enumerated all devices that has battery class 2.
Created the handle after aquiring the name of the battery 3. Use
IOCTL_Battery_Query_tag to get the tag value and use that in
IOCTL_BATTERY_QUERY_INFORMATION

However I am looking at MSDN information and its says to include
BatClass.h. Unfortunately, when I do so I am getting all kinds of
errors within BatClass.h. Errors include syntax errors as well.

Any suggestions or ideas are appreciated

I am including <windows.h>
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: computers review
    ... Jesus wrote: ... As far as I know Steve has not has not been able to say what error messages ... and the battery dying like that suddenly by itself doesn't make sense. ... I do not believe an OS problem could make a battery act the way Steve ...
    (comp.sys.mac.advocacy)
  • Re: Jeckyll & Hyde
    ... CPU have SpeedStep Technology? ... When it is slow are you on battery? ... And no error messages. ... Running Norton systemworks 2005, so ...
    (microsoft.public.windowsxp.security_admin)
  • printer stopped working
    ... error messages occur either. ... microcode dm_mod video button battery ac md5 ipv6 uhci_hcd ehci_hcd ...
    (Fedora)
  • Re: Battery problems
    ... battery cannot be identified. ... Press two times to enter setup. ... any error messages. ... What can I do to stop this message appearing everytime I use my laptop? ...
    (microsoft.public.windows.vista.performance_maintenance)
  • Re: help....new laptop
    ... Whether you call Dell or ask Usenet, what are the error messages? ... triple sure your battery is charged. ... at most) and now stopped working, I dont think the hardrive is firing up. ...
    (comp.sys.laptops)

Loading