summaryrefslogtreecommitdiffstats
path: root/src/libnetdata/os/windows-wmi/windows-wmi.h
blob: 69d7244aa5b2d673dea4c88099ed4851e7c410e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// SPDX-License-Identifier: GPL-3.0-or-later

#ifndef NETDATA_WINDOWS_WMI_H
#define NETDATA_WINDOWS_WMI_H

#include "../../libnetdata.h"

#if defined(OS_WINDOWS)
typedef struct {
    IWbemLocator *pLoc;
    IWbemServices *pSvc;
} ND_WMI;

extern __thread ND_WMI nd_wmi;

HRESULT InitializeWMI(void);
void CleanupWMI(void);

#include "windows-wmi-GetDiskDriveInfo.h"

#endif

#endif //NETDATA_WINDOWS_WMI_H