gdi32: Constify some variables.

oldstable
Andrew Talbot 2007-04-29 13:17:29 +01:00 committed by Alexandre Julliard
parent 7bdba1b63a
commit 260deef761
2 changed files with 4 additions and 8 deletions

View File

@ -2332,9 +2332,7 @@ BOOL WINAPI TextOutW(HDC hdc, INT x, INT y, LPCWSTR str, INT count)
*
* See PolyTextOutW.
*/
BOOL WINAPI PolyTextOutA ( HDC hdc, /* [in] Handle to device context */
PPOLYTEXTA pptxt, /* [in] Array of strings */
INT cStrings ) /* [in] Number of strings in array */
BOOL WINAPI PolyTextOutA( HDC hdc, const POLYTEXTA *pptxt, INT cStrings )
{
for (; cStrings>0; cStrings--, pptxt++)
if (!ExtTextOutA( hdc, pptxt->x, pptxt->y, pptxt->uiFlags, &pptxt->rcl, pptxt->lpstr, pptxt->n, pptxt->pdx ))
@ -2353,9 +2351,7 @@ BOOL WINAPI PolyTextOutA ( HDC hdc, /* [in] Handle to device conte
* TRUE: Success.
* FALSE: Failure.
*/
BOOL WINAPI PolyTextOutW ( HDC hdc, /* [in] Handle to device context */
PPOLYTEXTW pptxt, /* [in] Array of strings */
INT cStrings ) /* [in] Number of strings in array */
BOOL WINAPI PolyTextOutW( HDC hdc, const POLYTEXTW *pptxt, INT cStrings )
{
for (; cStrings>0; cStrings--, pptxt++)
if (!ExtTextOutW( hdc, pptxt->x, pptxt->y, pptxt->uiFlags, &pptxt->rcl, pptxt->lpstr, pptxt->n, pptxt->pdx ))

View File

@ -3660,8 +3660,8 @@ BOOL WINAPI UpdateICMRegKeyA(DWORD,LPSTR,LPSTR,UINT);
BOOL WINAPI UpdateICMRegKeyW(DWORD,LPWSTR,LPWSTR,UINT);
#define UpdateICMRegKey WINELIB_NAME_AW(UpdateICMRegKey)
BOOL WINAPI WidenPath(HDC);
BOOL WINAPI PolyTextOutA(HDC,PPOLYTEXTA,INT);
BOOL WINAPI PolyTextOutW(HDC,PPOLYTEXTW,INT);
BOOL WINAPI PolyTextOutA(HDC,const POLYTEXTA*,INT);
BOOL WINAPI PolyTextOutW(HDC,const POLYTEXTW*,INT);
#define PolyTextOut WINELIB_NAME_AW(PolyTextOut)
/* These defines are used by wglSwapLayerBuffers */