[ros-diffs] [cwittich] 20095: better stubs for VerLanguageNameA/W (untested)

cwittich at svn.reactos.com cwittich at svn.reactos.com
Mon Dec 12 01:06:42 CET 2005


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;
 }
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051212/c1c8b649/attachment.html


More information about the Ros-diffs mailing list