changed RegisterPluginCallback return from BOOL to int to support a more detailed return value

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5879 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2008-12-21 19:14:45 +00:00
parent a821a3ee5e
commit 6ade56370b
3 changed files with 6 additions and 6 deletions

View file

@ -65,7 +65,7 @@ typedef struct {
exec_flags_t *exec_flags;
int (NSISCALL *ExecuteCodeSegment)(int, HWND);
void (NSISCALL *validate_filename)(char *);
BOOL (NSISCALL *RegisterPluginCallback)(HMODULE, NSISPLUGINCALLBACK);
int (NSISCALL *RegisterPluginCallback)(HMODULE, NSISPLUGINCALLBACK); // returns 0 on success, 1 if already registered and < 0 on errors
} extra_parameters;
// Definitions for page showing plug-ins