Add files via upload

This commit is contained in:
Useful Stuffs
2024-02-11 12:51:01 +01:00
committed by GitHub
commit eac708fbdc
96 changed files with 28373 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#include <windows.h>
#include <nsis/pluginapi.h>
#include "../shared/HResult.h"
EXTERN_C __declspec(dllexport)
void __cdecl MessageForHresult(HWND hwndParent, int string_size, TCHAR *variables, stack_t **stacktop, extra_parameters *extra) {
EXDLL_INIT();
g_hwndParent = hwndParent;
HRESULT hr = popint();
LPWSTR message = GetMessageForHresult(hr);
pushstring(message);
LocalFree(message);
}