Difference between revisions of "ISInterface:RegisterService"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | ===Syntax=== | ||
+ | *HISXSERVICE RegisterService(ISXInterface *pMaster, char *Name, fISServiceRequest RequestCallback=0) | ||
== Purpose == | == 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 == | == Usage == | ||
=== Parameters === | === 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 === | === Return Value === | ||
+ | *HISXSERVICE | ||
+ | :Returns the handle to your service or 0 on failure | ||
+ | == Examples == | ||
− | |||
== See Also == | == See Also == | ||
* [[ISXDK:ISInterface|ISInterface]] | * [[ISXDK:ISInterface|ISInterface]] | ||
+ | * [[ISInterface:ServiceBroadcast|ServiceBroadcast]] | ||
+ | * [[ISInterface:ServiceNotify|ServiceNotify]] | ||
+ | * [[ISInterface:ShutdownService|ShutdownService]] | ||
[[Category:ISXDK]] | [[Category:ISXDK]] | ||
[[Category:ISInterface]] | [[Category:ISInterface]] |
Latest revision as of 21:45, 2 September 2005
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