user: test: LoadImage() alpha handling

Alexandre Julliard julliard at winehq.org
Fri Jul 8 09:18:02 CDT 2005


Frank Richter <frank.richter at gmail.com> writes:

> +static void test_LoadImage(void)
> +{
> +    HINSTANCE hInst = GetModuleHandle (NULL);
> +    HBITMAP bmp = LoadImage (hInst, MAKEINTRESOURCE(1), IMAGE_BITMAP, 
> +	0, 0, LR_CREATEDIBSECTION|LR_SHARED);
> +    DIBSECTION ds;
> +
> +    GetObject (bmp, sizeof(ds), &ds);
> +
> +    todo_wine ok (((BYTE*)ds.dsBm.bmBits)[3] == 0x7f, "alpha value %x != 0x7f\n", 
> +	((BYTE*)ds.dsBm.bmBits)[3]);

Is this really supposed to fail on Wine?  It works fine here...

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list