Skip to main content

Module rt

Module rt 

Source
Expand description

The runtime pieces a no_std plug-in DLL needs in order to link at all.

nsis_plugin! wires all of this up; you rarely name anything here directly. Everything is Windows-only, so a plug-in crate still cargo checks and cargo tests on macOS and Linux.

Structs§

NsisAllocator
A GlobalAlloc on the process heap.

Functions§

abort
Ends the process.
hinstance
The plug-in’s own module handle, as RegisterPluginCallback requires.
set_hinstance
Records the module handle. Called from the generated DllMain.