ISInterface:RegisterService

From Lavish Software Wiki
Jump to navigation Jump to search

Syntax

  • HISXSERVICE RegisterService(ISXInterface *pMaster, char *Name, fISServiceRequest RequestCallback=0)

Purpose

To register a service that will allow clients such as extensions or Inner Space itself to connect and receive service from and or send requests to

Usage

Parameters

  • ISXInterface *pMaster
[in] Pointer to the extension
  • char *Name
[in] Name of the service
  • fISServiceRequest RequestCallback
[in] Optional, function to receive client connection and disconnection notices as well as requests from clients

Return Value

  • HISXSERVICE
Returns the handle to your service or 0 on failure

Examples

See Also