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;