Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applications use the methods of the IDDVideoPortContainer interface to create and manipulate DirectDrawVideoPort objects. You retrieve a pointer to this interface by calling the IUnknown::QueryInterface method of a DirectDraw object, specifying the IID_IDDVideoPortContainer reference identifier.
The methods of the IDDVideoPortContainer interface can be organized into the following groups:
Creating objects | CreateVideoPort |
Video ports | EnumVideoPorts |
QueryVideoPortStatus | |
Connections | GetVideoPortConnectInfo |
The IDDVideoPortContainer interface, like all COM interfaces, inherits the IUnknown interface methods.
The IUnknown interface supports the following three methods:
IUnknown | AddRef |
QueryInterface | |
Release |
You can use the LPDDVIDEOPORTCONTAINER data type to declare a variable that contains a pointer to an IDDVideoPortContainer interface.
The Dvp.h header file declares the LPDDVIDEOPORTCONTAINER with the following code.
typedef struct IDDVideoPortContainer FAR *LPDDVIDEOPORTCONTAINER;
Requirements
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Dvp.h.
Link Library: Ddraw.lib.
Send Feedback on this topic to the authors