Difference between revisions of "ISInterface:ConnectService"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | ===Syntax=== | ||
+ | *HISXSERVICE ConnectService(ISXInterface *pClient, char *ServiceName, fISService NotifyCallback) | ||
== Purpose == | == Purpose == | ||
− | + | To connect a service | |
== Usage == | == Usage == | ||
=== Parameters === | === Parameters === | ||
+ | *ISXInterface *pClient | ||
+ | :'''[in]''' Pointer to the extension | ||
+ | *char *ServiceName | ||
+ | :'''[in]''' Name of the service | ||
+ | *fISService NotifyCallback | ||
+ | :'''[in]''' Function that will handle notifications from the master as well as disconnect notifications | ||
+ | |||
=== Return Value === | === Return Value === | ||
+ | *HISXSERVICE | ||
+ | :Returns a handle to the service or 0 on failure | ||
+ | == Examples == | ||
− | |||
== See Also == | == See Also == | ||
* [[ISXDK:ISInterface|ISInterface]] | * [[ISXDK:ISInterface|ISInterface]] | ||
− | + | * [[ISInterface:ServiceRequest|ServiceRequest]] | |
+ | * [[ISInterface:DisconnectService|DisconnectService]] | ||
[[Category:ISXDK]] | [[Category:ISXDK]] | ||
[[Category:ISInterface]] | [[Category:ISInterface]] |
Latest revision as of 22:14, 2 September 2005
Syntax
- HISXSERVICE ConnectService(ISXInterface *pClient, char *ServiceName, fISService NotifyCallback)
Purpose
To connect a service
Usage
Parameters
- ISXInterface *pClient
- [in] Pointer to the extension
- char *ServiceName
- [in] Name of the service
- fISService NotifyCallback
- [in] Function that will handle notifications from the master as well as disconnect notifications
Return Value
- HISXSERVICE
- Returns a handle to the service or 0 on failure