Documentation fixes.
diff --git a/files/directory.c b/files/directory.c
index 6066144..553f627 100644
--- a/files/directory.c
+++ b/files/directory.c
@@ -251,7 +251,7 @@
/***********************************************************************
- * GetWindowsDirectory16 (KERNEL.134)
+ * GetWindowsDirectory (KERNEL.134)
*/
UINT16 WINAPI GetWindowsDirectory16( LPSTR path, UINT16 count )
{
@@ -303,7 +303,7 @@
/***********************************************************************
- * GetSystemDirectory16 (KERNEL.135)
+ * GetSystemDirectory (KERNEL.135)
*/
UINT16 WINAPI GetSystemDirectory16( LPSTR path, UINT16 count )
{
@@ -337,7 +337,7 @@
/***********************************************************************
- * CreateDirectory16 (KERNEL.144)
+ * CreateDirectory (KERNEL.144)
*/
BOOL16 WINAPI CreateDirectory16( LPCSTR path, LPVOID dummy )
{
@@ -418,7 +418,7 @@
/***********************************************************************
- * RemoveDirectory16 (KERNEL)
+ * RemoveDirectory (KERNEL.145)
*/
BOOL16 WINAPI RemoveDirectory16( LPCSTR path )
{
diff --git a/files/dos_fs.c b/files/dos_fs.c
index 54110fc..a467cbd 100644
--- a/files/dos_fs.c
+++ b/files/dos_fs.c
@@ -2276,7 +2276,7 @@
*/
/*************************************************************************
- * FindFirstFile16 (KERNEL.413)
+ * FindFirstFile (KERNEL.413)
*/
HANDLE16 WINAPI FindFirstFile16( LPCSTR path, WIN32_FIND_DATAA *data )
{
@@ -2314,7 +2314,7 @@
}
/*************************************************************************
- * FindNextFile16 (KERNEL.414)
+ * FindNextFile (KERNEL.414)
*/
BOOL16 WINAPI FindNextFile16( HANDLE16 handle, WIN32_FIND_DATAA *data )
{
@@ -2344,7 +2344,7 @@
}
/*************************************************************************
- * FindClose16 (KERNEL.415)
+ * FindClose (KERNEL.415)
*/
BOOL16 WINAPI FindClose16( HANDLE16 handle )
{
diff --git a/files/drive.c b/files/drive.c
index d4482b5..0c34655 100644
--- a/files/drive.c
+++ b/files/drive.c
@@ -951,7 +951,7 @@
/***********************************************************************
- * GetDiskFreeSpace16 (KERNEL.422)
+ * GetDiskFreeSpace (KERNEL.422)
*/
BOOL16 WINAPI GetDiskFreeSpace16( LPCSTR root, LPDWORD cluster_sectors,
LPDWORD sector_bytes, LPDWORD free_clusters,
@@ -1159,7 +1159,7 @@
}
/***********************************************************************
- * GetDriveType16 (KERNEL.136)
+ * GetDriveType (KERNEL.136)
* This function returns the type of a drive in Win16.
* Note that it returns DRIVE_REMOTE for CD-ROMs, since MSCDEX uses the
* remote drive API. The return value DRIVE_REMOTE for CD-ROMs has been
@@ -1228,7 +1228,7 @@
/***********************************************************************
- * GetCurrentDirectory16 (KERNEL.411)
+ * GetCurrentDirectory (KERNEL.411)
*/
UINT16 WINAPI GetCurrentDirectory16( UINT16 buflen, LPSTR buf )
{
diff --git a/files/file.c b/files/file.c
index c1026c8..042374b 100644
--- a/files/file.c
+++ b/files/file.c
@@ -594,7 +594,7 @@
/**************************************************************************
- * GetFileAttributes16 (KERNEL.420)
+ * GetFileAttributes (KERNEL.420)
*/
DWORD WINAPI GetFileAttributes16( LPCSTR name )
{
@@ -775,7 +775,7 @@
/***********************************************************************
- * GetTempFileName16 (KERNEL.97)
+ * GetTempFileName (KERNEL.97)
*/
UINT16 WINAPI GetTempFileName16( BYTE drive, LPCSTR prefix, UINT16 unique,
LPSTR buffer )
@@ -980,7 +980,8 @@
/***********************************************************************
- * OpenFile16 (KERNEL.360)
+ * OpenFile (KERNEL.74)
+ * OpenFileEx (KERNEL.360)
*/
HFILE16 WINAPI OpenFile16( LPCSTR name, OFSTRUCT *ofs, UINT16 mode )
{
@@ -1121,7 +1122,7 @@
/***********************************************************************
- * _lclose16 (KERNEL.81)
+ * _lclose (KERNEL.81)
*/
HFILE16 WINAPI _lclose16( HFILE16 hFile )
{
@@ -1597,7 +1598,7 @@
/***********************************************************************
- * WIN16_hread
+ * _hread (KERNEL.349)
*/
LONG WINAPI WIN16_hread( HFILE16 hFile, SEGPTR buffer, LONG count )
{
@@ -1614,7 +1615,7 @@
/***********************************************************************
- * WIN16_lread
+ * _lread (KERNEL.82)
*/
UINT16 WINAPI WIN16_lread( HFILE16 hFile, SEGPTR buffer, UINT16 count )
{
@@ -1643,7 +1644,7 @@
/***********************************************************************
- * _lcreat16 (KERNEL.83)
+ * _lcreat (KERNEL.83)
*/
HFILE16 WINAPI _lcreat16( LPCSTR path, INT16 attr )
{
@@ -1696,7 +1697,7 @@
/***********************************************************************
- * _llseek16 (KERNEL.84)
+ * _llseek (KERNEL.84)
*
* FIXME:
* Seeking before the start of the file should be allowed for _llseek16,
@@ -1719,7 +1720,7 @@
/***********************************************************************
- * _lopen16 (KERNEL.85)
+ * _lopen (KERNEL.85)
*/
HFILE16 WINAPI _lopen16( LPCSTR path, INT16 mode )
{
@@ -1741,7 +1742,7 @@
/***********************************************************************
- * _lwrite16 (KERNEL.86)
+ * _lwrite (KERNEL.86)
*/
UINT16 WINAPI _lwrite16( HFILE16 hFile, LPCSTR buffer, UINT16 count )
{
@@ -1776,7 +1777,7 @@
/***********************************************************************
- * _hwrite16 (KERNEL.350)
+ * _hwrite (KERNEL.350)
*/
LONG WINAPI _hwrite16( HFILE16 hFile, LPCSTR buffer, LONG count )
{
@@ -1813,7 +1814,7 @@
/***********************************************************************
- * SetHandleCount16 (KERNEL.199)
+ * SetHandleCount (KERNEL.199)
*/
UINT16 WINAPI SetHandleCount16( UINT16 count )
{
@@ -1863,7 +1864,7 @@
/***********************************************************************
- * DeleteFile16 (KERNEL.146)
+ * DeleteFile (KERNEL.146)
*/
BOOL16 WINAPI DeleteFile16( LPCSTR path )
{
diff --git a/files/profile.c b/files/profile.c
index 6d98967..7f91812 100644
--- a/files/profile.c
+++ b/files/profile.c
@@ -1129,7 +1129,7 @@
/********************* API functions **********************************/
/***********************************************************************
- * GetProfileInt16 (KERNEL.57)
+ * GetProfileInt (KERNEL.57)
*/
UINT16 WINAPI GetProfileInt16( LPCSTR section, LPCSTR entry, INT16 def_val )
{
@@ -1212,7 +1212,7 @@
}
/***********************************************************************
- * GetPrivateProfileString16 (KERNEL.128)
+ * GetPrivateProfileString (KERNEL.128)
*/
INT16 WINAPI GetPrivateProfileString16( LPCSTR section, LPCSTR entry,
LPCSTR def_val, LPSTR buffer,
@@ -1258,7 +1258,7 @@
}
/***********************************************************************
- * GetProfileString16 (KERNEL.58)
+ * GetProfileString (KERNEL.58)
*/
INT16 WINAPI GetProfileString16( LPCSTR section, LPCSTR entry, LPCSTR def_val,
LPSTR buffer, UINT16 len )
@@ -1288,7 +1288,7 @@
}
/***********************************************************************
- * WriteProfileString16 (KERNEL.59)
+ * WriteProfileString (KERNEL.59)
*/
BOOL16 WINAPI WriteProfileString16( LPCSTR section, LPCSTR entry,
LPCSTR string )
@@ -1316,7 +1316,7 @@
/***********************************************************************
- * GetPrivateProfileInt16 (KERNEL.127)
+ * GetPrivateProfileInt (KERNEL.127)
*/
UINT16 WINAPI GetPrivateProfileInt16( LPCSTR section, LPCSTR entry,
INT16 def_val, LPCSTR filename )
@@ -1364,7 +1364,7 @@
}
/***********************************************************************
- * GetPrivateProfileSection16 (KERNEL.418)
+ * GetPrivateProfileSection (KERNEL.418)
*/
INT16 WINAPI GetPrivateProfileSection16( LPCSTR section, LPSTR buffer,
UINT16 len, LPCSTR filename )
@@ -1412,7 +1412,7 @@
}
/***********************************************************************
- * GetProfileSection16 (KERNEL.419)
+ * GetProfileSection (KERNEL.419)
*/
INT16 WINAPI GetProfileSection16( LPCSTR section, LPSTR buffer, UINT16 len )
{
@@ -1437,7 +1437,7 @@
/***********************************************************************
- * WritePrivateProfileString16 (KERNEL.129)
+ * WritePrivateProfileString (KERNEL.129)
*/
BOOL16 WINAPI WritePrivateProfileString16( LPCSTR section, LPCSTR entry,
LPCSTR string, LPCSTR filename )
@@ -1487,7 +1487,7 @@
}
/***********************************************************************
- * WritePrivateProfileSection16 (KERNEL.416)
+ * WritePrivateProfileSection (KERNEL.416)
*/
BOOL16 WINAPI WritePrivateProfileSection16( LPCSTR section,
LPCSTR string, LPCSTR filename )
@@ -1550,7 +1550,7 @@
}
/***********************************************************************
- * WriteProfileSection16 (KERNEL.417)
+ * WriteProfileSection (KERNEL.417)
*/
BOOL16 WINAPI WriteProfileSection16( LPCSTR section, LPCSTR keys_n_values)
{
@@ -1575,7 +1575,7 @@
}
/***********************************************************************
- * GetPrivateProfileSectionNames16 (KERNEL.143)
+ * GetPrivateProfileSectionNames (KERNEL.143)
*/
WORD WINAPI GetPrivateProfileSectionNames16( LPSTR buffer, WORD size,
LPCSTR filename )
@@ -1594,7 +1594,7 @@
/***********************************************************************
- * GetProfileSectionNames16 (KERNEL.142)
+ * GetProfileSectionNames (KERNEL.142)
*/
WORD WINAPI GetProfileSectionNames16( LPSTR buffer, WORD size)
@@ -1634,7 +1634,7 @@
}
/***********************************************************************
- * GetPrivateProfileStruct16 (KERNEL.407)
+ * GetPrivateProfileStruct (KERNEL.407)
*/
BOOL16 WINAPI GetPrivateProfileStruct16(LPCSTR section, LPCSTR key,
LPVOID buf, UINT16 len, LPCSTR filename)
@@ -1743,7 +1743,7 @@
/***********************************************************************
- * WritePrivateProfileStruct16 (KERNEL.406)
+ * WritePrivateProfileStruct (KERNEL.406)
*/
BOOL16 WINAPI WritePrivateProfileStruct16 (LPCSTR section, LPCSTR key,
LPVOID buf, UINT16 bufsize, LPCSTR filename)