11 Nov
2008
11 Nov
'08
3:46 a.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.
6242
Age (days ago)
6242
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov