Tweak the documentation to make winapi_check happy
Francois Gouget
fgouget at free.fr
Thu May 5 12:15:46 CDT 2005
Changelog:
* dlls/msi/registry.c
dlls/x11drv/opengl.c
Francois Gouget <fgouget at free.fr>
Tweak the documentation to make winapi_check happy
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
The nice thing about meditation is that it makes doing nothing quite respectable
-- Paul Dean
-------------- next part --------------
Index: dlls/msi/registry.c
===================================================================
RCS file: /var/cvs/wine/dlls/msi/registry.c,v
retrieving revision 1.8
diff -u -p -r1.8 registry.c
--- dlls/msi/registry.c 28 Apr 2005 18:28:11 -0000 1.8
+++ dlls/msi/registry.c 5 May 2005 14:37:48 -0000
@@ -722,6 +722,10 @@ UINT WINAPI MsiEnumClientsW(LPCWSTR szCo
return r;
}
+/*************************************************************************
+ * MsiEnumComponentQualifiersA [MSI.@]
+ *
+ */
UINT WINAPI MsiEnumComponentQualifiersA( LPSTR szComponent, DWORD iIndex,
LPSTR lpQualifierBuf, DWORD* pcchQualifierBuf,
LPSTR lpApplicationDataBuf, DWORD* pcchApplicationDataBuf)
@@ -768,7 +772,7 @@ UINT WINAPI MsiEnumComponentQualifiersA(
/*
* A bit of wizardry to report back the length without the null.
- * just in case the buffer is to small and is filled.
+ * just in case the buffer is too small and is filled.
*/
if (lpQualifierBuf)
{
@@ -799,6 +803,10 @@ UINT WINAPI MsiEnumComponentQualifiersA(
return rc;
}
+/*************************************************************************
+ * MsiEnumComponentQualifiersW [MSI.@]
+ *
+ */
UINT WINAPI MsiEnumComponentQualifiersW( LPWSTR szComponent, DWORD iIndex,
LPWSTR lpQualifierBuf, DWORD* pcchQualifierBuf,
LPWSTR lpApplicationDataBuf, DWORD* pcchApplicationDataBuf )
@@ -858,6 +866,10 @@ UINT WINAPI MsiEnumComponentQualifiersW(
return rc;
}
+/*************************************************************************
+ * MsiEnumRelatedProductsW [MSI.@]
+ *
+ */
UINT WINAPI MsiEnumRelatedProductsW(LPCWSTR szUpgradeCode, DWORD dwReserved,
DWORD iProductIndex, LPWSTR lpProductBuf)
{
@@ -885,6 +897,10 @@ UINT WINAPI MsiEnumRelatedProductsW(LPCW
return r;
}
+/*************************************************************************
+ * MsiEnumRelatedProductsA [MSI.@]
+ *
+ */
UINT WINAPI MsiEnumRelatedProductsA(LPCSTR szUpgradeCode, DWORD dwReserved,
DWORD iProductIndex, LPSTR lpProductBuf)
{
Index: dlls/x11drv/opengl.c
===================================================================
RCS file: /var/cvs/wine/dlls/x11drv/opengl.c,v
retrieving revision 1.5
diff -u -p -r1.5 opengl.c
--- dlls/x11drv/opengl.c 28 Apr 2005 18:29:12 -0000 1.5
+++ dlls/x11drv/opengl.c 5 May 2005 15:02:26 -0000
@@ -272,10 +272,11 @@ choose_exit:
return ret;
}
-/* X11DRV_DescribePixelFormat
-
- Get the pixel-format descriptor associated to the given id
-*/
+/**
+ * X11DRV_DescribePixelFormat
+ *
+ * Get the pixel-format descriptor associated to the given id
+ */
int X11DRV_DescribePixelFormat(X11DRV_PDEVICE *physDev,
int iPixelFormat,
UINT nBytes,
@@ -403,20 +404,22 @@ int X11DRV_DescribePixelFormat(X11DRV_PD
return ret;
}
-/* X11DRV_GetPixelFormat
-
- Get the pixel-format id used by this DC
-*/
+/**
+ * X11DRV_GetPixelFormat
+ *
+ * Get the pixel-format id used by this DC
+ */
int X11DRV_GetPixelFormat(X11DRV_PDEVICE *physDev) {
TRACE("(%p): returns %d\n", physDev, physDev->current_pf);
return physDev->current_pf;
}
-/* X11DRV_SetPixelFormat
-
- Set the pixel-format id used by this DC
-*/
+/**
+ * X11DRV_SetPixelFormat
+ *
+ * Set the pixel-format id used by this DC
+ */
BOOL X11DRV_SetPixelFormat(X11DRV_PDEVICE *physDev,
int iPixelFormat,
const PIXELFORMATDESCRIPTOR *ppfd) {
@@ -427,10 +430,11 @@ BOOL X11DRV_SetPixelFormat(X11DRV_PDEVIC
return TRUE;
}
-/* X11DRV_SwapBuffers
-
- Swap the buffers of this DC
-*/
+/**
+ * X11DRV_SwapBuffers
+ *
+ * Swap the buffers of this DC
+ */
BOOL X11DRV_SwapBuffers(X11DRV_PDEVICE *physDev) {
if (opengl_handle == NULL) {
ERR("No libGL on this box - disabling OpenGL support !\n");
More information about the wine-patches
mailing list