Retrieves the 'Mute' status 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
IF UPNPGetMute(Device) THEN
Trace(Device.Name + " = Mute")
ELSE
Trace(Device.Name + " = Not mute")
END
END
Syntax
<Result> = UPNPGetMute(<UPnP device>)
<Result>: Boolean
- True if the device is mute,
- False otherwise.
<UPnP device>: upnpDevice variable
Name of upnpDevice variable corresponding to the UPnP device to use.
Component: wd280device.dll