1234567891011121314151617181920212223242526 |
- #ifndef RVC_MOD_UPGRADE_RUN_DEVICE_QUERY_H_
- #define RVC_MOD_UPGRADE_RUN_DEVICE_QUERY_H_
- #include <windows.h>
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- enum WMI_DEVICE_TYPE
- {
- Processor =0,
- BaseBoard,
- DiskDrive,
- NetworkAdapter,
- BIOS,
- PatchList,
- };
- bool QueryWMIDevice(WMI_DEVICE_TYPE eDevType, const char *szPropName, char *pValBuf, int *pBufLen);
- #ifdef __cplusplus
- }
- #endif
- #endif //RVC_MOD_UPGRADE_RUN_DEVICE_QUERY_H_
|