You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
425 B
C++
18 lines
425 B
C++
#pragma once
|
|
|
|
#include "framework.h"
|
|
// CMachineInfoDlg ¶Ô»°¿ò
|
|
#define _WIN32_DCOM
|
|
#include <iostream>
|
|
using namespace std;
|
|
#include <comdef.h>
|
|
#include <Wbemidl.h>
|
|
#include <Wincrypt.h>
|
|
|
|
#pragma comment(lib, "wbemuuid.lib")
|
|
|
|
extern "C" __declspec(dllexport)
|
|
bool CreateMachineCode(LPCWSTR* classNames, LPCWSTR* propertyNames, int count, BSTR* pbResult);
|
|
|
|
extern "C" __declspec(dllexport)
|
|
bool GetMachineInfo(BSTR* pbResult); |