Skip to main content

Module raw

Module raw 

Source
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§

ExecFlags
Installer state exposed to plug-ins, mirroring exec_flags_t.
ExtraParameters
The extra_parameters block, fifth argument to every plug-in export.
StackNode
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.
NsisPluginCallback
A plug-in callback registered through ExtraParameters::register_plugin_callback.