From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/Winamp/setup/langutil.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Src/Winamp/setup/langutil.h (limited to 'Src/Winamp/setup/langutil.h') diff --git a/Src/Winamp/setup/langutil.h b/Src/Winamp/setup/langutil.h new file mode 100644 index 00000000..dc4168de --- /dev/null +++ b/Src/Winamp/setup/langutil.h @@ -0,0 +1,18 @@ +#ifndef WINAMP_SETUP_LANGUTIL_HEADER +#define WINAMP_SETUP_LANGUTIL_HEADER + +#include +#include "./loadimage.h" + +INT_PTR WADialogBoxParam(LPCWSTR lpTemplateName, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam); +HWND WACreateDialogParam(LPCWSTR lpTemplateName, HWND hWndParent, DLGPROC lpDialogFunc, LPARAM dwInitParam); +HBITMAP WALoadImage2(LPCWSTR pszSectionName, LPCWSTR lpImageName, BOOL bPremult); + + +#define WADialogBox(lpTemplate, hWndParent, lpDialogFunc) \ +WADialogBoxParam(lpTemplate, hWndParent, lpDialogFunc, 0L) + +#define WACreateDialog(lpName, hWndParent, lpDialogFunc) \ +WACreateDialogParam(lpName, hWndParent, lpDialogFunc, 0L) + +#endif //WINAMP_SETUP_LANGUTIL_HEADER \ No newline at end of file -- cgit