Partager via


STREAM_GetMediaSize_Response (Windows CE 5.0)

Send Feedback

This structure is used by IOCTL_STREAM_GET_MEDIA_SIZE.

typedef struct {  ULONG sgms_PacketSize;  ULONG sgms_FrameSize;} STREAM_GetMediaSize_Response;

Members

  • sgms_PacketSize
    Size, in bytes, of an individual packet for the specified media type. The packet size is immutable, and defined by the appropriate sections of IEC-61883.
  • sgms_FrameSize
    Current value for the frame size for the specified media type. The frame size represents a collection of packets that make up a buffer, used for the IOCTL_STREAM_ATTACH_BUFFER IOCTL. For some media types, such as DV, a logical frame represents a viewable video frame as well. When an application calls CreateFile on the device, the frame size value is set to its default value. The default value can be overridden by a later call to the IOCTL_STREAM_SET_MEDIA_SIZE IOCTL, which returns the current value, not the default value.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Avc_stream.h.

See Also

IOCTL_STREAM_ATTACH_BUFFER | CreateFile | IOCTL_STREAM_SET_MEDIA_SIZE | IOCTL_STREAM_GET_MEDIA_SIZE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.