#ifndef __WMI_DEVICE_QUERY_H #define __WMI_DEVICE_QUERY_H #include #ifdef __cplusplus extern "C" { #endif enum WMI_DEVICE_TYPE { Processor =0, BaseBoard, DiskDrive, NetworkAdapter, BIOS, }; bool QueryWMIDevice(WMI_DEVICE_TYPE eDevType, const char *szPropName, char *pValBuf, int *pBufLen); #ifdef __cplusplus } #endif #endif // !__WMI_DEVICE_QUERY_H