編輯

共用方式為


MENonFatalError event

A non-fatal error occurred during streaming. Any Media Foundation component can send this event at any time.

Event values

Possible values retrieved from IMFMediaEvent::GetValue include the following.

VARTYPE Description
VT_UI4
HRESULT value that describes the error.

Attributes

No attributes are defined for this event.

Remarks

This event signals an unexpected but recoverable error during streaming. For example, a media source might send this event if it drops a packet.

Do not send this event to signal that an asynchronous method failed. If an asynchronous method fails, the error code is returned in the normal event for that method.

If a non-recoverable streaming error occurs, send the MEError event.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
Mfobjects.h (include Mfidl.h)

See also

Media Foundation Events