Initialization function - vsmInit()

This DLL function is called by Embed to allow the DLL to perform initialization, particularly to insert userFunction blocks into the Blocks menu.

EXPORT32 int EXPORT PASCAL vsmInit()

To have vsmInit() be called when Embed starts up, you must tell Embed the path to your DLL, as described under Accessing a custom block from Embed.