WMT_FILESINK_DATA_UNIT structure

The WMT_FILESINK_DATA_UNIT structure is used by IWMWriterFileSink3::OnDataUnitEx to deliver information about a packet.

Syntax


typedef struct _WMT_FILESINK_DATA_UNIT {
  WMT_BUFFER_SEGMENT   packetHeaderBuffer;
  DWORD                cPayloads;
  WMT_BUFFER_SEGMENT   *pPayloadHeaderBuffers;
  DWORD                cPayloadDataFragments;
  WMT_PAYLOAD_FRAGMENT *pPayloadDataFragments;
} WMT_FILESINK_DATA_UNIT;

Members

packetHeaderBuffer

A WMT_BUFFER_SEGMENT structure specifying the buffer segment that contains the packet header.

cPayloads

Count of payloads in this packet. This is also the number of elements in the array specified in pPayloadHeaderBuffers.

pPayloadHeaderBuffers

Pointer to an array of WMT_BUFFER_SEGMENT structures. Each element specifies a buffer segment that contains a payload header. The number of elements is specified by cPayloads.

cPayloadDataFragments

Count of payload data fragments in this packet. This is also the number of elements in the array pointed to by pPayloadDataFragments.

pPayloadDataFragments

Pointer to an array of WMT_PAYLOAD_FRAGMENT structures. Each element specifies a buffer segment that contains a payload fragment. The number of elements is specified by cPayloadDataFragments.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Version

Windows Media Format 9 Series SDK, or later versions of the SDK

Header

Wmsdkidl.h (include Wmsdk.h)

See also

IWMWriterFileSink3::OnDataUnitEx
Structures

 

 

Show: