Added some plugincallback api stuff and fixed spelling
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6084 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
743ad095f5
commit
27977fd335
1 changed files with 11 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
Original Code from
|
Original Code from
|
||||||
(C) 2001 - Peter Windridge
|
(C) 2001 - Peter Windridge
|
||||||
|
|
||||||
Code in seperate unit and some changes
|
Code in separate unit and some changes
|
||||||
2003 by Bernhard Mayer
|
2003 by Bernhard Mayer
|
||||||
|
|
||||||
Fixed and formatted by Brett Dever
|
Fixed and formatted by Brett Dever
|
||||||
|
@ -50,9 +50,18 @@ type
|
||||||
);
|
);
|
||||||
TVariableList = INST_0..__INST_LAST;
|
TVariableList = INST_0..__INST_LAST;
|
||||||
|
|
||||||
|
type
|
||||||
|
PluginCallbackMessages = (
|
||||||
|
NSPIM_UNLOAD, // This is the last message a plugin gets, do final cleanup
|
||||||
|
NSPIM_GUIUNLOAD, // Called after .onGUIEnd
|
||||||
|
);
|
||||||
|
TNSPIM = NSPIM_UNLOAD..NSPIM_GUIUNLOAD;
|
||||||
|
|
||||||
|
//TPluginCallback = function (const NSPIM: Integer): Pointer;
|
||||||
|
|
||||||
TExecuteCodeSegment = function (const funct_id: Integer; const parent: HWND): Integer; stdcall;
|
TExecuteCodeSegment = function (const funct_id: Integer; const parent: HWND): Integer; stdcall;
|
||||||
Tvalidate_filename = procedure (const filename: PChar); stdcall;
|
Tvalidate_filename = procedure (const filename: PChar); stdcall;
|
||||||
TRegisterPluginCallback = function (const unknow: Integer; const uknown2: Integer): Integer; stdcall;
|
TRegisterPluginCallback = function (const DllInstance: HMODULE; const CallbackFunction: Pointer): Integer; stdcall;
|
||||||
|
|
||||||
pexec_flags_t = ^exec_flags_t;
|
pexec_flags_t = ^exec_flags_t;
|
||||||
exec_flags_t = record
|
exec_flags_t = record
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue