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.

34 lines
1.1 KiB

  1. // CSetSystemLocal.h: Definition of the SetSystemLocal class
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_CSETSYSTEMLOCAL_H__4E8493EC_93BD_48EA_8CD5_A469C1937D7F__INCLUDED_)
  5. #define AFX_CSETSYSTEMLOCAL_H__4E8493EC_93BD_48EA_8CD5_A469C1937D7F__INCLUDED_
  6. #pragma once
  7. #include "resource.h" // main symbols
  8. class ATL_NO_VTABLE SetSystemLocale :
  9. public CComObjectRootEx<CComSingleThreadModel>,
  10. public IDispatchImpl<ISetSystemLocale, &IID_ISetSystemLocale, &LIBID_SETSYSTEMLOCALLib>,
  11. public CComCoClass<SetSystemLocale,&CLSID_SetSystemLocale>
  12. {
  13. public:
  14. SetSystemLocale() {}
  15. BEGIN_COM_MAP(SetSystemLocale)
  16. COM_INTERFACE_ENTRY(IDispatch)
  17. COM_INTERFACE_ENTRY(ISetSystemLocale)
  18. END_COM_MAP()
  19. DECLARE_REGISTRY_RESOURCEID(IDR_SetSystemLocale)
  20. // ISetSystemLocal
  21. public:
  22. STDMETHOD(SetLocale)(/*[in]*/ BSTR LocalID);
  23. private:
  24. void SetMUILangauge(/*[in]*/ BSTR LocalID);
  25. };
  26. #endif // !defined(AFX_CSETSYSTEMLOCAL_H__4E8493EC_93BD_48EA_8CD5_A469C1937D7F__INCLUDED_)