In order to provide connection management, PI Login services requires each application to register itself with a call to pilg_registerapp passing the PI-API DLL the application is using. Other login service functions will return an error unless this registration is performed. When the application exits it should call pilg_unregisterapp to remove itself from the list of managed connections.
Also provided is a means to register a help file with each application, pilg_registerhelp. An application can specify a help file and context IDs within the help file which are called when the help buttons in the supplied dialogs are activated.