Archive: plugin interface


plugin interface
Hi!

Where can I find a complete description about the structures defined in exdll.h/.c.


There is none. Aside from other plug-ins as examples, these files are all there is.


I'm so sad. :cry:

Some elements have an interesting name extra_parameters structure, and I would like to know more about them.


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.