Commit in reactos/lib/kernel32/misc on MAIN
profile.c+11-111.13 -> 1.14
Pass win.ini as filename to *PrivateProfile* functions instead of NULL

reactos/lib/kernel32/misc
profile.c 1.13 -> 1.14
diff -u -r1.13 -r1.14
--- profile.c	9 Oct 2004 18:46:41 -0000	1.13
+++ profile.c	13 Oct 2004 19:52:09 -0000	1.14
@@ -1,4 +1,4 @@
-/* $Id: profile.c,v 1.13 2004/10/09 18:46:41 gvg Exp $
+/* $Id: profile.c,v 1.14 2004/10/13 19:52:09 gvg Exp $
  *
  * Imported from Wine
  * Copyright 1993 Miguel de Icaza
@@ -1525,7 +1525,7 @@
 
 
 /*
- * @unimplemented
+ * @implemented
  */
 DWORD STDCALL
 GetProfileSectionW(LPCWSTR lpAppName,
@@ -1535,12 +1535,12 @@
    return GetPrivateProfileSectionW(lpAppName,
 				    lpReturnedString,
 				    nSize,
-				    NULL);
+				    L"win.ini");
 }
 
 
 /*
- * @unimplemented
+ * @implemented
  */
 DWORD STDCALL
 GetProfileSectionA(LPCSTR lpAppName,
@@ -1550,7 +1550,7 @@
    return GetPrivateProfileSectionA(lpAppName,
 				    lpReturnedString,
 				    nSize,
-				    NULL);
+				    "win.ini");
 }
 
 
@@ -1569,7 +1569,7 @@
 				   lpDefault,
 				   lpReturnedString,
 				   nSize,
-				   NULL);
+				   L"win.ini");
 }
 
 
@@ -1588,7 +1588,7 @@
 				   lpDefault,
 				   lpReturnedString,
 				   nSize,
-				   NULL);
+				   "win.ini");
 }
 
 
@@ -1795,7 +1795,7 @@
 {
    return WritePrivateProfileSectionA(lpAppName,
 				      lpString,
-				      NULL);
+				      "win.ini");
 }
 
 
@@ -1808,7 +1808,7 @@
 {
    return WritePrivateProfileSectionW(lpAppName,
 				      lpString,
-				      NULL);
+				      L"win.ini");
 }
 
 
@@ -1823,7 +1823,7 @@
    return WritePrivateProfileStringA(AppName,
 				     KeyName,
 				     String,
-				     NULL);
+				     "win.ini");
 }
 
 
@@ -1838,7 +1838,7 @@
    return WritePrivateProfileStringW(AppName,
 				     KeyName,
 				     String,
-				     NULL);
+				     L"win.ini");
 }
 
 /* EOF */
CVSspam 0.2.8