- Fix type in GetRandomRegion function.
- Add prototype to header.
This commit is contained in:
parent
1a6fa44658
commit
3e80fb4611
|
@ -504,18 +504,18 @@ INT16 WINAPI RestoreVisRgn16( HDC16 hdc16 )
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* This function is documented in MSDN online for the case of
|
* This function is documented in MSDN online for the case of
|
||||||
* dwCode == SYSRGN (4).
|
* iCode == SYSRGN (4).
|
||||||
*
|
*
|
||||||
* For dwCode == 1 it should return the clip region
|
* For iCode == 1 it should return the clip region
|
||||||
* 2 " " " the meta region
|
* 2 " " " the meta region
|
||||||
* 3 " " " the intersection of the clip with
|
* 3 " " " the intersection of the clip with
|
||||||
* the meta region (== 'Rao' region).
|
* the meta region (== 'Rao' region).
|
||||||
*
|
*
|
||||||
* See http://www.codeproject.com/gdi/cliprgnguide.asp
|
* See http://www.codeproject.com/gdi/cliprgnguide.asp
|
||||||
*/
|
*/
|
||||||
INT WINAPI GetRandomRgn(HDC hDC, HRGN hRgn, DWORD dwCode)
|
INT WINAPI GetRandomRgn(HDC hDC, HRGN hRgn, INT iCode)
|
||||||
{
|
{
|
||||||
switch (dwCode)
|
switch (iCode)
|
||||||
{
|
{
|
||||||
case SYSRGN: /* == 4 */
|
case SYSRGN: /* == 4 */
|
||||||
{
|
{
|
||||||
|
@ -543,7 +543,7 @@ INT WINAPI GetRandomRgn(HDC hDC, HRGN hRgn, DWORD dwCode)
|
||||||
return GetClipRgn (hDC, hRgn);
|
return GetClipRgn (hDC, hRgn);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
WARN("Unknown dwCode %ld\n", dwCode);
|
WARN("Unknown iCode %d\n", iCode);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3412,6 +3412,7 @@ INT WINAPI GetPath(HDC,LPPOINT,LPBYTE,INT);
|
||||||
COLORREF WINAPI GetPixel(HDC,INT,INT);
|
COLORREF WINAPI GetPixel(HDC,INT,INT);
|
||||||
INT WINAPI GetPixelFormat(HDC);
|
INT WINAPI GetPixelFormat(HDC);
|
||||||
INT WINAPI GetPolyFillMode(HDC);
|
INT WINAPI GetPolyFillMode(HDC);
|
||||||
|
INT WINAPI GetRandomRgn(HDC,HRGN,INT);
|
||||||
BOOL WINAPI GetRasterizerCaps(LPRASTERIZER_STATUS,UINT);
|
BOOL WINAPI GetRasterizerCaps(LPRASTERIZER_STATUS,UINT);
|
||||||
DWORD WINAPI GetRegionData(HRGN,DWORD,LPRGNDATA);
|
DWORD WINAPI GetRegionData(HRGN,DWORD,LPRGNDATA);
|
||||||
INT WINAPI GetRelAbs(HDC,DWORD);
|
INT WINAPI GetRelAbs(HDC,DWORD);
|
||||||
|
|
Loading…
Reference in New Issue