Implement NtGdiFlattenPath

svn path=/trunk/; revision=24064
This commit is contained in:
Saveliy Tretiakov 2006-09-11 10:43:42 +00:00
parent c19a362969
commit 059fb2c54e

View file

@ -172,8 +172,19 @@ BOOL
STDCALL STDCALL
NtGdiFlattenPath(HDC hDC) NtGdiFlattenPath(HDC hDC)
{ {
UNIMPLEMENTED; BOOL Ret = FALSE;
return 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;
} }