IMFSourceOpenMonitor::OnSourceEvent method

Called by the network source when the open operation begins or ends.

Syntax


HRESULT OnSourceEvent(
  [in] IMFMediaEvent *pEvent
);

Parameters

pEvent [in]

Pointer to the IMFMediaEvent interface.

Return value

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

Return codeDescription
S_OK

The method succeeded.

 

Remarks

The networks source calls this method with the following event types.

For more information, see How to Get Events from the Network Source.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

Library

Mfuuid.lib

See also

IMFSourceOpenMonitor

 

 

Show: