123456789101112131415161718192021222324 |
- #ifndef __WMI_DEVICE_QUERY_H
- #define __WMI_DEVICE_QUERY_H
- #include <windows.h>
- #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
|