IDirectDrawVideoPort

Applications use the methods of the IDirectDrawVideoPort interface to channel live video data from a hardware video port to a DirectDraw surface. This section is a reference to the methods of this interface. For a conceptual overview, see Video-Ports.

The methods of the IDirectDrawVideoPort interface can be organized into the following groups:

Color controls GetColorControls
  SetColorControls
Fields and Signals GetFieldPolarity
  GetVideoSignalStatus
Flipping Flip
  SetTargetSurface
Formats GetInputFormats
  GetOutputFormats
Timing and Synchronization GetVideoLine
  WaitForSync
Video control StartVideo
  StopVideo
  UpdateVideo
Zoom factors GetBandwidthInfo

The IDirectDrawVideoPort interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

AddRef  
QueryInterface  
Release  

You can use the LPDIRECTDRAWVIDEOPORT data type to declare a variable that contains a pointer to an IDirectDrawVideoPort interface. The Dvp.h header file declares the LPDIRECTDRAWVIDEOPORT with the following code:

typedef struct IDirectDrawVideoPort FAR *LPDIRECTDRAWVIDEOPORT;