26 if (pfnDvpCanCreateVideoPort ==
NULL)
28 DPRINT1(
"Warning: no pfnDvpCanCreateVideoPort\n");
32 DPRINT(
"Calling dxg.sys pfnDvpCanCreateVideoPort\n");
33 return pfnDvpCanCreateVideoPort(hDirectDraw, puCanCreateVPortData);
46 if (pfnDvpColorControl ==
NULL)
48 DPRINT1(
"Warning: no pfnDvpColorControl\n");
52 DPRINT(
"Calling dxg.sys pfnDvpColorControl\n");
53 return pfnDvpColorControl(hVideoPort, puVPortColorData);
66 if (pfnDvpCreateVideoPort ==
NULL)
68 DPRINT1(
"Warning: no pfnDvpCreateVideoPort\n");
72 DPRINT(
"Calling dxg.sys pfnDvpCreateVideoPort\n");
73 return pfnDvpCreateVideoPort(hDirectDraw, puCreateVPortData);
87 if (pfnDvpDestroyVideoPort ==
NULL)
89 DPRINT1(
"Warning: no pfnDvpDestroyVideoPort\n");
93 DPRINT(
"Calling dxg.sys pfnDvpDestroyVideoPort\n");
94 return pfnDvpDestroyVideoPort(hVideoPort, puDestroyVPortData);
110 if (pfnDvpFlipVideoPort ==
NULL)
112 DPRINT1(
"Warning: no pfnDvpFlipVideoPort\n");
116 DPRINT(
"Calling dxg.sys pfnDvpFlipVideoPort\n");
117 return pfnDvpFlipVideoPort(hVideoPort, hDDSurfaceCurrent, hDDSurfaceTarget, puFlipVPortData);
130 if (pfnDvpGetVideoPortBandwidth ==
NULL)
132 DPRINT1(
"Warning: no pfnDvpGetVideoPortBandwidth\n");
136 DPRINT(
"Calling dxg.sys pfnDvpGetVideoPortBandwidth\n");
137 return pfnDvpGetVideoPortBandwidth(hVideoPort, puGetVPortBandwidthData);
150 if (pfnDvpGetVideoPortFlipStatus ==
NULL)
152 DPRINT1(
"Warning: no pfnDvpGetVideoPortFlipStatus\n");
156 DPRINT(
"Calling dxg.sys pfnDvpGetVideoPortFlipStatus\n");
157 return pfnDvpGetVideoPortFlipStatus(hDirectDraw, puGetVPortFlipStatusData);
170 if (pfnDvpGetVideoPortInputFormats ==
NULL)
172 DPRINT1(
"Warning: no pfnDvpGetVideoPortInputFormats\n");
176 DPRINT(
"Calling dxg.sys pfnDvpGetVideoPortInputFormats\n");
177 return pfnDvpGetVideoPortInputFormats(hVideoPort, puGetVPortInputFormatData);
190 if (pfnDvpGetVideoPortLine ==
NULL)
192 DPRINT1(
"Warning: no pfnDvpGetVideoPortLine\n");
196 DPRINT(
"Calling dxg.sys pfnDvpGetVideoPortLine\n");
197 return pfnDvpGetVideoPortLine(hVideoPort, puGetVPortLineData);
210 if (pfnDvpGetVideoPortOutputFormats ==
NULL)
212 DPRINT1(
"Warning: no pfnDvpGetVideoPortOutputFormats\n");
216 DPRINT(
"Calling dxg.sys pfnDvpGetVideoPortOutputFormats\n");
217 return pfnDvpGetVideoPortOutputFormats(hVideoPort, puGetVPortOutputFormatData);
230 if (pfnDvpGetVideoPortConnectInfo ==
NULL)
232 DPRINT1(
"Warning: no pfnDvpGetVideoPortConnectInfo\n");
236 DPRINT(
"Calling dxg.sys pfnDvpGetVideoPortConnectInfo\n");
237 return pfnDvpGetVideoPortConnectInfo(hDirectDraw, puGetVPortConnectData);
250 if (pfnDvpGetVideoSignalStatus ==
NULL)
252 DPRINT1(
"Warning: no pfnDvpGetVideoSignalStatus\n");
256 DPRINT(
"Calling dxg.sys pfnDvpGetVideoSignalStatus\n");
257 return pfnDvpGetVideoSignalStatus(hVideoPort, puGetVPortSignalData);
272 if (pfnDvpUpdateVideoPort ==
NULL)
274 DPRINT1(
"Warning: no pfnDvpUpdateVideoPort\n");
278 DPRINT(
"Calling dxg.sys pfnDvpUpdateVideoPort\n");
279 return pfnDvpUpdateVideoPort(hVideoPort, phSurfaceVideo, phSurfaceVbi, puUpdateVPortData);
292 if (pfnDvpWaitForVideoPortSync ==
NULL)
294 DPRINT1(
"Warning: no pfnDvpWaitForVideoPortSync\n");
298 DPRINT(
"Calling dxg.sys pfnDvpWaitForVideoPortSync\n");
299 return pfnDvpWaitForVideoPortSync(hVideoPort, puWaitForVPortSyncData);
313 if (pfnDvpAcquireNotification ==
NULL)
315 DPRINT1(
"Warning: no pfnDvpAcquireNotification\n");
319 DPRINT(
"Calling dxg.sys pfnDvpAcquireNotification\n");
320 return pfnDvpAcquireNotification(hVideoPort,
hEvent, pNotify);
333 if (pfnDvpReleaseNotification ==
NULL)
335 DPRINT1(
"Warning: no pfnDvpReleaseNotification\n");
339 DPRINT(
"Calling dxg.sys pfnDvpReleaseNotification\n");
340 return pfnDvpReleaseNotification(hVideoPort,
hEvent);
353 if (pfnDvpGetVideoPortField ==
NULL)
355 DPRINT1(
"Warning: no pfnDvpGetVideoPortField\n");
359 DPRINT(
"Calling dxg.sys pfnDvpGetVideoPortField\n");
360 return pfnDvpGetVideoPortField(hVideoPort, puGetVPortFieldData);
#define DDHAL_DRIVER_NOTHANDLED
DWORD APIENTRY NtGdiDvpGetVideoPortConnectInfo(HANDLE hDirectDraw, PDD_GETVPORTCONNECTDATA puGetVPortConnectData)
DWORD APIENTRY NtGdiDvpGetVideoPortBandwidth(HANDLE hVideoPort, PDD_GETVPORTBANDWIDTHDATA puGetVPortBandwidthData)
DWORD APIENTRY NtGdiDvpGetVideoPortOutputFormats(HANDLE hVideoPort, PDD_GETVPORTOUTPUTFORMATDATA puGetVPortOutputFormatData)
DWORD APIENTRY NtGdiDvpUpdateVideoPort(HANDLE hVideoPort, HANDLE *phSurfaceVideo, HANDLE *phSurfaceVbi, PDD_UPDATEVPORTDATA puUpdateVPortData)
DWORD APIENTRY NtGdiDvpGetVideoPortLine(HANDLE hVideoPort, PDD_GETVPORTLINEDATA puGetVPortLineData)
DWORD APIENTRY NtGdiDvpGetVideoPortField(HANDLE hVideoPort, PDD_GETVPORTFIELDDATA puGetVPortFieldData)
HANDLE APIENTRY NtGdiDvpCreateVideoPort(HANDLE hDirectDraw, PDD_CREATEVPORTDATA puCreateVPortData)
DWORD APIENTRY NtGdiDvpAcquireNotification(HANDLE hVideoPort, HANDLE *hEvent, LPDDVIDEOPORTNOTIFY pNotify)
DWORD APIENTRY NtGdiDvpGetVideoPortInputFormats(HANDLE hVideoPort, PDD_GETVPORTINPUTFORMATDATA puGetVPortInputFormatData)
DWORD APIENTRY NtGdiDvpDestroyVideoPort(HANDLE hVideoPort, PDD_DESTROYVPORTDATA puDestroyVPortData)
DWORD APIENTRY NtGdiDvpGetVideoSignalStatus(HANDLE hVideoPort, PDD_GETVPORTSIGNALDATA puGetVPortSignalData)
DWORD APIENTRY NtGdiDvpColorControl(HANDLE hVideoPort, PDD_VPORTCOLORDATA puVPortColorData)
DWORD APIENTRY NtGdiDvpWaitForVideoPortSync(HANDLE hVideoPort, PDD_WAITFORVPORTSYNCDATA puWaitForVPortSyncData)
DWORD APIENTRY NtGdiDvpCanCreateVideoPort(HANDLE hDirectDraw, PDD_CANCREATEVPORTDATA puCanCreateVPortData)
DWORD APIENTRY NtGdiDvpGetVideoPortFlipStatus(HANDLE hDirectDraw, PDD_GETVPORTFLIPSTATUSDATA puGetVPortFlipStatusData)
DWORD APIENTRY NtGdiDvpFlipVideoPort(HANDLE hVideoPort, HANDLE hDDSurfaceCurrent, HANDLE hDDSurfaceTarget, PDD_FLIPVPORTDATA puFlipVPortData)
DWORD APIENTRY NtGdiDvpReleaseNotification(HANDLE hVideoPort, HANDLE hEvent)
#define DXG_INDEX_DxDvpCreateVideoPort
#define DXG_INDEX_DxDvpGetVideoPortConnectInfo
#define DXG_INDEX_DxDvpGetVideoPortFlipStatus
#define DXG_INDEX_DxDvpAcquireNotification
#define DXG_INDEX_DxDvpGetVideoPortLine
#define DXG_INDEX_DxDvpDestroyVideoPort
#define DXG_INDEX_DxDvpReleaseNotification
#define DXG_INDEX_DxDvpFlipVideoPort
#define DXG_INDEX_DxDvpGetVideoPortBandwidth
#define DXG_INDEX_DxDvpWaitForVideoPortSync
#define DXG_INDEX_DxDvpGetVideoPortInputFormats
#define DXG_INDEX_DxDvpUpdateVideoPort
#define DXG_INDEX_DxDvpGetVideoPortField
#define DXG_INDEX_DxDvpGetVideoPortOutputFormats
#define DXG_INDEX_DxDvpCanCreateVideoPort
#define DXG_INDEX_DxDvpGetVideoSignalStatus
#define DXG_INDEX_DxDvpColorControl
DWORD(APIENTRY * PGD_DXDVPGETVIDEOPORTCONNECTINFO)(HANDLE, PDD_GETVPORTCONNECTDATA)
DWORD(APIENTRY * PGD_DXDVPACQUIRENOTIFICATION)(HANDLE, HANDLE *, LPDDVIDEOPORTNOTIFY)
DWORD(APIENTRY * PGD_DVPFLIPVIDEOPORT)(HANDLE, HANDLE, HANDLE, PDD_FLIPVPORTDATA)
DWORD(APIENTRY * PGD_DXDVPGETVIDEOPORTOUTPUTFORMATS)(HANDLE, PDD_GETVPORTOUTPUTFORMATDATA)
DWORD(APIENTRY * PGD_DVPGETVIDEOPORTBANDWITH)(HANDLE, PDD_GETVPORTBANDWIDTHDATA)
DWORD(APIENTRY * PGD_DVPCOLORCONTROL)(HANDLE, PDD_VPORTCOLORDATA)
DWORD(APIENTRY * PGD_DXDVPGETVIDEOPORTFLIPSTATUS)(HANDLE, PDD_GETVPORTFLIPSTATUSDATA)
DWORD(APIENTRY * PGD_DXDVPGETVIDEOSIGNALSTATUS)(HANDLE, PDD_GETVPORTSIGNALDATA)
DWORD(APIENTRY * PGD_DXDVPGETVIDEOPORTINPUTFORMATS)(HANDLE, PDD_GETVPORTINPUTFORMATDATA)
DWORD(APIENTRY * PGD_DXDVPWAITFORVIDEOPORTSYNC)(HANDLE, PDD_WAITFORVPORTSYNCDATA)
DWORD(APIENTRY * PGD_DXDVPRELEASENOTIFICATION)(HANDLE, HANDLE)
DWORD(APIENTRY * PGD_DXDVPGETVIDEOPORTLINE)(HANDLE, PDD_GETVPORTLINEDATA)
DWORD(APIENTRY * PGD_DXDVPUPDATEVIDEOPORT)(HANDLE, HANDLE *, HANDLE *, PDD_UPDATEVPORTDATA)
DWORD(APIENTRY * PGD_DXDVPGETVIDEOPORTFIELD)(HANDLE, PDD_GETVPORTFIELDDATA)
DWORD(APIENTRY * PGD_DVPDESTROYVIDEOPORT)(HANDLE, PDD_DESTROYVPORTDATA)
DWORD(APIENTRY * PGD_DVPCANCREATEVIDEOPORT)(HANDLE, PDD_CANCREATEVPORTDATA)
HANDLE(APIENTRY * PGD_DVPCREATEVIDEOPORT)(HANDLE, PDD_CREATEVPORTDATA)
DRVFN gpDxFuncs[DXG_INDEX_DxDdIoctl+1]