Accessing Configuration Information

The SNALink uses the following calls to obtain its configuration information:

SNAGetConfigValue Returns the value of a named configuration parameter.
SNAGetSystemInfo Returns general information on the version of Microsoft® SNA Server currently running, such as the release level, and the network operating system.

If the return code from SNAGetConfigValue indicates that the specified configuration parameter is not available, or if the information returned is invalid, it is the SNALink's responsibility to decide what action to take. If appropriate, an error message could be logged; see Diagnostics for more information on error logging.

It is strongly recommended that the SNALink read all required configuration parameters at initialization time (when SNALinkInitialize is called by the Base). This will safeguard against the configuration information changing while the link service is running.

Note Standard calling conventions [WINAPI] are used for all entry points including those provided by the IHV SNALink.