Initializing the adapter

InitializeLibrary provides an entry point by which any global structures, critical sections, or lists that are required by the adapter can be initialized.

After the adapter has been loaded, the InitializeLibrary method is called. This method provides an entry point whereby any global structures, critical sections, lists, and so on required by the adapter can be initialized.

The DestroyLibrary method should be provided to clean up these same data structures.