Skip to content
⌘ NSIS Forum Archive

plugin interface

4 posts

ncsengodi#

plugin interface

Hi!

Where can I find a complete description about the structures defined in exdll.h/.c.
ncsengodi#
I'm so sad. 😢

Some elements have an interesting name extra_parameters structure, and I would like to know more about them.
kichik#
Those are defined in exdll.h. Their meaning, if not understood, can be taken from Source\exehead\exec.c, where they're sent to the plug-in.

The flags member is pretty self-descriptive. ExecuteCodeSegment allows you to execute NSIS code. To get code addresses, you can use GetCurrentAddress, GetFunctionADdress and GetLabelAddress. validate_filename is a function that validates paths. That is, it removes any invalid characters and trailing garbage the user might have accidentally inputted.