no more /UNLOAD with new plug-in api
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5844 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
06ab0c6314
commit
3db2839a3c
9 changed files with 65 additions and 36 deletions
|
@ -98,10 +98,17 @@ DWORD WINAPI BannerThread(LPVOID lpParameter)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void __declspec(dllexport) show(HWND hwndParent, int string_size, char *variables, stack_t **stacktop)
|
||||
static UINT_PTR PluginCallback(enum NSPIM msg)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void __declspec(dllexport) show(HWND hwndParent, int string_size, char *variables, stack_t **stacktop, extra_parameters *extra)
|
||||
{
|
||||
EXDLL_INIT();
|
||||
|
||||
extra->RegisterPluginCallback(hInstance, PluginCallback);
|
||||
|
||||
{
|
||||
DWORD dwThreadId;
|
||||
DWORD dwMainThreadId = GetCurrentThreadId();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue