mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 16:36:11 +00:00
- Implemented GetDCOrg(), which is officially obsolete, but I've included it for completeness' sake :)
svn path=/trunk/; revision=8618
This commit is contained in:
parent
e2b29d7f6c
commit
025e88cba9
|
@ -895,6 +895,22 @@ GetDCOrgEx(
|
|||
return NtGdiGetDCOrgEx(a0,a1);
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
LONG
|
||||
STDCALL
|
||||
GetDCOrg(
|
||||
HDC a0
|
||||
)
|
||||
{
|
||||
// Officially obsolete by Microsoft
|
||||
POINT Pt;
|
||||
if (!NtGdiGetDCOrgEx(a0,&Pt))
|
||||
return 0;
|
||||
return(MAKELONG(Pt.x, Pt.y));
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue