Applications use the methods of the IDirectDrawVideoPort interface to channel live video data from a hardware video port to a DirectDraw surface.
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:
| IUnknown | 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;
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