Difference between revisions of "ISInterface:ServiceRequest"

From Lavish Software Wiki
Jump to navigation Jump to search
 
 
Line 1: Line 1:
 +
===Syntax===
 +
*bool ServiceRequest(ISXInterface *pClient, HISXSERVICE hService, unsigned long MSG, void *lpData)
 
== Purpose ==
 
== Purpose ==
 
+
To send a request to a service
 
== Usage ==
 
== Usage ==
 
=== Parameters ===
 
=== Parameters ===
 +
*ISXInterface *pClient
 +
:'''[in]''' Pointer to the extension
 +
*HISXSERVICE hService
 +
:'''[in]''' Handle to the service returned from [[ISInterface:ConnectService|ConnectService]]
 +
*unsigned long MSG
 +
:'''[in]''' Service specific message number
 +
*void *lpData
 +
:'''[in]''' Data to be passed along with the message
 
=== Return Value ===
 
=== Return Value ===
 +
*bool
 +
:Returns true on success, false on failure
 +
== Examples ==
  
== Examples ==
 
  
 
== See Also ==
 
== See Also ==
 
* [[ISXDK:ISInterface|ISInterface]]
 
* [[ISXDK:ISInterface|ISInterface]]
 +
* [[ISInterface:ConnectService|ConnectService]]
 +
* [[ISInterface:DisconnectService|DisconnectService]]
  
 
[[Category:ISXDK]]
 
[[Category:ISXDK]]
 
[[Category:ISInterface]]
 
[[Category:ISInterface]]

Latest revision as of 22:14, 2 September 2005

Syntax

  • bool ServiceRequest(ISXInterface *pClient, HISXSERVICE hService, unsigned long MSG, void *lpData)

Purpose

To send a request to a service

Usage

Parameters

  • ISXInterface *pClient
[in] Pointer to the extension
  • HISXSERVICE hService
[in] Handle to the service returned from ConnectService
  • unsigned long MSG
[in] Service specific message number
  • void *lpData
[in] Data to be passed along with the message

Return Value

  • bool
Returns true on success, false on failure

Examples

See Also