imageLoader.h 751 B

12345678910111213141516
  1. #ifndef NULLSOFT_AUTH_LOGINBOX_IMAGELOADER_HEADER
  2. #define NULLSOFT_AUTH_LOGINBOX_IMAGELOADER_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include <wtypes.h>
  7. void *ImageLoader_LoadData(HINSTANCE hInstance, LPCWSTR pszName, BOOL fPremultiply, INT *widthOut, INT *heightOut);
  8. void ImageLoader_FreeData(void *data);
  9. HBITMAP ImageLoader_LoadBitmapEx(HINSTANCE hInstance, LPCWSTR pszName, BOOL fPremultiply, BITMAPINFOHEADER *headerInfo, void **dataOut);
  10. HBITMAP ImageLoader_LoadBitmap(HINSTANCE hInstance, LPCWSTR pszName, BOOL fPremultiply, INT *widthOut, INT *heightOut);
  11. BOOL ImageLoader_GetDimensions(HINSTANCE hInstance, LPCWSTR pszName, INT *widthOut, INT *heightOut);
  12. #endif //NULLSOFT_AUTH_LOGINBOX_IMAGELOADER_HEADER