[PATCH] kernel32: Move a 16 bit related comment to krnl386.dll16
Detlef Riekenberg
wine.dev at web.de
Fri May 14 10:08:37 CDT 2010
---
dlls/kernel32/module.c | 4 +---
dlls/krnl386.exe16/ne_module.c | 4 +++-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/kernel32/module.c b/dlls/kernel32/module.c
index 2b8f11e..21db5cb 100644
--- a/dlls/kernel32/module.c
+++ b/dlls/kernel32/module.c
@@ -588,9 +588,7 @@ HMODULE WINAPI GetModuleHandleW(LPCWSTR module)
* Failure: 0. Use GetLastError() to determine the cause.
*
* NOTES
- * This function always returns the long path of hModule (as opposed to
- * GetModuleFileName16() which returns short paths when the modules version
- * field is < 4.0).
+ * This function always returns the long path of hModule
* The function doesn't write a terminating '\0' if the buffer is too
* small.
*/
diff --git a/dlls/krnl386.exe16/ne_module.c b/dlls/krnl386.exe16/ne_module.c
index aa1c9c2..fe80126 100644
--- a/dlls/krnl386.exe16/ne_module.c
+++ b/dlls/krnl386.exe16/ne_module.c
@@ -1518,7 +1518,9 @@ BOOL16 WINAPI GetModuleName16( HINSTANCE16 hinst, LPSTR buf, INT16 count )
/**********************************************************************
* GetModuleFileName (KERNEL.49)
*
- * Comment: see GetModuleFileNameA
+ * See also: GetModuleFileNameA
+ *
+ * This function returns short paths when the modules version field is < 4.0).
*
* Even if invoked by second instance of a program,
* it still returns path of first one.
--
1.7.0.4
More information about the wine-patches
mailing list