DDVIDEOPORTDESC

The DDVIDEOPORTDESC structure describes a video-port object to be created. This structure is used with the IDDVideoPortContainer::CreateVideoPort method.

typedef struct _DDVIDEOPORTDESC { 
    DWORD dwSize;                 // Size of the DDVIDEOPORTDESC structure.
    DWORD dwFieldWidth;           // Width of the video port field.
    DWORD dwVBIWidth;             // Width of the VBI data.
    DWORD dwFieldHeight;          // Height of the video port field.
    DWORD dwMicrosecondsPerField; // Microseconds per video field.
    DWORD dwMaxPixelsPerSecond;   // Maximum pixel rate per second.
    DWORD dwVideoPortID;          // Video port ID (0 - (dwMaxVideoPorts -1)).
    DWORD dwReserved1;            // Reserved for future use - set to zero.
    DDVIDEOPORTCONNECT VideoPortType;  // Description of video port connection.
    DWORD dwReserved2;            // Reserved for future use - set to zero.
    DWORD dwReserved3;            // Reserved for future use - set to zero.
 } DDVIDEOPORTDESC, *LPDDVIDEOPORTDESC; 
 

Members

dwSize
Size of this structure, in bytes. This member must be initialized before use.
dwFieldWidth
Width of incoming video stream, in pixels.
dwVBIWidth
Width of the VBI data in the incoming video stream, in pixels.
dwFieldHeight
Field height for fields in the incoming video stream, in scan lines.
dwMicrosecondsPerField
Time interval, in microseconds, between live video VREF periods. This number should be rounded up to the nearest microsecond.
dwVideoPortID
The zero-based ID of the physical video port to be used.
dwReserved1
Reserved; set to zero.
VideoPortType
A DDVIDEOPORTCONNECT structure describing the connection characteristics of the video port.
dwReserved2 and dwReserved3
Reserved; set to zero.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in dvp.h.