Download Manual

Transcript
UPnP Device SDK Manual
2.25 UPnP_SetActionArg
FUNCTION
Set an argument for a SOAP action response/request..
SUMMARY
int UPnP_SetActionArg ( IXML_Document* actionDoc, const UPNP_CHAR* name,
const UPNP_CHAR* value )
IXML_Document* actionDoc
Pointer to action respose message.
UPNP_CHAR* name
Pointer to string containing argument name.
UPNP_CHAR* value
Pointer to string containing argument value.
DESCRIPTION
This function can be used on an IXML_Document created by either UPnP_CreateActionResponse or
UPnP_CreateAction to set either the input or output arguments for a SOAP action.
RETURNS
0
Operation was a success
-1
Operation failed
SEE ALSO
UPnP_CreateAction ( )
65