mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
- Implement GdiIsPlayMetafileDC.
svn path=/trunk/; revision=39837
This commit is contained in:
parent
9ea64ffebb
commit
3c959e9093
2 changed files with 16 additions and 5 deletions
|
@ -1148,15 +1148,25 @@ GdiIsMetaPrintDC(HDC hDC)
|
|||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
* @implemented
|
||||
*/
|
||||
BOOL
|
||||
WINAPI
|
||||
GdiIsPlayMetafileDC(HDC hdc)
|
||||
GdiIsPlayMetafileDC(HDC hDC)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
PDC_ATTR Dc_Attr;
|
||||
PLDC pLDC;
|
||||
|
||||
GdiGetHandleUserData((HGDIOBJ) hDC, GDI_OBJECT_TYPE_DC, (PVOID) &Dc_Attr);
|
||||
if ( Dc_Attr )
|
||||
{
|
||||
pLDC = Dc_Attr->pvLDC;
|
||||
if ( pLDC )
|
||||
{
|
||||
if ( pLDC->Flags & LDC_PLAY_MFDC ) return TRUE;
|
||||
}
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -176,6 +176,7 @@
|
|||
#define LDC_SAPCALLBACK 0x00000020
|
||||
#define LDC_INIT_DOCUMENT 0x00000040
|
||||
#define LDC_INIT_PAGE 0x00000080
|
||||
#define LDC_PLAY_MFDC 0x00000800
|
||||
#define LDC_CLOCKWISE 0x00002000
|
||||
#define LDC_KILL_DOCUMENT 0x00010000
|
||||
#define LDC_META_PRINT 0x00020000
|
||||
|
|
Loading…
Reference in a new issue