共用方式為


MF_CAPTURE_ENGINE_EVENT_STREAM_INDEX attribute

Identifies which stream generated a capture event.

Data type

UINT32

Get/set

To get this attribute, call IMFAttributes::GetUINT32.

Remarks

This attribute appears on some events from the capture engine. To get this attribute, call IMFAttributes::GetUINT32 on the event object. The event object is passed to the application through the IMFCaptureEngineOnEventCallback::OnEvent method.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Mfcaptureengine.h

See also

Alphabetical List of Media Foundation Attributes

IMFCaptureEngineOnEventCallback::OnEvent