mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 00:45:43 +00:00
[GDI32]
Implement GdiGetRgnAttr svn path=/trunk/; revision=65717
This commit is contained in:
parent
f9b8d7214f
commit
ab81b74bb4
1 changed files with 15 additions and 0 deletions
|
@ -398,6 +398,21 @@ GdiGetDcAttr(HDC hdc)
|
||||||
return pdcattr;
|
return pdcattr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FORCEINLINE
|
||||||
|
PRGN_ATTR
|
||||||
|
GdiGetRgnAttr(HRGN hrgn)
|
||||||
|
{
|
||||||
|
PRGN_ATTR prgnattr;
|
||||||
|
|
||||||
|
/* Get the region attribute */
|
||||||
|
if (!GdiGetHandleUserData(hrgn, GDILoObjType_LO_REGION_TYPE, (PVOID*)&prgnattr))
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
return prgnattr;
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef _M_IX86
|
#ifdef _M_IX86
|
||||||
FLOATL FASTCALL EFtoF(EFLOAT_S * efp);
|
FLOATL FASTCALL EFtoF(EFLOAT_S * efp);
|
||||||
#define FOtoF(pfo) EFtoF((EFLOAT_S*)pfo)
|
#define FOtoF(pfo) EFtoF((EFLOAT_S*)pfo)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue