winedump: Add initial support for handling EMF+ records

Dmitry Timoshkov dmitry at baikal.ru
Fri Jun 30 10:50:08 CDT 2017


Piotr Caban <piotr at codeweavers.com> wrote:

>  #define EMRCASE(x) case x: printf("%-20s %08x\n", #x, length); break
> +#define EMRPLUSCASE(x) case x: printf("    %-20s %04x %08x\n", #x, header->Flags, header->Size); break;

';' at the end is redundant. EMRCASE macro intentionally omits it.

> +        /* Hand EMF+ records */
> +        if (length >= 16 && !memcmp((char*)PRD(offset + 12, sizeof(unsigned int)), "EMF+", 4))

A typo in the comment.

-- 
Dmitry.



More information about the wine-devel mailing list