다음을 통해 공유


WM_STREAM_PRIORITY_RECORD structure (wmsdkidl.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The WM_STREAM_PRIORITY_RECORD structure contains a stream number and specifies whether delivery of that stream is mandatory.

Syntax

typedef struct _WMStreamPrioritizationRecord {
  WORD wStreamNumber;
  BOOL fMandatory;
} WM_STREAM_PRIORITY_RECORD;

Members

wStreamNumber

WORD containing the stream number.

fMandatory

Flag indicating whether the listed stream is mandatory. Mandatory streams will not be dropped regardless of their position in the priority list.

Remarks

WM_STREAM_PRIORITY_RECORD is used in an array by the IWMStreamPrioritization interface. Each member of the array specifies a stream; the lower the element number in the array, the higher the priority of the stream.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only],Windows Media Format 9 Series SDK, or later versions of the SDK
Minimum supported server Windows 2000 Server [desktop apps only]
Header wmsdkidl.h (include Wmsdk.h)

See also

IWMStreamPrioritization Interface

Structures