Retrieves the volume of a UPnP device.
Caution: To use this function, the device must include a "RenderingControl" service.
arrDevice is array of upnpDevices
arrDevice = UPNPListDevice(...
"urn:schemas-upnp-org:device:MediaRenderer:1", 5)
FOR EACH Device OF arrDevice
Trace(Device..Name + ": " + UPNPGetVolume(Device))
END
Syntax
<Result> = UPNPGetVolume(<UPnP device>)
<Result>: Integer
Volume of the device (between 0 and 100).
<UPnP device>: upnpDevice variable
Name of upnpDevice variable corresponding to the UPnP device to use.
Component: wd280device.dll