Implementation of RegisterNLSInfoChanged.
This commit is contained in:
parent
161693e4f9
commit
8ced881592
|
@ -9,6 +9,7 @@ type win16
|
||||||
6 stub LCMAPSTRINGA
|
6 stub LCMAPSTRINGA
|
||||||
7 pascal16 GetStringTypeA(long long str word ptr) GetStringType16
|
7 pascal16 GetStringTypeA(long long str word ptr) GetStringType16
|
||||||
8 pascal16 CompareStringA(long long str word str word) CompareString16
|
8 pascal16 CompareStringA(long long str word str word) CompareString16
|
||||||
#9 WEP
|
9 pascal16 RegisterNLSInfoChanged(ptr) RegisterNLSInfoChanged16
|
||||||
10 stub LIBMAIN
|
#10 stub WEP
|
||||||
11 stub NOTIFYWINDOWPROC
|
11 stub LIBMAIN
|
||||||
|
12 stub NOTIFYWINDOWPROC
|
||||||
|
|
|
@ -32,6 +32,8 @@ struct NLS_langlocale {
|
||||||
} locvars[150];
|
} locvars[150];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static LPVOID lpNLSInfo = NULL;
|
||||||
|
|
||||||
#define LANG_BEGIN(l,s) { MAKELANGID(l,s), {
|
#define LANG_BEGIN(l,s) { MAKELANGID(l,s), {
|
||||||
|
|
||||||
#define LOCVAL(type,value) {type,value},
|
#define LOCVAL(type,value) {type,value},
|
||||||
|
@ -257,7 +259,7 @@ LANG_END
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/* Locale name to id map. used by EnumSystemLocales, GetLocalInfoA
|
/* Locale name to id map. used by EnumSystemLocales, GetLocaleInfoA
|
||||||
* MUST contain all #defines from winnls.h
|
* MUST contain all #defines from winnls.h
|
||||||
* last entry has NULL name, 0 id.
|
* last entry has NULL name, 0 id.
|
||||||
*/
|
*/
|
||||||
|
@ -2476,6 +2478,30 @@ UINT WINAPI CompareStringW(DWORD lcid, DWORD fdwStyle,
|
||||||
return (l1<l2)? 1 : 3;
|
return (l1<l2)? 1 : 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* RegisterNLSInfoChanged [OLE2NLS.10]
|
||||||
|
*/
|
||||||
|
BOOL16 WINAPI RegisterNLSInfoChanged16(LPVOID/*FIXME*/ lpNewNLSInfo)
|
||||||
|
{
|
||||||
|
FIXME_(ole)("Fully implemented, but doesn't effect anything.\n");
|
||||||
|
|
||||||
|
if (!lpNewNLSInfo)
|
||||||
|
{
|
||||||
|
lpNLSInfo = NULL;
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (!lpNLSInfo)
|
||||||
|
{
|
||||||
|
lpNLSInfo = lpNewNLSInfo;
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return FALSE; /* ptr not set */
|
||||||
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* OLE_GetFormatA [Internal]
|
* OLE_GetFormatA [Internal]
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue