От: | Аноним | ||
Дата: | 07.11.10 21:47 | ||
Оценка: |
IStream* Stream = NULL;
if (CreateStreamOnHGlobal( Buffer, FALSE, &Stream ) == S_OK)
(*Image) = Gdiplus::Image::FromStream( Stream );
...
reinterpret_cast<PBitmap>(Image)->GetHBITMAP( Gdiplus::Color( 255, 255, 255 ),
&result );