Fix some winapi_check documentation warnings

Francois Gouget fgouget at free.fr
Thu May 11 17:34:55 CDT 2006


Changelog:

  * dlls/advapi32/security.c
    dlls/cfgmgr32/main.c
    dlls/gdi/freetype.c
    dlls/mprapi/mprapi.c
    dlls/ntdll/sync.c
    dlls/ole32/usrmarshal.c
    dlls/usp10/usp10.c

    Francois Gouget <fgouget at free.fr>
    Small documentation tweaks to avoid winapi_check warnings.

-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
            Demander si un ordinateur peut penser revient à demander
                           si un sous-marin peut nager.
-------------- next part --------------
Index: dlls/advapi32/security.c
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/security.c,v
retrieving revision 1.125
diff -u -p -r1.125 security.c
--- dlls/advapi32/security.c	10 May 2006 10:24:16 -0000	1.125
+++ dlls/advapi32/security.c	11 May 2006 20:57:46 -0000
@@ -2174,6 +2174,9 @@ VOID WINAPI BuildTrusteeWithObjectsAndNa
     pTrustee->ptstrName = (LPWSTR)pObjName;
 }
 
+/******************************************************************************
+ * BuildTrusteeWithObjectsAndSidA [ADVAPI32.@]
+ */
 VOID WINAPI BuildTrusteeWithObjectsAndSidA( PTRUSTEEA pTrustee, POBJECTS_AND_SID pObjSid,
                                             GUID* pObjectGuid, GUID* pInheritedObjectGuid, PSID pSid )
 {
@@ -2215,6 +2218,9 @@ VOID WINAPI BuildTrusteeWithObjectsAndSi
     pTrustee->ptstrName = (LPSTR) pObjSid;
 }
 
+/******************************************************************************
+ * BuildTrusteeWithObjectsAndSidW [ADVAPI32.@]
+ */
 VOID WINAPI BuildTrusteeWithObjectsAndSidW( PTRUSTEEW pTrustee, POBJECTS_AND_SID pObjSid,
                                             GUID* pObjectGuid, GUID* pInheritedObjectGuid, PSID pSid )
 {
Index: dlls/cfgmgr32/main.c
===================================================================
RCS file: /home/wine/wine/dlls/cfgmgr32/main.c,v
retrieving revision 1.4
diff -u -p -r1.4 main.c
--- dlls/cfgmgr32/main.c	21 Mar 2006 19:22:48 -0000	1.4
+++ dlls/cfgmgr32/main.c	11 May 2006 20:57:46 -0000
@@ -45,6 +45,9 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWO
     return TRUE;
 }
 
