Francois Gouget : kernel32: Remove _hread16() as it is not used. Move _hwrite16() next to the other related functions.

Alexandre Julliard julliard at winehq.org
Fri Dec 12 07:04:26 CST 2008


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Dec 12 10:28:09 2008 +0100

kernel32: Remove _hread16() as it is not used. Move _hwrite16() next to the other related functions.

---

 dlls/kernel32/file16.c |   27 +++++++++------------------
 1 files changed, 9 insertions(+), 18 deletions(-)

diff --git a/dlls/kernel32/file16.c b/dlls/kernel32/file16.c
index 9d90d85..ad30903 100644
--- a/dlls/kernel32/file16.c
+++ b/dlls/kernel32/file16.c
@@ -336,6 +336,15 @@ UINT16 WINAPI WIN16_lread( HFILE16 hFile, SEGPTR buffer, UINT16 count )
 
 
 /***********************************************************************
+ *           _hwrite   (KERNEL.350)
+ */
+LONG WINAPI _hwrite16( HFILE16 hFile, LPCSTR buffer, LONG count )
+{
+    return _hwrite( (HFILE)DosFileHandleToWin32Handle(hFile), buffer, count );
+}
+
+
+/***********************************************************************
  *           GetTempDrive   (KERNEL.92)
  * A closer look at krnl386.exe shows what the SDK doesn't mention:
  *
@@ -531,24 +540,6 @@ UINT16 WINAPI SetHandleCount16( UINT16 count )
 
 
 /***********************************************************************
- *           _hread16   (KERNEL.349)
- */
-LONG WINAPI _hread16( HFILE16 hFile, LPVOID buffer, LONG count)
-{
-    return _lread( (HFILE)DosFileHandleToWin32Handle(hFile), buffer, count );
-}
-
-
-/***********************************************************************
- *           _hwrite   (KERNEL.350)
- */
-LONG WINAPI _hwrite16( HFILE16 hFile, LPCSTR buffer, LONG count )
-{
-    return _hwrite( (HFILE)DosFileHandleToWin32Handle(hFile), buffer, count );
-}
-
-
-/***********************************************************************
  *           WritePrivateProfileStruct (KERNEL.406)
  */
 BOOL16 WINAPI WritePrivateProfileStruct16 (LPCSTR section, LPCSTR key,




More information about the wine-cvs mailing list