[PATCH] uxtheme: support images in GetThemeBackgroundRegion
Alexandre Julliard
julliard at winehq.org
Tue Feb 24 09:02:58 CST 2015
Mark Harmstone <hellas at burntcomma.com> writes:
> + dc = CreateCompatibleDC(NULL);
> + if (!dc) {
> + WARN("CreateCompatibleDC failed\n");
> + DeleteObject(hrgn);
> + return E_FAIL;
> + }
> +
> + bmp = CreateBitmap(rect->right - rect->left, rect->bottom - rect->top, 1, 32, NULL);
You need a DIB for this, not a device bitmap.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list