|
Invoke an action on the upnp device
- Parameters:
-
| upnpDevice | The UPnP device |
| actionName | The name of the action to invoke |
| errorString | A newly-created error string if the action fails. Pass NULL if you don't want to use it. |
| numArgs | The number of action-specific arguments |
| ... | A list of action-specific arguments |
- Returns:
- An integer containing the UPnP status code
The list of action-specific arguments is a comma-separated list, that is organised as pairs of char* ARG_NAME and CgString* ARG_VALUE. ARG_NAME contains the name of the argument, while ARG_VALUE contains the value of the argument. You don't need to put anything inside OUT arguments, as they are not sent along with the action; their contents are set when the action post returns with OUT values that were received from the peer. |