Compartir a través de


TransportParametersUpdateHandler function

Represents the function that will handle the TransportParametersUpdate event which notifies the client of an update to any of the DMR’s transport parameters.

Syntax

HRESULT TransportParametersUpdateHandler(
  _In_ IMediaRenderer       *sender,
  _In_ ITransportParameters *arg
);

Parameters

  • sender [in]
    A reference to the event source.

  • arg [in]
    An ITransportParameters representation of the transport parameters.

Return value

The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK

The function succeeded.

 

Remarks

To register this handler with the TransportParametersUpdate event call the add_TransportParametersUpdate method, and to unregister it call the remove_TransportParametersUpdate method.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

Library

Mf.lib

DLL

Mf.dll