DirectX SDK

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;        
    BOOL  bInUse;        
    DWORD dwFlags;       
    DWORD dwReserved1;   
    DDVIDEOPORTCONNECT VideoPortType;  
    ULONG_PTR dwReserved2; 
    ULONG_PTR dwReserved3; 
} DDVIDEOPORTSTATUS, *LPDDVIDEOPORTSTATUS; 

Members

dwSize
Size of this structure, in bytes. This member must be initialized before the structure is used.
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
One ore more of the following flags:
DDVPSTATUS_VBIONLY
The video-port interface is controlling only the VBI portion of the video stream.
DDVPSTATUS_VIDEOONLY
The video-port interface is controlling only the video portion of the video stream.
dwReserved1
Reserved; set to 0.
VideoPortType
DDVIDEOPORTCONNECT structure that receives information about the video-port connection.
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.