Microsoft Windows CE 3.0  

DDVIDEOPORTCONNECT

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The DDVIDEOPORTCONNECTstructure describes a video port connection. This structure is used with the IDDVideoPortContainer::GetVideoPortConnectInfomethod.

typedef struct _DDVIDEOPORTCONNECT{
DWORD
dwSize
;
DWORD
dwPortWidth
; GUID
guidTypeID
;
DWORD
dwFlags
;
ULONG_PTR
dwReserved1
;
} DDVIDEOPORTCONNECT,*LPDDVIDEOPORTCONNECT;

Members

dwSize
Size of the structure, in bytes. This member must be initialized before use.
dwPortWidth
Width of the video port. This value represents the number of physical pins on the video port, not the width of a surface in memory. This member must always be set, even when the value in the guidTypeIDmember assumes a certain size.
guidTypeID
A GUID that describes the sync characteristics of the video port. The following port types are predefined:
DDVPTYPE_E_HREFH_VREFH External syncs where HREF is active high and VREF is active high.
DDVPTYPE_E_HREFH_VREFL External syncs where HREF is active high and VREF is active low.
DDVPTYPE_E_HREFL_VREFH External syncs where HREF is active low and VREF is active high.
DDVPTYPE_E_HREFL_VREFL External syncs where HREF is active low and VREF is active low.
DDVPTYPE_CCIR656 Sync information is embedded in the data stream according to the CCIR656 specification.
DDVPTYPE_BROOKTREE Sync information is embedded in the data stream using the Brooktree definition.
DDVPTYPE_PHILIPS Sync information is embedded in the data stream using the Philips definition.
dwFlags
Flags describing the capabilities of the video-port connection. This member can be set by DirectDraw when connection information is being retrieved or by the client when connection information is being set. This member can be a combination of the following flags:
DDVPCONNECT_DOUBLECLOCK Indicates that the video port either supports double-clocking data or should double-clock data. This flag is only valid with an external sync.
DDVPCONNECT_VACT Indicates that the video port either supports using an external VACT signal or should use the external VACT signal. This flag is only valid with an external sync.
DDVPCONNECT_INVERTPOLARITY Indicates that the video port is capable of inverting the field polarities or is to invert field polarities. When a video port inverts field polarities, it treats even fields as odd fields and odd fields as even fields.
DDVPCONNECT_DISCARDSVREFDATA The video port discards any data written during the VREF period, causing it to not be written to the frame buffer. This flag is read-only.
DDVPCONNECT_HALFLINE The video port will write half lines into the frame buffer, which can cause the data to be displayed incorrectly. This flag is read-only.
DDVPCONNECT_INTERLACED Indicates that the signal is interlaced. This flag is only used by the client when creating a video port object.
DDVPCONNECT_SHAREEVEN The physical video port is shareable, and that this video port object will use the even fields. This flag is only used by the client when creating the video port object.
DDVPCONNECT_SHAREODD The physical video port is shareable, and that this video port object will use the odd fields. This flag is only used by the client when creating the video port object.
dwReserved1
Reserved; set to zero.

Remarks

This structure is used independently and as a member of the DDVIDEOPORTDESCstructure.

Requirements

Runs on Versions Declared in
Windows CE OS 2.12 or later. Version 2.12 requires DXPAK 1.0 or later. dvp.h