"Paul Vriens" <[EMAIL PROTECTED]> 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.


Reply via email to