[2/6] gdiplus: added GdipCreateBitmapFromFile
Alexandre Julliard
julliard at winehq.org
Tue Aug 7 09:10:39 CDT 2007
"Evan Stade" <estade at gmail.com> writes:
> + CloseHandle(file);
> +
> + if(CreateStreamOnHGlobal(buff, TRUE, &stream) != S_OK){
> + ERR("could not make stream\n");
> + GdipFree(buff);
> + return GenericError;
> + }
You should create a stream on the file directly instead of reading it
in first.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list