LZDone is exported by kernel32

Francois Gouget fgouget at free.fr
Wed Aug 10 06:25:38 CDT 2005


On Wed, 10 Aug 2005, Alexandre Julliard wrote:

> Francois Gouget <fgouget at free.fr> writes:
>
>> Should the same treatment be applied to the other functions too?
>> Examples: LZStart, LZInit, GetExpandedNameA, etc.
>> It's strange that winapi_check does not complain about them.
>>
>> Does it really work to declare LZDone as exported by multiple dlls in
>> a single comment? Should winapi_check scan the forwards and ask that
>> we mention them all in the relevant dll documentation?
>
> It's probably better to only mention the dll that the code is in, the
> documentation for a dll function shouldn't have to know about other
> dlls that may forward to that function.


Ok, here's a patch that does that then:

Changelog:

  * dlls/kernel/lzexpand.c

    Francois Gouget <fgouget at free.fr>
    Update the documentation to reflect the fact that the LZ* functions 
are implemented in kernel32.dll now.


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                             1 + e ^ ( i * pi ) = 0
-------------- next part --------------
Index: dlls/kernel/lzexpand.c
===================================================================
RCS file: /var/cvs/wine/dlls/kernel/lzexpand.c,v
retrieving revision 1.1
diff -u -p -r1.1 lzexpand.c
--- dlls/kernel/lzexpand.c	25 Jul 2005 11:08:31 -0000	1.1
+++ dlls/kernel/lzexpand.c	25 Jul 2005 13:31:49 -0000
@@ -150,7 +150,7 @@ static INT read_header(HFILE fd,struct l
 
 
 /***********************************************************************
- *           LZStart   (LZ32.@)
+ *           LZStart   (KERNEL32.@)
  */
 INT WINAPI LZStart(void)
 {
@@ -160,7 +160,7 @@ INT WINAPI LZStart(void)
 
 
 /***********************************************************************
- *           LZInit   (LZ32.@)
+ *           LZInit   (KERNEL32.@)
  *
  * initializes internal decompression buffers, returns lzfiledescriptor.
  * (return value the same as hfSrc, if hfSrc is not compressed)
@@ -213,8 +213,7 @@ HFILE WINAPI LZInit( HFILE hfSrc )
 
 
 /***********************************************************************
- *           LZDone   (LZEXPAND.9)
- *           LZDone   (LZ32.@)
+ *           LZDone   (KERNEL32.@)
  */
 void WINAPI LZDone(void)
 {
@@ -223,7 +222,7 @@ void WINAPI LZDone(void)
 
 
 /***********************************************************************
- *           GetExpandedNameA   (LZ32.@)
+ *           GetExpandedNameA   (KERNEL32.@)
  *
  * gets the full filename of the compressed file 'in' by opening it
  * and reading the header
@@ -301,7 +300,7 @@ INT WINAPI GetExpandedNameA( LPSTR in, L
 
 
 /***********************************************************************
- *           GetExpandedNameW   (LZ32.@)
+ *           GetExpandedNameW   (KERNEL32.@)
  */
 INT WINAPI GetExpandedNameW( LPWSTR in, LPWSTR out )
 {
@@ -319,7 +318,7 @@ INT WINAPI GetExpandedNameW( LPWSTR in, 
 
 
 /***********************************************************************
- *           LZRead   (LZ32.@)
+ *           LZRead   (KERNEL32.@)
  */
 INT WINAPI LZRead( HFILE fd, LPSTR vbuf, INT toread )
 {
@@ -410,7 +409,7 @@ INT WINAPI LZRead( HFILE fd, LPSTR vbuf,
 
 
 /***********************************************************************
- *           LZSeek   (LZ32.@)
+ *           LZSeek   (KERNEL32.@)
  */
 LONG WINAPI LZSeek( HFILE fd, LONG off, INT type )
 {
@@ -442,7 +441,7 @@ LONG WINAPI LZSeek( HFILE fd, LONG off, 
 
 
 /***********************************************************************
- *           LZCopy   (LZ32.@)
+ *           LZCopy   (KERNEL32.@)
  *
  * Copies everything from src to dest
  * if src is a LZ compressed file, it will be uncompressed.
@@ -524,7 +523,7 @@ static LPSTR LZEXPAND_MangleName( LPCSTR
 
 
 /***********************************************************************
- *           LZOpenFileA   (LZ32.@)
+ *           LZOpenFileA   (KERNEL32.@)
  *
  * Opens a file. If not compressed, open it as a normal file.
  */
@@ -552,7 +551,7 @@ HFILE WINAPI LZOpenFileA( LPSTR fn, LPOF
 
 
 /***********************************************************************
- *           LZOpenFileW   (LZ32.@)
+ *           LZOpenFileW   (KERNEL32.@)
  */
 HFILE WINAPI LZOpenFileW( LPWSTR fn, LPOFSTRUCT ofs, WORD mode )
 {
@@ -567,7 +566,7 @@ HFILE WINAPI LZOpenFileW( LPWSTR fn, LPO
 
 
 /***********************************************************************
- *           LZClose   (LZ32.@)
+ *           LZClose   (KERNEL32.@)
  */
 void WINAPI LZClose( HFILE fd )
 {
@@ -586,7 +585,7 @@ void WINAPI LZClose( HFILE fd )
 
 
 /***********************************************************************
- *           CopyLZFile  (LZ32.@)
+ *           CopyLZFile  (KERNEL32.@)
  *
  * Copy src to dest (including uncompressing src).
  * NOTE: Yes. This is exactly the same function as LZCopy.


More information about the wine-patches mailing list