Frank Richter <frank.richter(a)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(a)winehq.org