LegacyUpdate/shared/LoadImage.h
2024-10-24 17:20:36 +10:30

5 lines
222 B
C

#include <windows.h>
#include <gdiplus.h>
GpBitmap *LoadPNGResource(HINSTANCE hInstance, LPWSTR resourceName, LPWSTR resourceType);
BOOL ScaleAndWriteToBMP(GpBitmap *bitmap, DWORD width, DWORD height, LPWSTR outputPath);