mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 05:00:30 +00:00
gdi: Filter GETSCALINGFACTOR and SETABORTDOC proc in metafile
Escapes.
This commit is contained in:
parent
d2bdbd4ea5
commit
b49a1de179
@ -863,6 +863,13 @@ BOOL WINAPI PlayMetaFileRecord( HDC hdc, HANDLETABLE *ht, METARECORD *mr, UINT
|
||||
break;
|
||||
|
||||
case META_ESCAPE:
|
||||
switch (mr->rdParm[0]) {
|
||||
case GETSCALINGFACTOR: /* get function ... would just NULL dereference */
|
||||
return FALSE;
|
||||
case SETABORTPROC:
|
||||
FIXME("Filtering Escape(SETABORTPROC), possible virus?\n");
|
||||
return FALSE;
|
||||
}
|
||||
Escape(hdc, mr->rdParm[0], mr->rdParm[1], (LPCSTR)&mr->rdParm[2], NULL);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user