1 /**
2  * This file has no copyright assigned and is placed in the Public Domain.
3  * This file is part of the mingw-w64 runtime package.
4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5  */
6 #ifndef HOST_INFO_H_INCLUDED
7 #define HOST_INFO_H_INCLUDED
8 
9 const GUID IID_IHostInfoUpdate = { 0x1d044690,0x8923,0x11d0,{ 0xab,0xd2,0x0,0xa0,0xc9,0x11,0xe8,0xb2 } };
10 
11 enum hostinfo {
12   hostinfoLocale = 0,hostinfoCodePage = 1,hostinfoErrorLocale = 2
13 };
14 
15 #ifdef __cplusplus
16 class IHostInfoUpdate : public IUnknown {
17 public:
18   STDMETHOD(QueryInterface)(REFIID riid,void **ppvObj) = 0;
19   STDMETHOD_(ULONG,AddRef)(void) = 0;
20   STDMETHOD_(ULONG,Release)(void) = 0;
21   STDMETHOD(UpdateInfo)(hostinfo hostinfoNew) = 0;
22 };
23 #endif /* __cplusplus */
24 
25 const GUID IID_IHostInfoProvider = { 0xf8418ae0,0x9a5d,0x11d0,{ 0xab,0xd4,0x0,0xa0,0xc9,0x11,0xe8,0xb2 } };
26 
27 #ifdef __cplusplus
28 class IHostInfoProvider : public IUnknown {
29 public:
30   STDMETHOD(QueryInterface)(REFIID riid,void **ppvObj) = 0;
31   STDMETHOD_(ULONG,AddRef)(void) = 0;
32   STDMETHOD_(ULONG,Release)(void) = 0;
33   STDMETHOD(GetHostInfo)(hostinfo hostinfoRequest,void **ppvInfo) = 0;
34 };
35 #endif /* __cplusplus */
36 
37 #endif
38