c++ - WinAPI equivalent of Win32_ComputerSystem.PCSystemType -


my app needs check if computer laptop, find accessing property through wmi hard , slow, there win32 equivalent? i've searched on getsystempowerstatus isn't 'foolproof' workstation may have battery, accessing wmi worked me i'm porting app c# , c++ isn't friendly wmi.

is there win32 api can use? or property takes guess battery api's?


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -