mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:56:00 +00:00
[GDI32]
Implement GdiGetDcAttr. Just for convenience / cleaner code. svn path=/trunk/; revision=50321
This commit is contained in:
parent
1e3d9c9a96
commit
7cea632244
1 changed files with 10 additions and 0 deletions
|
@ -379,4 +379,14 @@ GdiAllocBatchCommand(
|
|||
return pHdr;
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
PDC_ATTR
|
||||
GdiGetDcAttr(HDC hdc)
|
||||
{
|
||||
PDC_ATTR pdcattr;
|
||||
|
||||
if (!GdiGetHandleUserData((HGDIOBJ)hdc, GDI_OBJECT_TYPE_DC, (PVOID*)&pdcattr)) return NULL;
|
||||
return pdcattr;
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue