ACPI access

Hi,
I need to retrive some information about the power state of computer: themperature, fan state and so on. I think that it is possible to do throw ACPI.
I want to connect to ACPI driver and to retrieve data throw _TMP method.
Currently I have some questions:
-How can I found the ACPI driver handle? I tried to use from user application SetupDiGetClassDevs+SetupDiEnumDeviceInterfaces+SetupDiGetDeviceInterfaceDetail but the retrieved device name is empty although function return was true (used GUID is4afa3d51L-74a7-11d0-Be5e-00a0c9062857).
-May be there is another method to retrieve this information?
[718 byte] By [kBegemot] at [2008-1-28]

Software Development for Windows Vista

Site Classified