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
34 lines
1.1 KiB
// CSetSystemLocal.h: Definition of the SetSystemLocal class
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_CSETSYSTEMLOCAL_H__4E8493EC_93BD_48EA_8CD5_A469C1937D7F__INCLUDED_)
|
|
#define AFX_CSETSYSTEMLOCAL_H__4E8493EC_93BD_48EA_8CD5_A469C1937D7F__INCLUDED_
|
|
|
|
#pragma once
|
|
|
|
#include "resource.h" // main symbols
|
|
|
|
class ATL_NO_VTABLE SetSystemLocale :
|
|
public CComObjectRootEx<CComSingleThreadModel>,
|
|
public IDispatchImpl<ISetSystemLocale, &IID_ISetSystemLocale, &LIBID_SETSYSTEMLOCALLib>,
|
|
public CComCoClass<SetSystemLocale,&CLSID_SetSystemLocale>
|
|
{
|
|
public:
|
|
SetSystemLocale() {}
|
|
BEGIN_COM_MAP(SetSystemLocale)
|
|
COM_INTERFACE_ENTRY(IDispatch)
|
|
COM_INTERFACE_ENTRY(ISetSystemLocale)
|
|
END_COM_MAP()
|
|
|
|
DECLARE_REGISTRY_RESOURCEID(IDR_SetSystemLocale)
|
|
|
|
// ISetSystemLocal
|
|
public:
|
|
STDMETHOD(SetLocale)(/*[in]*/ BSTR LocalID);
|
|
|
|
private:
|
|
void SetMUILangauge(/*[in]*/ BSTR LocalID);
|
|
};
|
|
|
|
#endif // !defined(AFX_CSETSYSTEMLOCAL_H__4E8493EC_93BD_48EA_8CD5_A469C1937D7F__INCLUDED_)
|