Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.1 KiB

  1. #ifndef HOST_INFO_H_INCLUDED
  2. #define HOST_INFO_H_INCLUDED
  3. // {1D044690-8923-11d0-ABD2-00A0C911E8B2}
  4. const GUID IID_IHostInfoUpdate =
  5. { 0x1d044690, 0x8923, 0x11d0, { 0xab, 0xd2, 0x0, 0xa0, 0xc9, 0x11, 0xe8, 0xb2 } };
  6. enum hostinfo
  7. {
  8. hostinfoLocale = 0,
  9. hostinfoCodePage = 1
  10. };
  11. class IHostInfoUpdate : public IUnknown
  12. {
  13. public:
  14. // *** IUnknown Methods ***
  15. STDMETHOD(QueryInterface)(REFIID riid, void **ppvObj) = 0;
  16. STDMETHOD_(ULONG,AddRef)(void) = 0;
  17. STDMETHOD_(ULONG,Release)(void) = 0;
  18. // *** IHostInfoUpdate Methods ***
  19. STDMETHOD(UpdateInfo)(hostinfo hostinfoNew) = 0;
  20. };
  21. // {F8418AE0-9A5D-11d0-ABD4-00A0C911E8B2}
  22. const GUID IID_IHostInfoProvider =
  23. { 0xf8418ae0, 0x9a5d, 0x11d0, { 0xab, 0xd4, 0x0, 0xa0, 0xc9, 0x11, 0xe8, 0xb2 } };
  24. class IHostInfoProvider : public IUnknown
  25. {
  26. public:
  27. // *** IUnknown Methods ***
  28. STDMETHOD(QueryInterface)(REFIID riid, void **ppvObj) = 0;
  29. STDMETHOD_(ULONG,AddRef)(void) = 0;
  30. STDMETHOD_(ULONG,Release)(void) = 0;
  31. // *** IHostInfoProvider Methods ***
  32. STDMETHOD(GetHostInfo)(hostinfo hostinfoRequest, void * * ppvInfo) = 0;
  33. };
  34. #endif // HOST_INFO_H_INCLUDED