+/***********************************************************************
+ *		CM_Get_Device_ID_ListA  (CFGMGR32.@)
+ */
 CONFIGRET WINAPI CM_Get_Device_ID_ListA( 
     PCSTR pszFilter, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags )
 {
@@ -53,6 +56,9 @@ CONFIGRET WINAPI CM_Get_Device_ID_ListA(
     return CR_SUCCESS;
 }
 
+/***********************************************************************
+ *		CM_Get_Device_ID_Size  (CFGMGR32.@)
+ */
 CONFIGRET WINAPI CM_Get_Device_ID_Size( ULONG*  pulLen, LPVOID dnDevInst,
                                         ULONG  ulFlags)
 {
@@ -61,6 +67,9 @@ CONFIGRET WINAPI CM_Get_Device_ID_Size( 
     return CR_SUCCESS;
 }
 
+/***********************************************************************
+ *		CM_Get_Device_IDA  (CFGMGR32.@)
+ */
 CONFIGRET WINAPI CM_Get_Device_IDA( LPVOID dnDevInst, LPSTR Buffer, 
                                    ULONG  BufferLen, ULONG  ulFlags)
 {
Index: dlls/gdi/freetype.c
===================================================================
RCS file: /home/wine/wine/dlls/gdi/freetype.c,v
retrieving revision 1.127
diff -u -p -r1.127 freetype.c
--- dlls/gdi/freetype.c	5 May 2006 17:12:56 -0000	1.127
+++ dlls/gdi/freetype.c	11 May 2006 20:57:48 -0000
@@ -4074,6 +4074,8 @@ BOOL WINAPI GetRasterizerCaps( LPRASTERI
 
 #else /* HAVE_FREETYPE */
 
+/*************************************************************************/
+
 BOOL WineEngInit(void)
 {
     return FALSE;
Index: dlls/mprapi/mprapi.c
===================================================================
RCS file: /home/wine/wine/dlls/mprapi/mprapi.c,v
retrieving revision 1.1
diff -u -p -r1.1 mprapi.c
--- dlls/mprapi/mprapi.c	5 May 2006 19:08:36 -0000	1.1
+++ dlls/mprapi/mprapi.c	11 May 2006 20:57:48 -0000
@@ -44,6 +44,9 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWO
     return TRUE;
 }
 
+/***********************************************************************
+ *      MprAdminIsServiceRunning (MPRAPI.@)
+ */
 BOOL APIENTRY MprAdminIsServiceRunning(LPWSTR server)
 {
     FIXME("(%s): stub!\n", debugstr_w(server));
Index: dlls/ntdll/sync.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/sync.c,v
retrieving revision 1.57
diff -u -p -r1.57 sync.c
--- dlls/ntdll/sync.c	19 Apr 2006 11:04:42 -0000	1.57
+++ dlls/ntdll/sync.c	11 May 2006 20:57:49 -0000
@@ -843,6 +843,9 @@ NTSTATUS WINAPI NtDelayExecution( BOOLEA
     return STATUS_SUCCESS;
 }
 
+/******************************************************************
+ *		NtCreateIoCompletion (NTDLL.@)
+ */
 NTSTATUS WINAPI NtCreateIoCompletion( PHANDLE CompletionPort, ACCESS_MASK DesiredAccess,
                                       POBJECT_ATTRIBUTES ObjectAttributes, ULONG NumberOfConcurrentThreads )
 {
Index: dlls/ole32/usrmarshal.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/usrmarshal.c,v
retrieving revision 1.3
diff -u -p -r1.3 usrmarshal.c
--- dlls/ole32/usrmarshal.c	3 Apr 2006 19:47:01 -0000	1.3
+++ dlls/ole32/usrmarshal.c	11 May 2006 20:57:49 -0000
@@ -308,6 +308,9 @@ IMPL_WIREM_HANDLE(HACCEL)
 IMPL_WIREM_HANDLE(HMENU)
 IMPL_WIREM_HANDLE(HWND)
 
+/******************************************************************************
+ *           HGLOBAL_UserSize [OLE32.@]
+ */
 unsigned long __RPC_USER HGLOBAL_UserSize(unsigned long *pFlags, unsigned long StartingSize, HGLOBAL *phGlobal)
 {
     unsigned long size = StartingSize;
@@ -443,6 +446,9 @@ unsigned char * __RPC_USER HGLOBAL_UserU
     return pBuffer;
 }
 
+/******************************************************************************
+ *           HGLOBAL_UserFree [OLE32.@]
+ */
 void __RPC_USER HGLOBAL_UserFree(unsigned long *pFlags, HGLOBAL *phGlobal)
 {
     TRACE("("); dump_user_flags(pFlags); TRACE(", &%p\n", *phGlobal);
Index: dlls/usp10/usp10.c
===================================================================
RCS file: /home/wine/wine/dlls/usp10/usp10.c,v
retrieving revision 1.23
diff -u -p -r1.23 usp10.c
--- dlls/usp10/usp10.c	8 May 2006 14:06:54 -0000	1.23
+++ dlls/usp10/usp10.c	11 May 2006 20:57:53 -0000
@@ -72,6 +72,10 @@ typedef struct scriptcache {
        HDC hdc;
 } Scriptcache;
 
+/***********************************************************************
+ *      DllMain
+ *
+ */
 BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
 {
     switch(fdwReason) {


More information about the wine-patches mailing list