Platform SDK: DirectX

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;                 
    DWORD dwFieldWidth;           
    DWORD dwVBIWidth;             
    DWORD dwFieldHeight;          
    DWORD dwMicrosecondsPerField; 
    DWORD dwMaxPixelsPerSecond;   
    DWORD dwVideoPortID;          
    DWORD dwReserved1;            
    DDVIDEOPORTCONNECT VideoPortType;  
    ULONG_PTR dwReserved2;        
    ULONG_PTR dwReserved3;        
 } DDVIDEOPORTDESC, *LPDDVIDEOPORTDESC; 

Members

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

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dvp.h.