Detlef Riekenberg : kernel32: Move a 16 bit related comment to krnl386.

Alexandre Julliard julliard at winehq.org
Fri May 14 11:17:30 CDT 2010


Module: wine
Branch: master
Commit: 69326aa246d388df7c28944c0370b1e2bf5fd1df
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=69326aa246d388df7c28944c0370b1e2bf5fd1df

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Fri May 14 17:08:37 2010 +0200

kernel32: Move a 16 bit related comment to krnl386.

---

 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.




More information about the wine-cvs mailing list