gdi32: Constify some variables.
This commit is contained in:
parent
7bdba1b63a
commit
260deef761
|
@ -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 ))
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue