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;