Documentation fixes.
diff --git a/loader/module.c b/loader/module.c
index 64989b7..a1b6cd8 100644
--- a/loader/module.c
+++ b/loader/module.c
@@ -672,6 +672,7 @@
/***********************************************************************
* GetBinaryTypeA [KERNEL32.@]
+ * GetBinaryType [KERNEL32.@]
*/
BOOL WINAPI GetBinaryTypeA( LPCSTR lpApplicationName, LPDWORD lpBinaryType )
{
@@ -736,7 +737,8 @@
/***********************************************************************
- * WinExec16 (KERNEL.166)
+ * WinExec (KERNEL.166)
+ * WinExec16 (KERNEL32.@)
*/
HINSTANCE16 WINAPI WinExec16( LPCSTR lpCmdLine, UINT16 nCmdShow )
{
@@ -1171,6 +1173,7 @@
/***********************************************************************
* GetModuleHandleA (KERNEL32.@)
+ * GetModuleHandle32 (KERNEL.488)
*/
HMODULE WINAPI GetModuleHandleA(LPCSTR module)
{
@@ -1199,6 +1202,7 @@
/***********************************************************************
* GetModuleFileNameA (KERNEL32.@)
+ * GetModuleFileName32 (KERNEL.487)
*
* GetModuleFileNameA seems to *always* return the long path;
* it's only GetModuleFileName16 that decides between short/long path
@@ -1531,7 +1535,8 @@
}
/***********************************************************************
- * FreeLibrary (KERNEL32.@)
+ * FreeLibrary (KERNEL32.@)
+ * FreeLibrary32 (KERNEL.486)
*/
BOOL WINAPI FreeLibrary(HINSTANCE hLibModule)
{
diff --git a/loader/ne/convert.c b/loader/ne/convert.c
index 70b7c21..3a27eff 100644
--- a/loader/ne/convert.c
+++ b/loader/ne/convert.c
@@ -16,6 +16,7 @@
/**********************************************************************
* ConvertDialog32To16 (KERNEL.615)
+ * ConvertDialog32To16 (KERNEL32.@)
*/
VOID WINAPI ConvertDialog32To16( LPVOID dialog32, DWORD size, LPVOID dialog16 )
{
diff --git a/loader/ne/module.c b/loader/ne/module.c
index ffff2ee..e46553a 100644
--- a/loader/ne/module.c
+++ b/loader/ne/module.c
@@ -292,7 +292,7 @@
/***********************************************************************
- * NE_GetEntryPoint / EntryAddrProc16 (KERNEL Wine-specific export)
+ * EntryAddrProc (KERNEL.667) Wine-specific export
*
* Return the entry point for a given ordinal.
*/
@@ -302,10 +302,18 @@
CURRENT_STACK16->ecx = hModule; /* FIXME: might be incorrect value */
return ret;
}
+
+/***********************************************************************
+ * NE_GetEntryPoint
+ */
FARPROC16 WINAPI NE_GetEntryPoint( HMODULE16 hModule, WORD ordinal )
{
return NE_GetEntryPointEx( hModule, ordinal, TRUE );
}
+
+/***********************************************************************
+ * NE_GetEntryPointEx
+ */
FARPROC16 NE_GetEntryPointEx( HMODULE16 hModule, WORD ordinal, BOOL16 snoop )
{
NE_MODULE *pModule;
@@ -1013,7 +1021,8 @@
/**********************************************************************
- * LoadModule16 (KERNEL.45)
+ * LoadModule (KERNEL.45)
+ * LoadModule16 (KERNEL32.@)
*/
HINSTANCE16 WINAPI LoadModule16( LPCSTR name, LPVOID paramBlock )
{
@@ -1200,7 +1209,8 @@
}
/***********************************************************************
- * LoadLibrary16 (KERNEL.95)
+ * LoadLibrary (KERNEL.95)
+ * LoadLibrary16 (KERNEL32.35)
*/
HINSTANCE16 WINAPI LoadLibrary16( LPCSTR libname )
{
@@ -1302,7 +1312,8 @@
/***********************************************************************
- * FreeLibrary16 (KERNEL.96)
+ * FreeLibrary (KERNEL.96)
+ * FreeLibrary16 (KERNEL32.36)
*/
void WINAPI FreeLibrary16( HINSTANCE16 handle )
{
@@ -1369,7 +1380,8 @@
/**********************************************************************
- * GetModuleFileName16 (KERNEL.49)
+ * GetModuleFileName (KERNEL.49)
+ * GetModuleFileName16 (KERNEL32.@)
*
* Comment: see GetModuleFileNameA
*
@@ -1419,7 +1431,7 @@
}
/***********************************************************************
- * GetModuleHandle16 (KERNEL but also exported from KERNEL32 in Wine)
+ * GetModuleHandle16 (KERNEL32.@)
*/
HMODULE16 WINAPI GetModuleHandle16( LPCSTR name )
{
diff --git a/loader/ne/segment.c b/loader/ne/segment.c
index a3ca8c7..76f1442 100644
--- a/loader/ne/segment.c
+++ b/loader/ne/segment.c
@@ -543,7 +543,7 @@
/***********************************************************************
- * PatchCodeHandle
+ * PatchCodeHandle (KERNEL.110)
*
* Needed for self-loading modules.
*/
@@ -882,7 +882,7 @@
}
/***********************************************************************
- * MyAlloc16 (KERNEL Wine-specific export)
+ * MyAlloc (KERNEL.668) Wine-specific export
*
* MyAlloc() function for self-loading apps.
*/
diff --git a/loader/resource.c b/loader/resource.c
index 036348b..b3d0c1e 100644
--- a/loader/resource.c
+++ b/loader/resource.c
@@ -313,7 +313,8 @@
}
/**********************************************************************
- * FindResource16 (KERNEL.60)
+ * FindResource (KERNEL.60)
+ * FindResource16 (KERNEL32.@)
*/
HRSRC16 WINAPI FindResource16( HMODULE16 hModule, LPCSTR name, LPCSTR type )
{
@@ -360,7 +361,8 @@
}
/**********************************************************************
- * LoadResource16 (KERNEL.61)
+ * LoadResource (KERNEL.61)
+ * LoadResource16 (KERNEL32.@)
*/
HGLOBAL16 WINAPI LoadResource16( HMODULE16 hModule, HRSRC16 hRsrc )
{
@@ -386,7 +388,7 @@
}
/**********************************************************************
- * LockResource16 (KERNEL but also exported from KERNEL32 in Wine)
+ * LockResource16 (KERNEL32.@)
*/
LPVOID WINAPI LockResource16( HGLOBAL16 handle )
{
@@ -408,7 +410,8 @@
}
/**********************************************************************
- * FreeResource16 (KERNEL.63)
+ * FreeResource (KERNEL.63)
+ * FreeResource16 (KERNEL32.@)
*/
BOOL16 WINAPI FreeResource16( HGLOBAL16 handle )
{
@@ -444,7 +447,8 @@
}
/**********************************************************************
- * SizeofResource16 (KERNEL.65)
+ * SizeofResource (KERNEL.65)
+ * SizeofResource16 (KERNEL32.@)
*/
DWORD WINAPI SizeofResource16( HMODULE16 hModule, HRSRC16 hRsrc )
{
diff --git a/loader/task.c b/loader/task.c
index 82b6635..200b9b9 100644
--- a/loader/task.c
+++ b/loader/task.c
@@ -1157,13 +1157,16 @@
/***********************************************************************
- * GetCurrentTask (KERNEL.36)
+ * GetCurrentTask (KERNEL32.@)
*/
HTASK16 WINAPI GetCurrentTask(void)
{
return NtCurrentTeb()->htask16;
}
+/***********************************************************************
+ * GetCurrentTask (KERNEL.36)
+ */
DWORD WINAPI WIN16_GetCurrentTask(void)
{
/* This is the version used by relay code; the first task is */