mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
Implement NtGdiFlattenPath
svn path=/trunk/; revision=24064
This commit is contained in:
@@ -172,8 +172,19 @@ BOOL
|
||||
STDCALL
|
||||
NtGdiFlattenPath(HDC hDC)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return FALSE;
|
||||
BOOL Ret = FALSE;
|
||||
DC *pDc;
|
||||
|
||||
DPRINT("Enter %s\n", __FUNCTION__);
|
||||
|
||||
pDc = DC_LockDc(hDC);
|
||||
if(!pDc) return FALSE;
|
||||
|
||||
if(pDc->w.path.state == PATH_Open)
|
||||
Ret = PATH_FlattenPath(&pDc->w.path);
|
||||
|
||||
DC_UnlockDc(pDc);
|
||||
return Ret;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user