IMFSourceOpenMonitor::OnSourceEvent method (mfidl.h)
Called by the network source when the open operation begins or ends.
Syntax
HRESULT OnSourceEvent(
[in] IMFMediaEvent *pEvent
);
Parameters
[in] pEvent
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 code | Description |
---|---|
|
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | mfidl.h |
Library | Mfuuid.lib |