Added missing profile KERNEL routines (call 32-bit versions).
diff --git a/files/profile.c b/files/profile.c
index 2f357bf..f535edd 100644
--- a/files/profile.c
+++ b/files/profile.c
@@ -1010,24 +1010,6 @@
}
/***********************************************************************
- * GetProfileSection32A (KERNEL32.268)
- */
-INT WINAPI GetProfileSectionA( LPCSTR section, LPSTR buffer, DWORD len )
-{
- return GetPrivateProfileSectionA( section, buffer, len, "win.ini" );
-}
-
-
-/***********************************************************************
- * GetProfileSection32W (KERNEL32)
- */
-INT WINAPI GetProfileSectionW( LPCWSTR section, LPWSTR buffer, DWORD len )
-{
- if (!wininiW) wininiW = HEAP_strdupAtoW( SystemHeap, 0, "win.ini" );
- return GetPrivateProfileSectionW( section, buffer, len, wininiW );
-}
-
-/***********************************************************************
* WriteProfileString16 (KERNEL.59)
*/
BOOL16 WINAPI WriteProfileString16( LPCSTR section, LPCSTR entry,
@@ -1164,6 +1146,15 @@
}
/***********************************************************************
+ * GetPrivateProfileSection16 (KERNEL.418)
+ */
+INT16 WINAPI GetPrivateProfileSection16( LPCSTR section, LPSTR buffer,
+ UINT16 len, LPCSTR filename )
+{
+ return GetPrivateProfileSectionA( section, buffer, len, filename );
+}
+
+/***********************************************************************
* GetPrivateProfileSection32A (KERNEL32.255)
*/
INT WINAPI GetPrivateProfileSectionA( LPCSTR section, LPSTR buffer,
@@ -1202,6 +1193,32 @@
}
/***********************************************************************
+ * GetProfileSection16 (KERNEL.419)
+ */
+INT16 WINAPI GetProfileSection16( LPCSTR section, LPSTR buffer, UINT16 len )
+{
+ return GetPrivateProfileSection16( section, buffer, len, "win.ini" );
+}
+
+/***********************************************************************
+ * GetProfileSection32A (KERNEL32.268)
+ */
+INT WINAPI GetProfileSectionA( LPCSTR section, LPSTR buffer, DWORD len )
+{
+ return GetPrivateProfileSectionA( section, buffer, len, "win.ini" );
+}
+
+/***********************************************************************
+ * GetProfileSection32W (KERNEL32)
+ */
+INT WINAPI GetProfileSectionW( LPCWSTR section, LPWSTR buffer, DWORD len )
+{
+ if (!wininiW) wininiW = HEAP_strdupAtoW( SystemHeap, 0, "win.ini" );
+ return GetPrivateProfileSectionW( section, buffer, len, wininiW );
+}
+
+
+/***********************************************************************
* WritePrivateProfileString16 (KERNEL.129)
*/
BOOL16 WINAPI WritePrivateProfileString16( LPCSTR section, LPCSTR entry,
@@ -1253,6 +1270,15 @@
}
/***********************************************************************
+ * WritePrivateProfileSection16 (KERNEL.416)
+ */
+BOOL16 WINAPI WritePrivateProfileSection16( LPCSTR section,
+ LPCSTR string, LPCSTR filename )
+{
+ return WritePrivateProfileSectionA( section, string, filename );
+}
+
+/***********************************************************************
* WritePrivateProfileSection32A (KERNEL32)
*/
BOOL WINAPI WritePrivateProfileSectionA( LPCSTR section,
@@ -1290,6 +1316,13 @@
return res;
}
+/***********************************************************************
+ * WriteProfileSection16 (KERNEL.417)
+ */
+BOOL16 WINAPI WriteProfileSection16( LPCSTR section, LPCSTR keys_n_values)
+{
+ return WritePrivateProfileSection16( section, keys_n_values, "win.ini");
+}
/***********************************************************************
* WriteProfileSection32A (KERNEL32.747)
@@ -1390,6 +1423,14 @@
return ret;
}
+/***********************************************************************
+ * GetPrivateProfileStruct16 (KERNEL.407)
+ */
+BOOL16 WINAPI GetPrivateProfileStruct16(LPCSTR section, LPCSTR key,
+ LPVOID buf, UINT16 len, LPCSTR filename)
+{
+ return GetPrivateProfileStructA( section, key, buf, len, filename );
+}
/***********************************************************************
* GetPrivateProfileStruct32A (KERNEL32.370)
@@ -1437,6 +1478,14 @@
+/***********************************************************************
+ * WritePrivateProfileStruct16 (KERNEL.406)
+ */
+BOOL16 WINAPI WritePrivateProfileStruct16 (LPCSTR section, LPCSTR key,
+ LPVOID buf, UINT16 bufsize, LPCSTR filename)
+{
+ return WritePrivateProfileStructA( section, key, buf, bufsize, filename );
+}
/***********************************************************************
* WritePrivateProfileStruct32A (KERNEL32.744)