aboutsummaryrefslogtreecommitdiff
path: root/Src/auth/Loginbox/imageLoader.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/auth/Loginbox/imageLoader.h')
-rw-r--r--Src/auth/Loginbox/imageLoader.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Src/auth/Loginbox/imageLoader.h b/Src/auth/Loginbox/imageLoader.h
new file mode 100644
index 00000000..6169693e
--- /dev/null
+++ b/Src/auth/Loginbox/imageLoader.h
@@ -0,0 +1,16 @@
+#ifndef NULLSOFT_AUTH_LOGINBOX_IMAGELOADER_HEADER
+#define NULLSOFT_AUTH_LOGINBOX_IMAGELOADER_HEADER
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+#pragma once
+#endif
+
+#include <wtypes.h>
+
+void *ImageLoader_LoadData(HINSTANCE hInstance, LPCWSTR pszName, BOOL fPremultiply, INT *widthOut, INT *heightOut);
+void ImageLoader_FreeData(void *data);
+HBITMAP ImageLoader_LoadBitmapEx(HINSTANCE hInstance, LPCWSTR pszName, BOOL fPremultiply, BITMAPINFOHEADER *headerInfo, void **dataOut);
+HBITMAP ImageLoader_LoadBitmap(HINSTANCE hInstance, LPCWSTR pszName, BOOL fPremultiply, INT *widthOut, INT *heightOut);
+BOOL ImageLoader_GetDimensions(HINSTANCE hInstance, LPCWSTR pszName, INT *widthOut, INT *heightOut);
+
+#endif //NULLSOFT_AUTH_LOGINBOX_IMAGELOADER_HEADER \ No newline at end of file