Parameter
|
Type
|
Description
|
---|---|---|
entityName
|
Input
|
Pointer to a character array. The name is represented as a modified UTF-8 string with the name of the entity targeted in this request. This parameter is guaranteed not to be NULL.
|
serviceName
|
Input
|
Pointer to a character array. This is the name of the service to be executed, represented in modified UTF-8. This parameter is guaranteed not to be NULL.
|
params
|
Input
|
Pointer to a twInfoTable. This is a pointer to an infotable that contains all of the parameters specified for this invocation of the service. This pointer may be NULL if the service in question has no input parameters. The API owns this pointer and will manage any memory associated with it.
|
content
|
Output
|
Pointer to a pointer to a twInfoTable. This is used to return any data the service returns back to the server. The callback function should create a twInfoTable as described previously and pass a pointer to that structure to *content. If the service does not return any data it is OK to set *content to NULL. The API will assume ownership of the pointer in *value, so the callback function does not need to worry about memory management of any infotables passed in or created and returned as values.
|
userdata
|
Input
|
The same pointer value that was passed in when this property was registered. This pointer can be used for anything, a typical use is to specify the ‘this’ pointer when using C++ class wrappers.
|
![]() |
A new instance of a twInfoTable should be created on the heap and a pointer to it returned.
|