DDVIDEOPORTSTATUS

The DDVIDEOPORTSTATUS structure describes the status of a video-port object. This structure is used with the IDDVideoPortContainer::QueryVideoPortStatus method.

typedef struct _DDVIDEOPORTSTATUS {­

DWORD dwSize; // size of the structure

BOOL bInUse; // TRUE if video port is currently being used

DWORD dwFlags; // not used

DWORD dwReserved1; // reserved for future use

DDVIDEOPORTCONNECT VideoPortType; // information about the connection

DWORD dwReserved2; // reserved for future use

DWORD dwReserved3; // reserved for future use

} DDVIDEOPORTSTATUS, *LPDDVIDEOPORTSTATUS;

Members
dwSize
Size of this structure, in bytes. This member must be initialized before use.
bInUse
Value indicating the current status of the video port. This member is TRUE if the video port is currently being used, and FALSE otherwise.
dwFlags
Not currently used.
dwReserved1
Reserved; set to zero.
VideoPortType
A DDVIDEOPORTCONNECT structure that receives information about the video-port connection.
dwReserved2 and dwReserved3
Reserved; set to zero.