mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 08:53:02 +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
|
BOOL
|
||||||
WINAPI
|
WINAPI
|
||||||
GdiIsPlayMetafileDC(HDC hdc)
|
GdiIsPlayMetafileDC(HDC hDC)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
PDC_ATTR Dc_Attr;
|
||||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
PLDC pLDC;
|
||||||
return 0;
|
|
||||||
|
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_SAPCALLBACK 0x00000020
|
||||||
#define LDC_INIT_DOCUMENT 0x00000040
|
#define LDC_INIT_DOCUMENT 0x00000040
|
||||||
#define LDC_INIT_PAGE 0x00000080
|
#define LDC_INIT_PAGE 0x00000080
|
||||||
|
#define LDC_PLAY_MFDC 0x00000800
|
||||||
#define LDC_CLOCKWISE 0x00002000
|
#define LDC_CLOCKWISE 0x00002000
|
||||||
#define LDC_KILL_DOCUMENT 0x00010000
|
#define LDC_KILL_DOCUMENT 0x00010000
|
||||||
#define LDC_META_PRINT 0x00020000
|
#define LDC_META_PRINT 0x00020000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue