Defines a service at initialization time.
DWORD xxxDefineService (char *svcname)
|
Argument |
Description |
|
svcname |
Pointer to the name of a service to be registered with Natural Access. |
SUCCESS or error returned by dispRegisterService
xxxDefineService is called at initialization time for each service to be registered with the dispatcher. xxxDefineService calls dispRegisterService to perform the following functions:
Declare the parameter descriptor tables.
Declare the version numbers for the service.
Request SPI compatibility level checking for other services whose SPI is called from this service.
Declare compatibility levels for service.
For more information about this function, refer to Registering services.