DirectX 5 Redocumentation
A redocumentation of DirectX 5, brought to you by a bunch of Infomaniacs.
dvp.h
Go to the documentation of this file.
1/*==========================================================================;
2 *
3 * Copyright (C) 1996-1997 Microsoft Corporation. All Rights Reserved.
4 *
5 * File: dvp.h
6 * Content: DirectDrawVideoPort include file
7 *
8 ***************************************************************************/
9
10#ifndef __DVP_INCLUDED__
11#define __DVP_INCLUDED__
12#if defined( _WIN32 ) && !defined( _NO_COM )
13#define COM_NO_WINDOWS_H
14#include <objbase.h>
15#else
16#define IUnknown void
17#undef CO_E_NOTINITIALIZED
18#define CO_E_NOTINITIALIZED 0x800401F0L
19#endif
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/*
26 * GUIDS used by DirectDrawVideoPort objects
27 */
28DEFINE_GUID( IID_IDDVideoPortContainer, 0x6C142760,0xA733,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60 );
29DEFINE_GUID( IID_IDirectDrawVideoPort, 0xB36D93E0,0x2B43,0x11CF,0xA2,0xDE,0x00,0xAA,0x00,0xB9,0x33,0x56 );
30
31DEFINE_GUID( DDVPTYPE_E_HREFH_VREFH, 0x54F39980L,0xDA60,0x11CF,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8);
32DEFINE_GUID( DDVPTYPE_E_HREFH_VREFL, 0x92783220L,0xDA60,0x11CF,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8);
33DEFINE_GUID( DDVPTYPE_E_HREFL_VREFH, 0xA07A02E0L,0xDA60,0x11CF,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8);
34DEFINE_GUID( DDVPTYPE_E_HREFL_VREFL, 0xE09C77E0L,0xDA60,0x11CF,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8);
35DEFINE_GUID( DDVPTYPE_CCIR656, 0xFCA326A0L,0xDA60,0x11CF,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8);
36DEFINE_GUID( DDVPTYPE_BROOKTREE, 0x1352A560L,0xDA61,0x11CF,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8);
37DEFINE_GUID( DDVPTYPE_PHILIPS, 0x332CF160L,0xDA61,0x11CF,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8);
38
39/*
40 * GUIDS used to describe connections
41 */
42
43
44/*============================================================================
45 *
46 * DirectDraw Structures
47 *
48 * Various structures used to invoke DirectDraw.
49 *
50 *==========================================================================*/
51
52struct IDirectDraw;
53struct IDirectDrawSurface;
54struct IDirectDrawPalette;
55struct IDirectDrawClipper;
56
57typedef struct IDDVideoPortContainer FAR *LPDDVIDEOPORTCONTAINER;
58typedef struct IDirectDrawVideoPort FAR *LPDIRECTDRAWVIDEOPORT;
59
66
67typedef struct IDDVideoPortContainerVtbl DDVIDEOPORTCONTAINERCALLBACKS;
68typedef struct IDirectDrawVideoPortVtbl DIRECTDRAWVIDEOPORTCALLBACKS;
69
70
71/*
72 * API's
73 */
74typedef HRESULT (FAR PASCAL * LPDDENUMVIDEOCALLBACK)(LPDDVIDEOPORTCAPS, LPVOID);
75
76
77/*
78 * INTERACES FOLLOW:
79 * IDirectDrawVideoPort
80 * IVideoPort
81 */
82
83/*
84 * IDirectDrawVideoPortContainer
85 */
86#undef INTERFACE
87#define INTERFACE IDDVideoPortContainer
88DECLARE_INTERFACE_( IDDVideoPortContainer, IUnknown )
89{
90 /*** IUnknown methods ***/
91 STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID FAR * ppvObj) PURE;
92 STDMETHOD_(ULONG,AddRef) (THIS) PURE;
93 STDMETHOD_(ULONG,Release) (THIS) PURE;
94 /*** IDirectDrawVideoPort methods ***/
95 STDMETHOD(CreateVideoPort)(THIS_ DWORD, LPDDVIDEOPORTDESC, LPDIRECTDRAWVIDEOPORT FAR *, IUnknown FAR *) PURE;
96 STDMETHOD(EnumVideoPorts)(THIS_ DWORD, LPDDVIDEOPORTCAPS, LPVOID,LPDDENUMVIDEOCALLBACK ) PURE;
97 STDMETHOD(GetVideoPortConnectInfo)(THIS_ DWORD, LPDWORD, LPDDVIDEOPORTCONNECT ) PURE;
98 STDMETHOD(QueryVideoPortStatus)(THIS_ DWORD, LPDDVIDEOPORTSTATUS ) PURE;
99};
100
101#if !defined(__cplusplus) || defined(CINTERFACE)
102#define IVideoPortContainer_QueryInterface(p, a, b) (p)->lpVtbl->QueryInterface(p, a, b)
103#define IVideoPortContainer_AddRef(p) (p)->lpVtbl->AddRef(p)
104#define IVideoPortContainer_Release(p) (p)->lpVtbl->Release(p)
105#define IVideoPortContainer_CreateVideoPort(p, a, b, c, d) (p)->lpVtbl->CreateVideoPort(p, a, b, c, d)
106#define IVideoPortContainer_EnumVideoPorts(p, a, b, c, d) (p)->lpVtbl->EnumVideoPorts(p, a, b, c, d)
107#define IVideoPortContainer_GetVideoPortConnectInfo(p, a, b, c) (p)->lpVtbl->GetVideoPortConnectInfo(p, a, b, c)
108#define IVideoPortContainer_QueryVideoPortStatus(p, a, b) (p)->lpVtbl->QueryVideoPortStatus(p, a, b)
109#else
110#define IVideoPortContainer_QueryInterface(p, a, b) (p)->QueryInterface(a, b)
111#define IVideoPortContainer_AddRef(p) (p)->AddRef()
112#define IVideoPortContainer_Release(p) (p)->Release()
113#define IVideoPortContainer_CreateVideoPort(p, a, b, c, d) (p)->CreateVideoPort(a, b, c, d)
114#define IVideoPortContainer_EnumVideoPorts(p, a, b, c, d) (p)->EnumVideoPorts(a, b, c, d)
115#define IVideoPortContainer_GetVideoPortConnectInfo(p, a, b, c) (p)->GetVideoPortConnectInfo(a, b, c)
116#define IVideoPortContainer_QueryVideoPortStatus(p, a, b) (p)->QueryVideoPortStatus(a, b)
117#endif
118
119
120
121/*
122 * IDirectDrawVideoPort
123 */
124#undef INTERFACE
125#define INTERFACE IDirectDrawVideoPort
126DECLARE_INTERFACE_( IDirectDrawVideoPort, IUnknown )
127{
128 /*** IUnknown methods ***/
129 STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID FAR * ppvObj) PURE;
130 STDMETHOD_(ULONG,AddRef) (THIS) PURE;
131 STDMETHOD_(ULONG,Release) (THIS) PURE;
132 /*** IVideoPort methods ***/
133 STDMETHOD(Flip)(THIS_ LPDIRECTDRAWSURFACE, DWORD) PURE;
134 STDMETHOD(GetBandwidthInfo)(THIS_ LPDDPIXELFORMAT, DWORD, DWORD, DWORD, LPDDVIDEOPORTBANDWIDTH) PURE;
135 STDMETHOD(GetColorControls)(THIS_ LPDDCOLORCONTROL) PURE;
136 STDMETHOD(GetInputFormats)(THIS_ LPDWORD, LPDDPIXELFORMAT, DWORD) PURE;
137 STDMETHOD(GetOutputFormats)(THIS_ LPDDPIXELFORMAT, LPDWORD, LPDDPIXELFORMAT, DWORD) PURE;
138 STDMETHOD(GetFieldPolarity)(THIS_ LPBOOL) PURE;
139 STDMETHOD(GetVideoLine)(THIS_ LPDWORD) PURE;
140 STDMETHOD(GetVideoSignalStatus)(THIS_ LPDWORD) PURE;
141 STDMETHOD(SetColorControls)(THIS_ LPDDCOLORCONTROL) PURE;
142 STDMETHOD(SetTargetSurface)(THIS_ LPDIRECTDRAWSURFACE, DWORD) PURE;
143 STDMETHOD(StartVideo)(THIS_ LPDDVIDEOPORTINFO) PURE;
144 STDMETHOD(StopVideo)(THIS) PURE;
145 STDMETHOD(UpdateVideo)(THIS_ LPDDVIDEOPORTINFO) PURE;
146 STDMETHOD(WaitForSync)(THIS_ DWORD, DWORD, DWORD) PURE;
147};
148
149#if !defined(__cplusplus) || defined(CINTERFACE)
150#define IVideoPort_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
151#define IVideoPort_AddRef(p) (p)->lpVtbl->AddRef(p)
152#define IVideoPort_Release(p) (p)->lpVtbl->Release(p)
153#define IVideoPort_SetTargetSurface(p,a,b) (p)->lpVtbl->SetTargetSurface(p,a,b)
154#define IVideoPort_Flip(p,a,b) (p)->lpVtbl->Flip(p,a,b)
155#define IVideoPort_GetBandwidthInfo(p,a,b,c,d,e) (p)->lpVtbl->GetBandwidthInfo(p,a,b,c,d,e)
156#define IVideoPort_GetColorControls(p,a) (p)->lpVtbl->GetColorControls(p,a)
157#define IVideoPort_GetInputFormats(p,a,b,c) (p)->lpVtbl->GetInputFormats(p,a,b,c)
158#define IVideoPort_GetOutputFormats(p,a,b,c,d) (p)->lpVtbl->GetOutputFormats(p,a,b,c,d)
159#define IVideoPort_GetFieldPolarity(p,a) (p)->lpVtbl->GetFieldPolarity(p,a)
160#define IVideoPort_GetVideoLine(p,a) (p)->lpVtbl->GetVideoLine(p,a)
161#define IVideoPort_GetVideoSignalStatus(p,a) (p)->lpVtbl->GetVideoSignalStatus(p,a)
162#define IVideoPort_SetColorControls(p,a) (p)->lpVtbl->SetColorControls(p,a)
163#define IVideoPort_StartVideo(p,a) (p)->lpVtbl->StartVideo(p,a)
164#define IVideoPort_StopVideo(p) (p)->lpVtbl->StopVideo(p)
165#define IVideoPort_UpdateVideo(p,a) (p)->lpVtbl->UpdateVideo(p,a)
166#define IVideoPort_WaitForSync(p,a,b,c) (p)->lpVtbl->WaitForSync(p,a,b,c)
167#else
168#define IVideoPort_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
169#define IVideoPort_AddRef(p) (p)->AddRef()
170#define IVideoPort_Release(p) (p)->Release()
171#define IVideoPort_SetTargetSurface(p,a,b) (p)->SetTargetSurface(a,b)
172#define IVideoPort_Flip(p,a,b) (p)->Flip(a,b)
173#define IVideoPort_GetBandwidthInfo(p,a,b,c,d,e) (p)->GetBandwidthInfo(a,b,c,d,e)
174#define IVideoPort_GetColorControls(p,a) (p)->GetColorControls(a)
175#define IVideoPort_GetInputFormats(p,a,b,c) (p)->GetInputFormats(a,b,c)
176#define IVideoPort_GetOutputFormats(p,a,b,c,d) (p)->GetOutputFormats(a,b,c,d)
177#define IVideoPort_GetFieldPolarity(p,a) (p)->GetFieldPolarity(a)
178#define IVideoPort_GetVideoLine(p,a) (p)->GetVideoLine(a)
179#define IVideoPort_GetVideoSignalStatus(p,a) (p)->GetVideoSignalStatus(a)
180#define IVideoPort_SetColorControls(p,a) (p)->SetColorControls(a)
181#define IVideoPort_StartVideo(p,a) (p)->StartVideo(a)
182#define IVideoPort_StopVideo(p) (p)->StopVideo()
183#define IVideoPort_UpdateVideo(p,a) (p)->UpdateVideo(a)
184#define IVideoPort_WaitForSync(p,a,b,c) (p)->WaitForSync(a,b,c)
185#endif
186
187
188
189/*
190 * DDVIDEOPORTCONNECT
191 */
193{
200
201
202/*
203 * DDVIDEOPORTCAPS
204 */
205typedef struct _DDVIDEOPORTCAPS
206{
226
230#define DDVPD_WIDTH 0x00000001l
231
235#define DDVPD_HEIGHT 0x00000002l
236
240#define DDVPD_ID 0x00000004l
241
245#define DDVPD_CAPS 0x00000008l
246
250#define DDVPD_FX 0x00000010l
251
255#define DDVPD_AUTOFLIP 0x00000020l
256
260#define DDVPD_ALIGN 0x00000040l
261
262
263/*
264 * DDVIDEOPORTDESC
265 */
266typedef struct _DDVIDEOPORTDESC
267{
280
281
282/*
283 * DDVIDEOPORTINFO
284 */
285typedef struct _DDVIDEOPORTINFO
286{
291 RECT rCrop;
301
302
303/*
304 * DDVIDEOPORTBANDWIDTH
305 */
307{
317
318
319/*
320 * DDVIDEOPORTSTATUS
321 */
322typedef struct _DDVIDEOPORTSTATUS
323{
332
333/*============================================================================
334 *
335 * Video Port Flags
336 *
337 * All flags are bit flags.
338 *
339 *==========================================================================*/
340
341/****************************************************************************
342 *
343 * VIDEOPORT DDVIDEOPORTCONNECT FLAGS
344 *
345 ****************************************************************************/
346
354#define DDVPCONNECT_DOUBLECLOCK 0x00000001l
355
362#define DDVPCONNECT_VACT 0x00000002l
363
371#define DDVPCONNECT_INVERTPOLARITY 0x00000004l
372
377#define DDVPCONNECT_DISCARDSVREFDATA 0x00000008l
378
383#define DDVPCONNECT_HALFLINE 0x00000010l
384
389#define DDVPCONNECT_INTERLACED 0x00000020l
390
395#define DDVPCONNECT_SHAREEVEN 0x00000040l
396
401#define DDVPCONNECT_SHAREODD 0x00000080l
402
403/****************************************************************************
404 *
405 * VIDEOPORT DDVIDEOPORTDESC CAPS
406 *
407 ****************************************************************************/
408
412#define DDVPCAPS_AUTOFLIP 0x00000001l
413
417#define DDVPCAPS_INTERLACED 0x00000002l
418
422#define DDVPCAPS_NONINTERLACED 0x00000004l
423
428#define DDVPCAPS_READBACKFIELD 0x00000008l
429
434#define DDVPCAPS_READBACKLINE 0x00000010l
435
442#define DDVPCAPS_SHAREABLE 0x00000020l
443
447#define DDVPCAPS_SKIPEVENFIELDS 0x00000040l
448
452#define DDVPCAPS_SKIPODDFIELDS 0x00000080l
453
458#define DDVPCAPS_SYNCMASTER 0x00000100l
459
464#define DDVPCAPS_VBISURFACE 0x00000200l
465
470#define DDVPCAPS_COLORCONTROL 0x00000400l
471
476#define DDVPCAPS_OVERSAMPLEDVBI 0x00000800l
477
481#define DDVPCAPS_SYSTEMMEMORY 0x00001000l
482
483
484/****************************************************************************
485 *
486 * VIDEOPORT DDVIDEOPORTDESC FX
487 *
488 ****************************************************************************/
489
493#define DDVPFX_CROPTOPDATA 0x00000001l
494
499#define DDVPFX_CROPX 0x00000002l
500
505#define DDVPFX_CROPY 0x00000004l
506
510#define DDVPFX_INTERLEAVE 0x00000008l
511
516#define DDVPFX_MIRRORLEFTRIGHT 0x00000010l
517
522#define DDVPFX_MIRRORUPDOWN 0x00000020l
523
528#define DDVPFX_PRESHRINKX 0x00000040l
529
534#define DDVPFX_PRESHRINKY 0x00000080l
535
540#define DDVPFX_PRESHRINKXB 0x00000100l
541
546#define DDVPFX_PRESHRINKYB 0x00000200l
547
553#define DDVPFX_PRESHRINKXS 0x00000400l
554
560#define DDVPFX_PRESHRINKYS 0x00000800l
561
566#define DDVPFX_PRESTRETCHX 0x00001000l
567
572#define DDVPFX_PRESTRETCHY 0x00002000l
573
578#define DDVPFX_PRESTRETCHXN 0x00004000l
579
584#define DDVPFX_PRESTRETCHYN 0x00008000l
585
590#define DDVPFX_VBICONVERT 0x00010000l
591
596#define DDVPFX_VBINOSCALE 0x00020000l
597
602#define DDVPFX_IGNOREVBIXCROP 0x00040000l
603
604
605/****************************************************************************
606 *
607 * VIDEOPORT DDVIDEOPORTINFO FLAGS
608 *
609 ****************************************************************************/
610
619#define DDVP_AUTOFLIP 0x00000001l
620
624#define DDVP_CONVERT 0x00000002l
625
629#define DDVP_CROP 0x00000004l
630
634#define DDVP_INTERLEAVE 0x00000008l
635
640#define DDVP_MIRRORLEFTRIGHT 0x00000010l
641
646#define DDVP_MIRRORUPDOWN 0x00000020l
647
651#define DDVP_PRESCALE 0x00000040l
652
656#define DDVP_SKIPEVENFIELDS 0x00000080l
657
661#define DDVP_SKIPODDFIELDS 0x00000100l
662
666#define DDVP_SYNCMASTER 0x00000200l
667
672#define DDVP_VBICONVERT 0x00000400l
673
678#define DDVP_VBINOSCALE 0x00000800l
679
684#define DDVP_OVERRIDEBOBWEAVE 0x00001000l
685
690#define DDVP_IGNOREVBIXCROP 0x00002000l
691
692
693/****************************************************************************
694 *
695 * DIRIRECTDRAWVIDEOPORT GETINPUTFORMAT/GETOUTPUTFORMAT FLAGS
696 *
697 ****************************************************************************/
698
702#define DDVPFORMAT_VIDEO 0x00000001l
703
707#define DDVPFORMAT_VBI 0x00000002l
708
709
710/****************************************************************************
711 *
712 * DIRIRECTDRAWVIDEOPORT SETTARGETSURFACE FLAGS
713 *
714 ****************************************************************************/
715
720#define DDVPTARGET_VIDEO 0x00000001l
721
725#define DDVPTARGET_VBI 0x00000002l
726
727
728/****************************************************************************
729 *
730 * DIRIRECTDRAWVIDEOPORT WAITFORSYNC FLAGS
731 *
732 ****************************************************************************/
733
737#define DDVPWAIT_BEGIN 0x00000001l
738
742#define DDVPWAIT_END 0x00000002l
743
747#define DDVPWAIT_LINE 0x00000003l
748
749/****************************************************************************
750 *
751 * DIRECTDRAWVIDEOPORT FLIP FLAGS
752 *
753 ****************************************************************************/
754
758#define DDVPFLIP_VIDEO 0x00000001l
759
763#define DDVPFLIP_VBI 0x00000002l
764
765/****************************************************************************
766 *
767 * DIRIRECTDRAWVIDEOPORT GETVIDEOSIGNALSTATUS VALUES
768 *
769 ****************************************************************************/
770
774#define DDVPSQ_NOSIGNAL 0x00000001l
775
779#define DDVPSQ_SIGNALOK 0x00000002l
780
781/****************************************************************************
782 *
783 * VIDEOPORTBANDWIDTH Flags
784 *
785 ****************************************************************************/
786
791#define DDVPB_VIDEOPORT 0x00000001l
792
796#define DDVPB_OVERLAY 0x00000002l
797
801#define DDVPB_TYPE 0x00000004l
802
803/****************************************************************************
804 *
805 * VIDEOPORTBANDWIDTH Caps
806 *
807 ****************************************************************************/
808
812#define DDVPBCAPS_SOURCE 0x00000001l
813
818#define DDVPBCAPS_DESTINATION 0x00000002l
819
820
821#ifdef __cplusplus
822};
823#endif
824
825#endif
LPSTR LPSTR LPVOID
Definition: d3dcaps.h:213
struct IDirectDrawSurface FAR * LPDIRECTDRAWSURFACE
Definition: ddraw.h:74
typedef DWORD(FAR PASCAL *LPCLIPPERCALLBACK)(LPDIRECTDRAWCLIPPER lpDDClipper
struct _DDCOLORCONTROL FAR * LPDDCOLORCONTROL
Definition: ddraw.h:84
DDPIXELFORMAT FAR * LPDDPIXELFORMAT
Definition: ddraw.h:375
typedef BOOL(FAR PASCAL *LPDIENUMDEVICEOBJECTSCALLBACKA)(LPCDIDEVICEOBJECTINSTANCEA
struct IDirectDrawVideoPortVtbl DIRECTDRAWVIDEOPORTCALLBACKS
Definition: dvp.h:68
#define IUnknown
Definition: dvp.h:16
struct _DDVIDEOPORTSTATUS DDVIDEOPORTSTATUS
struct _DDVIDEOPORTSTATUS FAR * LPDDVIDEOPORTSTATUS
Definition: dvp.h:65
struct _DDVIDEOPORTINFO FAR * LPDDVIDEOPORTINFO
Definition: dvp.h:63
typedef HRESULT(FAR PASCAL *LPDDENUMVIDEOCALLBACK)(LPDDVIDEOPORTCAPS
struct _DDVIDEOPORTDESC DDVIDEOPORTDESC
struct IDirectDrawVideoPort FAR * LPDIRECTDRAWVIDEOPORT
Definition: dvp.h:58
DECLARE_INTERFACE_(IDDVideoPortContainer, IUnknown)
Definition: dvp.h:88
struct IDDVideoPortContainerVtbl DDVIDEOPORTCONTAINERCALLBACKS
Definition: dvp.h:67
DEFINE_GUID(IID_IDDVideoPortContainer, 0x6C142760, 0xA733, 0x11CE, 0xA5, 0x21, 0x00, 0x20, 0xAF, 0x0B, 0xE5, 0x60)
struct _DDVIDEOPORTDESC FAR * LPDDVIDEOPORTDESC
Definition: dvp.h:62
struct _DDVIDEOPORTBANDWIDTH DDVIDEOPORTBANDWIDTH
struct IDDVideoPortContainer FAR * LPDDVIDEOPORTCONTAINER
Definition: dvp.h:57
struct _DDVIDEOPORTINFO DDVIDEOPORTINFO
struct _DDVIDEOPORTCONNECT FAR * LPDDVIDEOPORTCONNECT
Definition: dvp.h:60
struct _DDVIDEOPORTCONNECT DDVIDEOPORTCONNECT
struct _DDVIDEOPORTCAPS DDVIDEOPORTCAPS
struct _DDVIDEOPORTBANDWIDTH FAR * LPDDVIDEOPORTBANDWIDTH
Definition: dvp.h:64
typedef LPVOID
Definition: dvp.h:74
struct _DDVIDEOPORTCAPS FAR * LPDDVIDEOPORTCAPS
Definition: dvp.h:61
Definition: dvp.h:307
DWORD dwYInterpAndColorkey
Zoom factor at which ovelray w/ Y interpolation and colorkeying is supported.
Definition: dvp.h:313
DWORD dwSize
Size of the structure.
Definition: dvp.h:308
DWORD dwReserved1
Reserved for future use - set to zero.
Definition: dvp.h:314
DWORD dwReserved2
Reserved for future use - set to zero.
Definition: dvp.h:315
DWORD dwColorkey
Zoom factor at which overlay w/ colorkey is supported.
Definition: dvp.h:311
DWORD dwCaps
Definition: dvp.h:309
DWORD dwYInterpolate
Zoom factor at which overlay w/ Y interpolation is supported.
Definition: dvp.h:312
DWORD dwOverlay
Zoom factor at which overlay is supported.
Definition: dvp.h:310
Definition: dvp.h:206
DWORD dwAlignVideoPortCropBoundary
Byte restriction of left cropping.
Definition: dvp.h:218
DWORD dwPreshrinkYStep
Height can be shrunk in steps of 1/x.
Definition: dvp.h:221
DWORD dwAlignVideoPortBoundary
Byte restriction of placement within the surface.
Definition: dvp.h:216
DWORD dwMaxVBIWidth
max width of the VBI data
Definition: dvp.h:210
DWORD dwSize
size of the DDVIDEOPORTCAPS structure
Definition: dvp.h:207
DWORD dwPreshrinkXStep
Width can be shrunk in steps of 1/x.
Definition: dvp.h:220
DWORD dwReserved1
Reserved for future use.
Definition: dvp.h:223
DWORD dwNumVBIAutoFlipSurfaces
Number of VBI autoflippable surfaces.
Definition: dvp.h:222
DWORD dwFX
More video port capabilities.
Definition: dvp.h:214
DWORD dwVideoPortID
Video port ID (0 - (dwMaxVideoPorts -1))
Definition: dvp.h:212
DWORD dwMaxHeight
max height of the video port field
Definition: dvp.h:211
DWORD dwAlignVideoPortPrescaleWidth
Byte restriction of width after prescaling.
Definition: dvp.h:217
DWORD dwNumAutoFlipSurfaces
Number of autoflippable surfaces.
Definition: dvp.h:215
DWORD dwCaps
Video port capabilities.
Definition: dvp.h:213
DWORD dwFlags
indicates which fields contain data
Definition: dvp.h:208
DWORD dwReserved2
Reserved for future use.
Definition: dvp.h:224
DWORD dwMaxWidth
max width of the video port field
Definition: dvp.h:209
DWORD dwAlignVideoPortCropWidth
Byte restriction of cropping width.
Definition: dvp.h:219
Definition: dvp.h:193
DWORD dwFlags
Connection flags.
Definition: dvp.h:197
DWORD dwReserved1
Reserved, set to zero.
Definition: dvp.h:198
DWORD dwSize
size of the DDVIDEOPORTCONNECT structure
Definition: dvp.h:194
GUID guidTypeID
Description of video port connection.
Definition: dvp.h:196
DWORD dwPortWidth
Width of the video port.
Definition: dvp.h:195
Definition: dvp.h:267
DWORD dwVideoPortID
Video port ID (0 - (dwMaxVideoPorts -1))
Definition: dvp.h:274
DWORD dwReserved1
Reserved for future use - set to zero.
Definition: dvp.h:275
DDVIDEOPORTCONNECT VideoPortType
Description of video port connection.
Definition: dvp.h:276
DWORD dwFieldWidth
width of the video port field
Definition: dvp.h:269
DWORD dwVBIWidth
width of the VBI data
Definition: dvp.h:270
DWORD dwFieldHeight
height of the video port field
Definition: dvp.h:271
DWORD dwMaxPixelsPerSecond
Maximum pixel rate per second.
Definition: dvp.h:273
DWORD dwMicrosecondsPerField
Microseconds per video field.
Definition: dvp.h:272
DWORD dwReserved2
Reserved for future use - set to zero.
Definition: dvp.h:277
DWORD dwSize
size of the DDVIDEOPORTDESC structure
Definition: dvp.h:268
DWORD dwReserved3
Reserved for future use - set to zero.
Definition: dvp.h:278
Definition: dvp.h:286
DWORD dwPrescaleWidth
Determines pre-scaling/zooming in the X direction (optional).
Definition: dvp.h:292
DWORD dwOriginY
Placement of the video data within the surface.
Definition: dvp.h:289
RECT rCrop
Cropping rectangle (optional).
Definition: dvp.h:291
LPDDPIXELFORMAT lpddpfVBIInputFormat
Input format of the VBI data.
Definition: dvp.h:295
DWORD dwOriginX
Placement of the video data within the surface.
Definition: dvp.h:288
DWORD dwReserved1
Reserved for future use - set to zero.
Definition: dvp.h:298
LPDDPIXELFORMAT lpddpfVBIOutputFormat
Output format of the data.
Definition: dvp.h:296
DWORD dwReserved2
Reserved for future use - set to zero.
Definition: dvp.h:299
DWORD dwVBIHeight
Specifies the number of lines of data within the vertical blanking interval.
Definition: dvp.h:297
LPDDPIXELFORMAT lpddpfInputFormat
Video format written to the video port.
Definition: dvp.h:294
DWORD dwPrescaleHeight
Determines pre-scaling/zooming in the Y direction (optional).
Definition: dvp.h:293
DWORD dwVPFlags
Video port options.
Definition: dvp.h:290
DWORD dwSize
Size of the structure.
Definition: dvp.h:287
Definition: dvp.h:323
DDVIDEOPORTCONNECT VideoPortType
Information about the connection.
Definition: dvp.h:328
DWORD dwReserved2
Reserved for future use.
Definition: dvp.h:329
DWORD dwReserved1
Reserved for future use.
Definition: dvp.h:327
DWORD dwFlags
Currently not used.
Definition: dvp.h:326
BOOL bInUse
TRUE if video port is currently being used.
Definition: dvp.h:325
DWORD dwReserved3
Reserved for future use.
Definition: dvp.h:330
DWORD dwSize
Size of the structure.
Definition: dvp.h:324