Bump to 1.11
This commit is contained in:
@@ -4,13 +4,33 @@
|
||||
#define STRICT
|
||||
#endif
|
||||
|
||||
#define WINVER 0x0500
|
||||
#define _WIN32_WINNT 0x0500
|
||||
#define WINVER _WIN32_WINNT_WIN2K
|
||||
#define _WIN32_WINNT _WIN32_WINNT_WIN2K
|
||||
|
||||
#define ISOLATION_AWARE_ENABLED 1 // Enable comctl 6.0 (visual styles)
|
||||
// Use msvcrt stdio functions
|
||||
#define __USE_MINGW_ANSI_STDIO 0
|
||||
|
||||
// Enable comctl 6.0 (visual styles)
|
||||
#define ISOLATION_AWARE_ENABLED 1
|
||||
|
||||
// Enable COM C interfaces
|
||||
#define CINTERFACE
|
||||
#define COBJMACROS
|
||||
#define INITGUID
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "Trace.h"
|
||||
|
||||
EXTERN_C HWND g_hwndParent;
|
||||
|
||||
#define PLUGIN_METHOD(name) \
|
||||
EXTERN_C __declspec(dllexport) \
|
||||
void __cdecl name(HWND hwndParent, int string_size, TCHAR *variables, stack_t **stacktop, extra_parameters *extra)
|
||||
|
||||
#define PLUGIN_INIT() \
|
||||
if (extra && extra->exec_flags && (extra->exec_flags->plugin_api_version != NSISPIAPIVER_CURR)) { \
|
||||
return; \
|
||||
} \
|
||||
EXDLL_INIT(); \
|
||||
g_hwndParent = hwndParent;
|
||||
|
Reference in New Issue
Block a user