Expand description
Raw FFI declarations, transcribed from the NSIS 3.12 sources.
Everything here is a faithful mirror of Source/exehead/api.h and
Contrib/ExDLL/pluginapi.h. Field order matters — do not reorder.
Structs§
- Exec
Flags - Installer state exposed to plug-ins, mirroring
exec_flags_t. - Extra
Parameters - The
extra_parametersblock, fifth argument to every plug-in export. - Stack
Node - A node of the installer’s
GlobalAlloc’d singly linked stack.
Constants§
- NSISPIAPIVER_
1_ 0 - Plug-in ABI version introduced in NSIS 2.42.
- NSISPIAPIVER_
CURR - The most recent plug-in ABI version this crate knows about.
- NSPIM_
GUIUNLOAD - Sent after
.onGUIEnd. - NSPIM_
UNLOAD - Last message a plug-in receives: do final cleanup.
Type Aliases§
- Export
- The signature of every plug-in export, as generated by
nsis_fn!. - Hmodule
- Module handle of the loaded plug-in DLL.
- Hwnd
- Installer’s parent window.
- Nsis
Plugin Callback - A plug-in callback registered through
ExtraParameters::register_plugin_callback.