Small API documentation fix

Francois Gouget fgouget at free.fr
Wed Oct 6 12:55:29 CDT 2004


I found this one when examining the output of ./tools/winapi/winapi_check.
It turned out to be just a stroke of luck as winapi_check seems to 
complain about the documentation of each and every function though I 
don't understand what's wrong:

$ ./tools/winapi/winapi_check
dlls/advapi32/advapi.c:53: advapi32: BOOL WINAPI GetUserNameA(LPSTR,LPDWORD): documentation: GetUserNameA (ADVAPI32.@) wrong
dlls/advapi32/advapi.c:85: advapi32: BOOL WINAPI GetUserNameW(LPWSTR,LPDWORD): documentation: GetUserNameW (ADVAPI32.@) wrong
dlls/advapi32/advapi.c:115: advapi32: BOOL WINAPI GetCurrentHwProfileA(LPHW_PROFILE_INFOA): documentation: GetCurrentHwProfileA (ADVAPI32.@) wrong
dlls/advapi32/advapi.c:139: advapi32: BOOL WINAPI AbortSystemShutdownA(LPSTR): documentation: AbortSystemShutdownA (ADVAPI32.@) wrong
dlls/advapi32/advapi.c:150: advapi32: BOOL WINAPI AbortSystemShutdownW(LPWSTR): documentation: AbortSystemShutdownW (ADVAPI32.@) wrong
...
$ ./tools/winapi/winapi_check | grep documentation: | wc -l
9489


Changelog:

  * dlls/oleaut32/vartype.c

    Fix the VarI4FromI2 API documentation.


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                Dieu dit: "M-x Lumi\xE8re". Et la lumi\xE8re fut.
-------------- next part --------------
Index: dlls/oleaut32/vartype.c
===================================================================
RCS file: /var/cvs/wine/dlls/oleaut32/vartype.c,v
retrieving revision 1.10
diff -u -r1.10 vartype.c
--- dlls/oleaut32/vartype.c	11 Aug 2004 19:43:46 -0000	1.10
+++ dlls/oleaut32/vartype.c	30 Sep 2004 17:36:12 -0000
@@ -1359,7 +1359,7 @@
  * Convert a VT_I2 to a VT_I4.
  *
  * PARAMS
- *  iIn     [I] Source
+ *  sIn     [I] Source
  *  piOut   [O] Destination
  *
  * RETURNS


More information about the wine-patches mailing list