Re: [2/6] gdiplus: added GdipCreateBitmapFromFile
Aug. 7, 2007
2:10 p.m.
"Evan Stade" <estade(a)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(a)winehq.org
6806
Age (days ago)
6806
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard