How do I add new toolbar-items to the toolbar via script?

I’ve read in a old message from “Notes/Domino 6 Pre-release Feedback Forum” that the Outline called “UserToolbar” contains all the toolbar’s, and the field $SiteMapList contains the formula-codes and properly other stuff.

And one said that he used a undocumented function called fInstallSmartIcon32 from the ninap.dll, to “install” a SmartIcon/Toolbar.

Does anyone of you know where I could find that dll?