export validate_filename for plug-ins
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4556 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
c07998b48c
commit
015723663b
2 changed files with 4 additions and 1 deletions
|
@ -75,6 +75,7 @@ typedef struct {
|
|||
typedef struct {
|
||||
exec_flags_type *exec_flags;
|
||||
int (__stdcall *ExecuteCodeSegment)(int, HWND);
|
||||
void (__stdcall *validate_filename)(char *);
|
||||
} extra_parameters;
|
||||
|
||||
// utility functions (not required but often useful)
|
||||
|
|
|
@ -30,9 +30,11 @@ exec_flags g_exec_flags;
|
|||
struct {
|
||||
exec_flags *flags;
|
||||
void *ExecuteCodeSegment;
|
||||
void *validate_filename;
|
||||
} plugin_extra_parameters = {
|
||||
&g_exec_flags,
|
||||
&ExecuteCodeSegment
|
||||
&ExecuteCodeSegment,
|
||||
&validate_filename
|
||||
};
|
||||
|
||||
#if defined(NSIS_SUPPORT_ACTIVEXREG) || defined(NSIS_SUPPORT_CREATESHORTCUT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue