Microsoft Windows CE 3.0  

IDDVideoPortContainer

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 IDDVideoPortContainerinterface to create and manipulate DirectDrawVideoPort objects. You retrieve a pointer to this interface by calling the IUnknown::QueryInterfacemethod of a DirectDraw object, specifying the IID_IDDVideoPortContainer reference identifier.

The methods of the IDDVideoPortContainerinterface can be organized into the following groups:

Creating objects CreateVideoPort
Video ports EnumVideoPorts
  QueryVideoPortStatus
Connections GetVideoPortConnectInfo

The IDDVideoPortContainerinterface, like all COM interfaces, inherits the IUnknowninterface methods. The IUnknowninterface supports the following three methods:

IUnknown AddRef
  QueryInterface
  Release

You can use the LPDDVIDEOPORTCONTAINERdata type to declare a variable that contains a pointer to an IDDVideoPortContainerinterface. The Dvp.h header file declares the LPDDVIDEOPORTCONTAINERwith the following code:

typedef struct IDDVideoPortContainer FAR
*LPDDVIDEOPORTCONTAINER;

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