Commit dcf8b5cd authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

wineps: Handle EMR_EXTESCAPE record in spool files.

parent 5104fcd7
...@@ -1559,6 +1559,19 @@ static int WINAPI hmf_proc(HDC hdc, HANDLETABLE *htable, ...@@ -1559,6 +1559,19 @@ static int WINAPI hmf_proc(HDC hdc, HANDLETABLE *htable,
data->patterns[p->ihBrush].bits.ptr = (BYTE *)p + p->offBits; data->patterns[p->ihBrush].bits.ptr = (BYTE *)p + p->offBits;
return 1; return 1;
} }
case EMR_EXTESCAPE:
{
const struct EMREXTESCAPE
{
EMR emr;
DWORD escape;
DWORD size;
BYTE data[1];
} *p = (const struct EMREXTESCAPE *)rec;
PSDRV_ExtEscape(&data->pdev->dev, p->escape, p->size, p->data, 0, NULL);
return 1;
}
case EMR_GRADIENTFILL: case EMR_GRADIENTFILL:
{ {
const EMRGRADIENTFILL *p = (const EMRGRADIENTFILL *)rec; const EMRGRADIENTFILL *p = (const EMRGRADIENTFILL *)rec;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment