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.
|
|
/*=========================================================================*
| LRC32 - Localized Resource Test Utility | | | | Copyright 1996 by Microsoft Corporation | | KevinGj - January 1996 | | | |=========================================================================| | LangInfo.h : Header for the CLangInfo class | *=========================================================================*/
#ifndef LANGCODE_H
#define LANGCODE_H
#include "windows.h"
class CLangInfo { public: //Constructors
CLangInfo() { m_hMod = LoadLibrary("mlang.dll"); }
~CLangInfo() { if (m_hMod) FreeLibrary(m_hMod); } //Queries
BOOL GetAcceptLanguageString(LCID Locale, char *szAcceptLngStr, int nSize); BOOL GetLocaleStrings(LCID Locale, char *szLocaleStr, int iLen) const;
private: LCID GetPrimaryLanguageInfo(LCID Locale, char *szLocaleStr, int iLen) const; HMODULE m_hMod;
};
#endif // LANGINFO_H
//=======================================================================//
// - EOF - //
//=======================================================================//
|