开发者

QT widget for on WindowsXP

开发者 https://www.devze.com 2022-12-27 15:36 出处:网络
I need to create a widget which shows battery status(in percentage) inside my qt application. Can anybody suggest me how to get the winXP api to know the battery status. Then as the api will return th

I need to create a widget which shows battery status(in percentage) inside my qt application. Can anybody suggest me how to get the winXP api to know the battery status. Then as the api will return the percentage I will d开发者_StackOverflowisplay on my widget....


I think this is the function you want.

http://msdn.microsoft.com/en-us/library/aa372693%28v=VS.85%29.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消