MediaRenderer.add_TransportParametersUpdate method
Registers an event handler for the TransportParametersUpdate event.
HRESULT add_TransportParametersUpdate(
[in] TransportParametersUpdateHandler *handler,
[out, retval] EventRegistrationToken *token
);
handler [in]
A TransportParametersUpdateHandler event handler function.token [out, retval]
Reference to a token that can be used to unregister the event handler.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
S_OK | The method succeeded. |
To unregister the event handler that was registered by this method, pass the token value to the remove_TransportParametersUpdate method.