IDDVideoPortContainer
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
| 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 |
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.