Delegates

[The feature associated with this page, Windows Media Streaming API, is a legacy feature. It has been superseded by Media Casting. Media Casting has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Media Casting instead of Windows Media Streaming API, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The Media Streaming API provides the following event handler functions.

In this section

Topic Description
ConnectionStatusHandler
Represents the function that will handle the ConnectionStatusChanged event which notifies the client of changes in the device s network connection status.
DeviceControllerFinderHandler
Represents the function that will handle the DeviceArrival and DeviceDeparture events which notify the client of changes in the list of cached devices.
RenderingParametersUpdateHandler
Represents the function that will handle the RenderingParametersUpdate event which notifies the client of an update to any of the DMR s rendering control parameters.
TransportParametersUpdateHandler
Represents the function that will handle the TransportParametersUpdate event which notifies the client of an update to any of the DMR s transport parameters.