WMIDeviceQuery.h 379 B

123456789101112131415161718192021222324
  1. #ifndef __WMI_DEVICE_QUERY_H
  2. #define __WMI_DEVICE_QUERY_H
  3. #include <windows.h>
  4. #ifdef __cplusplus
  5. extern "C"
  6. {
  7. #endif
  8. enum WMI_DEVICE_TYPE
  9. {
  10. Processor =0,
  11. BaseBoard,
  12. DiskDrive,
  13. NetworkAdapter,
  14. BIOS,
  15. };
  16. bool QueryWMIDevice(WMI_DEVICE_TYPE eDevType, const char *szPropName, char *pValBuf, int *pBufLen);
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif // !__WMI_DEVICE_QUERY_H