// Add an output parameter to a specific action Action* action = device->GetService("MyService")->GetAction("MyAction"); action->AddOutputParameter("OutputParam1", "string");
// Add multiple output parameters to a specific action Action* action = device->GetService("MyService")->GetAction("MyAction"); action->AddOutputParameter("OutputParam1", "string"); action->AddOutputParameter("OutputParam2", "int");This example adds two output parameters named "OutputParam1" with data type "string" and "OutputParam2" with data type "int" to the action "MyAction". Package library: openhome/Net/Action.h