source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/hostinfo.h@ 1167

Last change on this file since 1167 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.2 KB
RevLine 
[1166]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
9const GUID IID_IHostInfoUpdate = { 0x1d044690,0x8923,0x11d0,{ 0xab,0xd2,0x0,0xa0,0xc9,0x11,0xe8,0xb2 } };
10
11enum hostinfo {
12 hostinfoLocale = 0,hostinfoCodePage = 1,hostinfoErrorLocale = 2
13};
14
15#ifdef __cplusplus
16class IHostInfoUpdate : public IUnknown {
17public:
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
25const GUID IID_IHostInfoProvider = { 0xf8418ae0,0x9a5d,0x11d0,{ 0xab,0xd4,0x0,0xa0,0xc9,0x11,0xe8,0xb2 } };
26
27#ifdef __cplusplus
28class IHostInfoProvider : public IUnknown {
29public:
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
Note: See TracBrowser for help on using the repository browser.