The following table summarizes some of the useful entry points in the .INF file that contains utility functions. The file name is in the variable UtilityInf; usually set to SNAUTILS.INF.
Function name | Description |
---|---|
CreateSNARegEntry | Creates the necessary entries for an instance in the SOFTWARE\Microsoft registry tree. |
CreateSNAService | Creates the necessary entries for an instance in the Services registry tree. |
DeleteSNAService | Deletes a particular service using the Service Control Manager. |
EnterServiceName | Presents the user with an algorithmically determined service name for a component and allows the user to change it before returning the final value. |
FindNextAvailableIndex | Determines the index a new instance should receive. |
FindSNAProductServices | Enumerates all instances of a product. |
FindSNARegEntry | Attempts to open all of the necessary registry keys and return open handles to them. |
FindSNAService | Provides an easy way to access the keys for a particular service. |
GrepUniqueServiceInfo | Determines the information about a particular instance when only one of the four elements is available. |
SetupMessage | Displays a dialog box with user-defined text plus OK and Cancel buttons. |