better stubs for VerLanguageNameA/W (untested)
Modified: trunk/reactos/lib/kernel32/misc/stubs.c
_____
Modified: trunk/reactos/lib/kernel32/misc/stubs.c
--- trunk/reactos/lib/kernel32/misc/stubs.c 2005-12-11 23:53:23 UTC
(rev 20094)
+++ trunk/reactos/lib/kernel32/misc/stubs.c 2005-12-12 00:06:38 UTC
(rev 20095)
@@ -355,7 +355,9 @@
)
{
STUB;
- return 0;
+ szLang = "Language Neutral\0";
+ nSize = sizeof(szLang) * sizeof(CHAR);
+ return sizeof(szLang) - 1;
}
@@ -371,7 +373,9 @@
)
{
STUB;
- return 0;
+ szLang = L"Language Neutral\0";
+ nSize = sizeof(szLang) * sizeof(WCHAR);
+ return sizeof(szLang) - 1;
}
Show replies by date