45 Gdiplus::Bitmap* gdipBitmap = Gdiplus::Bitmap::FromStream(
stream,
FALSE);
49 ret = gdipBitmap->GetHBITMAP(Gdiplus::Color(0, 0, 0, 0), phBitmap) == Gdiplus::Ok;
73 if (
dib.dsBm.bmBitsPixel != 32)
78 n =
dib.dsBmih.biHeight *
dib.dsBmih.biWidth;
while(CdLookupNextInitialFileDirent(IrpContext, Fcb, FileContext))
BOOL WINAPI FreeResource(HGLOBAL handle)
HRSRC WINAPI FindResourceW(HINSTANCE hModule, LPCWSTR name, LPCWSTR type)
DWORD WINAPI SizeofResource(HINSTANCE hModule, HRSRC hRsrc)
LPVOID WINAPI LockResource(HGLOBAL handle)
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
GLuint GLuint GLsizei GLenum type
GLboolean GLboolean GLboolean GLboolean a
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
INT WINAPI MulDiv(INT nNumber, INT nNumerator, INT nDenominator)
BOOL MSSTYLES_TryLoadPng(_In_ HINSTANCE hTheme, _In_ LPCWSTR szFile, _In_ LPCWSTR type, _Out_ HBITMAP *phBitmap)
BOOL prepare_png_alpha(_In_ HBITMAP png, _Out_ BOOL *hasAlpha)
IStream *WINAPI SHCreateMemStream(const BYTE *lpbData, UINT dwDataLen)
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
#define UnlockResource(handle)
int WINAPI GetObjectW(_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)