10 Nov
2008
10 Nov
'08
9:46 p.m.
"Paul Vriens" <paul.vriens.wine(a)gmail.com> wrote:
static HENHMETAFILE create_emf(void) { RECT rect = {0, 0, 100, 100}; + const RECT rect2 = {0, 0, 100, 100}; HDC hdc = CreateEnhMetaFile(NULL, NULL, &rect, "HENHMETAFILE Marshaling Test\0Test\0\0"); - ExtTextOut(hdc, 0, 0, ETO_OPAQUE, NULL, "Test String", strlen("Test String"), NULL); + ExtTextOut(hdc, 0, 0, ETO_OPAQUE, &rect2, "Test String", strlen("Test String"), NULL);
Is there any reason that you introduced rect2 instead of using existing rect? -- Dmitry.