-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathTypes.hpp
35 lines (27 loc) · 907 Bytes
/
Types.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
////////////////////////////////////////////////////////////////////////////////
//! \file Types.hpp
//! \brief Common typedefs.
//! \author Chris Oldwood
// Check for previous inclusion
#ifndef WMI_TYPES_HPP
#define WMI_TYPES_HPP
#if _MSC_VER > 1000
#pragma once
#endif
#include <WCL/ComPtr.hpp>
#include <wbemidl.h>
namespace WMI
{
////////////////////////////////////////////////////////////////////////////////
// The reference counted smart-pointer types for the WMI COM interfaces.
//! The WMI Locator COM interface.
typedef WCL::ComPtr<IWbemLocator> IWbemLocatorPtr;
//! The WMI Connection COM interface.
typedef WCL::ComPtr<IWbemServices> IWbemServicesPtr;
//! The underlying WMI iterator type.
typedef WCL::ComPtr<IEnumWbemClassObject> IEnumWbemClassObjectPtr;
//! The WMI object type.
typedef WCL::ComPtr<IWbemClassObject> IWbemClassObjectPtr;
//namespace WMI
}
#endif // WMI_TYPES_HPP