WMIDeviceQuery.h 436 B

1234567891011121314151617181920212223242526
  1. #ifndef RVC_MOD_UPGRADE_RUN_DEVICE_QUERY_H_
  2. #define RVC_MOD_UPGRADE_RUN_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. PatchList,
  16. };
  17. bool QueryWMIDevice(WMI_DEVICE_TYPE eDevType, const char *szPropName, char *pValBuf, int *pBufLen);
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif //RVC_MOD_UPGRADE_RUN_DEVICE_QUERY_H_