Microsoft Windows CE 3.0  

IDirectDrawVideoPort

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.

Applications use the methods of the IDirectDrawVideoPortinterface 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.

The methods of the IDirectDrawVideoPortinterface 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 IDirectDrawVideoPortinterface, like all COM interfaces, inherits the IUnknowninterface methods. The IUnknowninterface supports the following three methods:

IUnknown AddRef
  QueryInterface
  Release

You can use the LPDIRECTDRAWVIDEOPORTdata type to declare a variable that contains a pointer to an IDirectDrawVideoPortinterface. The Dvp.h header file declares the LPDIRECTDRAWVIDEOPORTwith the following code:

typedef struct IDirectDrawVideoPort FAR
*LPDIRECTDRAWVIDEOPORT;

Requirements

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