看NSIS的说明中关于System的部分
D.3 Calling an external DLL using the System.dll plug-in
Some install processes are required to call functions contained inside third party DLLs. A prime example of this is when installing a Palm(TM) conduit.
Some background about System.dll
The System.dll plug-in (by Brainsucker) enables calling of external DLLs by providing the 'Call' function. There are a number of other functions provided by System.dll, but they will not be covered here. For more details about the other functions, lock the doors, take the phone off the hook, screw your head on *real* tight and head on over to the System readme.
Data Types
System.dll recognises the following data types:
- v - void (generally for return)
- i - int (includes char, byte, short, handles, pointers and so on)
- l - long & large integer (known as int64)
- t - text, string (LPCSTR, pointer to first character)
- b - boolean (needs/returns 'true':'false') - by the fact this type is senseless -> usual integer can be used ('0':'1')
- k - callback. See Callback section in system.html.
- * - pointer specifier -> the proc needs the pointer to type, affects next char (parameter) [ex: '*i' - pointer to int]