DDVIDEOPORTDESC structure (dvp.h)

The DDVIDEOPORTDESC structure describes the video port extensions (VPE) object being created.

Syntax

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;
} *LPDDVIDEOPORTDESC, DDVIDEOPORTDESC;

Members

dwSize

Specifies the size in bytes of the DDVIDEOPORTDESC structure.

dwFieldWidth

Specifies the width in pixels of the incoming video stream.

dwVBIWidth

Specifies the width, in number of samples, of the VBI data in the incoming video stream.

dwFieldHeight

Specifies the field height in scan lines of the incoming video stream.

dwMicrosecondsPerField

Specifies the time interval in microseconds between live video VSYNCs. This number should be rounded up to the nearest whole microsecond.

dwMaxPixelsPerSecond

Specifies the maximum pixel rate per second.

dwVideoPortID

Specifies the ID of the hardware video port to be used. This ID should range from 0 to (dwMaxVideoPorts -1), where dwMaxVideoPorts is a member of the DDCORECAPS structure.

dwReserved1

Reserved for system use and should be ignored by the driver.

VideoPortType

Specifies a DDVIDEOPORTCONNECT structure describing the connection characteristics of the hardware video port.

dwReserved2

Reserved for future use and should be ignored by the driver.

dwReserved3

Reserved for future use and should be ignored by the driver.

Requirements

Requirement Value
Header dvp.h (include Dvp.h)

See also

DDCORECAPS

DDVIDEOPORTCONNECT