2007-11-04 14:57:57 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS kernel
|
|
|
|
* PURPOSE: Native driver for dxg implementation
|
2015-11-10 17:41:55 +00:00
|
|
|
* FILE: win32ss/reactx/dxapi/main.c
|
2007-11-04 14:57:57 +00:00
|
|
|
* PROGRAMER: Magnus olsen (magnus@greatlord.com)
|
|
|
|
* REVISION HISTORY:
|
|
|
|
* 15/10-2007 Magnus Olsen
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include "dxapi_driver.h"
|
|
|
|
|
2013-11-11 20:25:16 +00:00
|
|
|
#define NDEBU /* debug prints are enabled, add a G at the end to disable it ;-) */
|
2013-11-11 20:11:23 +00:00
|
|
|
#include <debug.h>
|
|
|
|
|
2008-08-09 09:06:04 +00:00
|
|
|
NTSTATUS NTAPI
|
2007-11-04 14:57:57 +00:00
|
|
|
DriverEntry(IN PVOID Context1,
|
|
|
|
IN PVOID Context2)
|
|
|
|
{
|
2013-11-11 20:11:23 +00:00
|
|
|
/*
|
2007-11-04 14:57:57 +00:00
|
|
|
* NOTE this driver will never be load, it only contain export list
|
|
|
|
* to win32k eng functions
|
|
|
|
*/
|
|
|
|
return STATUS_SUCCESS;
|
|
|
|
}
|
|
|
|
|
2007-11-04 16:23:11 +00:00
|
|
|
/*++
|
|
|
|
* @name DxApiGetVersion
|
|
|
|
* @implemented
|
|
|
|
*
|
|
|
|
* The function DxApiGetVersion return the dsound version, and it always return 4.02
|
|
|
|
*
|
2013-11-11 20:11:23 +00:00
|
|
|
* @return
|
2007-11-04 16:23:11 +00:00
|
|
|
* Always return 4.02
|
|
|
|
*
|
|
|
|
* @remarks.
|
|
|
|
* none
|
|
|
|
*
|
|
|
|
*--*/
|
2009-08-07 21:53:26 +00:00
|
|
|
ULONG
|
2013-11-11 20:11:23 +00:00
|
|
|
NTAPI
|
2015-09-04 00:11:49 +00:00
|
|
|
DxApiGetVersion(VOID)
|
2007-11-04 14:57:57 +00:00
|
|
|
{
|
|
|
|
/* MSDN say this always return Direct Sound version 4.02 */
|
|
|
|
return 0x402;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-04 16:23:11 +00:00
|
|
|
/*++
|
|
|
|
* @name DxApi
|
|
|
|
* @implemented
|
|
|
|
*
|
2013-11-11 20:11:23 +00:00
|
|
|
* The function DxApi calls to diffent functions, follow functions
|
2007-11-04 16:23:11 +00:00
|
|
|
* are supported
|
|
|
|
* DxGetVersionNumber, DxCloseHandle, DxOpenDirectDraw, DxOpenSurface,
|
|
|
|
* DxOpenVideoPort, DxGetKernelCaps, DxGetFieldNumber, DxSetFieldNumber,
|
|
|
|
* DxSetSkipPattern, DxGetSurfaceState, DxSetSurfaceState, DxLock,
|
|
|
|
* DxFlipOverlay, DxFlipVideoPort, DxGetCurrentAutoflip, DxGetPreviousAutoflip,
|
|
|
|
* DxRegisterEvent, DxUnregisterEvent, DxGetPolarity, DxOpenVpCatureDevice,
|
2013-11-11 20:11:23 +00:00
|
|
|
* DxAddVpCaptureBuffer, DxFlushVpCaptureBuffs
|
2007-11-04 16:23:11 +00:00
|
|
|
*
|
|
|
|
* See ddkmapi.h as well
|
|
|
|
|
|
|
|
*
|
|
|
|
* @param ULONG dwFunctionNum
|
|
|
|
* The function id we want call on in the dxapi.sys see ddkmapi.h for the id
|
|
|
|
*
|
|
|
|
* @param PVOID lpvInBuffer
|
|
|
|
* Our input buffer to the functions we call to, This param can be NULL
|
|
|
|
*
|
|
|
|
* @param ULONG cbInBuffer
|
|
|
|
* Our size in bytes of the input buffer, rember wrong size will result in the function
|
|
|
|
* does not being call.
|
|
|
|
*
|
|
|
|
* @param PVOID lpvOutBuffer
|
|
|
|
* Our Output buffer, there the function fill in the info, this param can not
|
|
|
|
* be null. if it null the functions we trying call on will not be call
|
|
|
|
*
|
|
|
|
* @param ULONG cbOutBuffer
|
|
|
|
* Our size in bytes of the output buffer, rember wrong size will result in the function
|
|
|
|
* does not being call.
|
|
|
|
*
|
2013-11-11 20:11:23 +00:00
|
|
|
* @return
|
|
|
|
* Return Always 0.
|
2007-11-04 16:23:11 +00:00
|
|
|
*
|
|
|
|
* @remarks.
|
|
|
|
* before call to any of this functions, do not forget set lpvOutBuffer->ddRVal = DDERR_GEN*,
|
|
|
|
* if that member exists in the outbuffer ;
|
|
|
|
*
|
|
|
|
*--*/
|
Merge from branch ReactX to Trunk,
Please make a clean build after this update
Add dxg.sys driver
----------------------------------------------------------------
This driver contains all DirectX graphic APIs called by win32k. Most of them
are stubbed, and the following APIs are implemented:
DxDxgGenericThunk, DxDdIoctl, DriverEntry, DxDdStartupDxGraphics, DxDdCleanupDxGraphics
Add dxgthk.sys driver, which is 100% finished
---------------------------------------------------------
The following APIs are implemented (almost all are forwarders):
DriverEntry, EngAcquireSemaphore, EngAllocMem, EngAllocUserMem,
EngCopyBits, EngCreateBitmap, EngCreatePalette, EngCreateSemaphore,
EngDeletePalette, EngDeleteSemaphore, EngDeleteSurface,
EngFindImageProcAddress, EngFreeMem, EngFreeUserMem,
EngLoadImage, EngLockSurface, EngReleaseSemaphore,
EngSetLastError, EngUnloadImage, EngUnlockSurface
Add dxapi.sys driver
--------------------------------------------------------------
Most of the APIs used by the graphic card's driver or win32k are stubs.
The following APIs are implemented:
DriverEntry, GsDriverEntry, DxApiGetVersion, DxApi.
All APIs which DxApi wraps are stubs.
Changes in win32k
-------------------------------------------------------------------
Move _DC struct to include\reactos\win32k\ntgdihdl.h
--------------------------------------------------------------------------
Implement NtGdiDdCanCreateD3DBuffer, NtGdiD3dContextDestroy,
NtGdiD3dContextDestroyAll, NtGdiDdCreateD3DBuffer, NtGdiDdDestroyD3DBuffer,
NtGdiD3dDrawPrimitives2, NtGdiDdLockD3D, NtGdiD3dValidateTextureStageState,
NtGdiDdUnlockD3D, NtGdiDdCreateSurface, NtGdiDdWaitForVerticalBlank,
NtGdiDdCanCreateSurface, NtGdiDdGetScanLine, NtGdiDdCreateSurfaceEx,
DxDdStartupDxGraphics, NtGdiDdCreateDirectDrawObject, NtGdiDxgGenericThunk,
NtGdiDdGetDriverState, NtGdiDdColorControl, NtGdiDdCreateSurfaceObject,
NtGdiDdCreateSurfaceObject, NtGdiDdDeleteDirectDrawObject, NtGdiDdDeleteSurfaceObject,
NtGdiDdQueryDirectDrawObject, NtGdiDdReenableDirectDrawObject, NtGdiDdGetDriverInfo,
NtGdiDdGetAvailDriverMemory, NtGdiDdSetExclusiveMode, NtGdiDdFlipToGDISurface,
NtGdiDdGetDC, NtGdiDdGetDxHandle, NtGdiDdReleaseDC, NtGdiDdResetVisrgn,
NtGdiDdSetGammaRamp, NtGdiDdDestroySurface, NtGdiDdFlip, NtGdiDdLock, NtGdiDdUnlock,
NtGdiDdBlt, NtGdiDdSetColorKey, NtGdiDdAddAttachedSurface, NtGdiDdGetBltStatus,
NtGdiDdGetFlipStatus, NtGdiDdUpdateOverlay, NtGdiDdSetOverlayPosition,
NtGdiDdAlphaBlt, NtGdiDdAttachSurface, NtGdiDdUnattachSurface,
NtGdiDvpCanCreateVideoPort, NtGdiDvpColorControl, NtGdiDvpCreateVideoPort,
NtGdiDvpDestroyVideoPort, NtGdiDvpFlipVideoPort, NtGdiDvpGetVideoPortBandwidth,
NtGdiDvpGetVideoPortFlipStatus, NtGdiDvpGetVideoPortInputFormats,
NtGdiDvpGetVideoPortLine, NtGdiDvpGetVideoPortOutputFormats,
NtGdiDvpGetVideoPortConnectInfo, NtGdiDvpGetVideoSignalStatus,
NtGdiDvpUpdateVideoPort, NtGdiDvpWaitForVideoPortSync,
NtGdiDvpAcquireNotification, NtGdiDvpReleaseNotification,
NtGdiDvpGetVideoPortField, NtGdiDdBeginMoCompFrame,
NtGdiDdCreateMoComp, NtGdiDdDestroyMoComp,
NtGdiDdEndMoCompFrame, NtGdiDdGetInternalMoCompInfo,
NtGdiDdGetMoCompBuffInfo, NtGdiDdGetMoCompFormats,
NtGdiDdGetMoCompGuids, NtGdiDdQueryMoCompStatus,
NtGdiDdRenderMoComp, HeapVidMemAllocAligned,
VidMemFree, EngAllocPrivateUserMem, EngFreePrivateUserMem,
EngLockDirectDrawSurface, EngUnlockDirectDrawSurface
But all those functions are stubbed in dxg.sys
----------------------------------------------------------------------------
Implemented APIsL
DxEngLockDC, DxEngUnlockDC, DxEngGetDCState, EngDxIoctl
----------------------------------------------------------------------------
Stubbed APIs:
DxEngNUIsTermSrv, DxEngRedrawDesktop, DxEngDispUniq, DxEngVisRgnUniq,
DxEngEnumerateHdev, DxEngGetDeviceGammaRamp, DxEngCreateMemoryDC,
DxEngScreenAccessCheck, DxEngLockShareSem, DxEngUnlockShareSem,
DxEngLockHdev, DxEngUnlockHdev, DxEngReferenceHdev,
DxEngIsHdevLockedByCurrentThread, DxEngUnreferenceHdev,
DxEngSetDeviceGammaRamp, DxEngSpTearDownSprites,
DxEngSpUnTearDownSprites, DxEngSpSpritesVisible,
DxEngGetHdevData, DxEngSetHdevData, DxEngGetDesktopDC,
DxEngDeleteDC, DxEngCleanDC, DxEngSetDCOwner,
DxEngSetDCState, DxEngSelectBitmap,DxEngSetBitmapOwner,
DxEngDeleteSurface, DxEngGetSurfaceData, DxEngAltLockSurface,
DxEngUploadPaletteEntryToSurface, DxEngMarkSurfaceAsDirectDraw,
DxEngSelectPaletteToSurface, DxEngSyncPaletteTableWithDevice,
DxEngSetPaletteState, DxEngGetRedirectionBitmap, DxEngLoadImage,
DxEngIncDispUniq
----------------------------------------------------------------------------
Remember we need the DxEng APIs implemented and HeapVidMemAllocAligned,
VidMemFree, EngAllocPrivateUserMem, EngFreePrivateUserMem,
EngLockDirectDrawSurface, EngUnlockDirectDrawSurface implemented
before it's possible to have full DirectX support at kmode.
svn path=/trunk/; revision=30328
2007-11-10 15:31:49 +00:00
|
|
|
|
2009-08-07 21:53:26 +00:00
|
|
|
DWORD
|
2013-11-11 20:11:23 +00:00
|
|
|
NTAPI
|
Merge from branch ReactX to Trunk,
Please make a clean build after this update
Add dxg.sys driver
----------------------------------------------------------------
This driver contains all DirectX graphic APIs called by win32k. Most of them
are stubbed, and the following APIs are implemented:
DxDxgGenericThunk, DxDdIoctl, DriverEntry, DxDdStartupDxGraphics, DxDdCleanupDxGraphics
Add dxgthk.sys driver, which is 100% finished
---------------------------------------------------------
The following APIs are implemented (almost all are forwarders):
DriverEntry, EngAcquireSemaphore, EngAllocMem, EngAllocUserMem,
EngCopyBits, EngCreateBitmap, EngCreatePalette, EngCreateSemaphore,
EngDeletePalette, EngDeleteSemaphore, EngDeleteSurface,
EngFindImageProcAddress, EngFreeMem, EngFreeUserMem,
EngLoadImage, EngLockSurface, EngReleaseSemaphore,
EngSetLastError, EngUnloadImage, EngUnlockSurface
Add dxapi.sys driver
--------------------------------------------------------------
Most of the APIs used by the graphic card's driver or win32k are stubs.
The following APIs are implemented:
DriverEntry, GsDriverEntry, DxApiGetVersion, DxApi.
All APIs which DxApi wraps are stubs.
Changes in win32k
-------------------------------------------------------------------
Move _DC struct to include\reactos\win32k\ntgdihdl.h
--------------------------------------------------------------------------
Implement NtGdiDdCanCreateD3DBuffer, NtGdiD3dContextDestroy,
NtGdiD3dContextDestroyAll, NtGdiDdCreateD3DBuffer, NtGdiDdDestroyD3DBuffer,
NtGdiD3dDrawPrimitives2, NtGdiDdLockD3D, NtGdiD3dValidateTextureStageState,
NtGdiDdUnlockD3D, NtGdiDdCreateSurface, NtGdiDdWaitForVerticalBlank,
NtGdiDdCanCreateSurface, NtGdiDdGetScanLine, NtGdiDdCreateSurfaceEx,
DxDdStartupDxGraphics, NtGdiDdCreateDirectDrawObject, NtGdiDxgGenericThunk,
NtGdiDdGetDriverState, NtGdiDdColorControl, NtGdiDdCreateSurfaceObject,
NtGdiDdCreateSurfaceObject, NtGdiDdDeleteDirectDrawObject, NtGdiDdDeleteSurfaceObject,
NtGdiDdQueryDirectDrawObject, NtGdiDdReenableDirectDrawObject, NtGdiDdGetDriverInfo,
NtGdiDdGetAvailDriverMemory, NtGdiDdSetExclusiveMode, NtGdiDdFlipToGDISurface,
NtGdiDdGetDC, NtGdiDdGetDxHandle, NtGdiDdReleaseDC, NtGdiDdResetVisrgn,
NtGdiDdSetGammaRamp, NtGdiDdDestroySurface, NtGdiDdFlip, NtGdiDdLock, NtGdiDdUnlock,
NtGdiDdBlt, NtGdiDdSetColorKey, NtGdiDdAddAttachedSurface, NtGdiDdGetBltStatus,
NtGdiDdGetFlipStatus, NtGdiDdUpdateOverlay, NtGdiDdSetOverlayPosition,
NtGdiDdAlphaBlt, NtGdiDdAttachSurface, NtGdiDdUnattachSurface,
NtGdiDvpCanCreateVideoPort, NtGdiDvpColorControl, NtGdiDvpCreateVideoPort,
NtGdiDvpDestroyVideoPort, NtGdiDvpFlipVideoPort, NtGdiDvpGetVideoPortBandwidth,
NtGdiDvpGetVideoPortFlipStatus, NtGdiDvpGetVideoPortInputFormats,
NtGdiDvpGetVideoPortLine, NtGdiDvpGetVideoPortOutputFormats,
NtGdiDvpGetVideoPortConnectInfo, NtGdiDvpGetVideoSignalStatus,
NtGdiDvpUpdateVideoPort, NtGdiDvpWaitForVideoPortSync,
NtGdiDvpAcquireNotification, NtGdiDvpReleaseNotification,
NtGdiDvpGetVideoPortField, NtGdiDdBeginMoCompFrame,
NtGdiDdCreateMoComp, NtGdiDdDestroyMoComp,
NtGdiDdEndMoCompFrame, NtGdiDdGetInternalMoCompInfo,
NtGdiDdGetMoCompBuffInfo, NtGdiDdGetMoCompFormats,
NtGdiDdGetMoCompGuids, NtGdiDdQueryMoCompStatus,
NtGdiDdRenderMoComp, HeapVidMemAllocAligned,
VidMemFree, EngAllocPrivateUserMem, EngFreePrivateUserMem,
EngLockDirectDrawSurface, EngUnlockDirectDrawSurface
But all those functions are stubbed in dxg.sys
----------------------------------------------------------------------------
Implemented APIsL
DxEngLockDC, DxEngUnlockDC, DxEngGetDCState, EngDxIoctl
----------------------------------------------------------------------------
Stubbed APIs:
DxEngNUIsTermSrv, DxEngRedrawDesktop, DxEngDispUniq, DxEngVisRgnUniq,
DxEngEnumerateHdev, DxEngGetDeviceGammaRamp, DxEngCreateMemoryDC,
DxEngScreenAccessCheck, DxEngLockShareSem, DxEngUnlockShareSem,
DxEngLockHdev, DxEngUnlockHdev, DxEngReferenceHdev,
DxEngIsHdevLockedByCurrentThread, DxEngUnreferenceHdev,
DxEngSetDeviceGammaRamp, DxEngSpTearDownSprites,
DxEngSpUnTearDownSprites, DxEngSpSpritesVisible,
DxEngGetHdevData, DxEngSetHdevData, DxEngGetDesktopDC,
DxEngDeleteDC, DxEngCleanDC, DxEngSetDCOwner,
DxEngSetDCState, DxEngSelectBitmap,DxEngSetBitmapOwner,
DxEngDeleteSurface, DxEngGetSurfaceData, DxEngAltLockSurface,
DxEngUploadPaletteEntryToSurface, DxEngMarkSurfaceAsDirectDraw,
DxEngSelectPaletteToSurface, DxEngSyncPaletteTableWithDevice,
DxEngSetPaletteState, DxEngGetRedirectionBitmap, DxEngLoadImage,
DxEngIncDispUniq
----------------------------------------------------------------------------
Remember we need the DxEng APIs implemented and HeapVidMemAllocAligned,
VidMemFree, EngAllocPrivateUserMem, EngFreePrivateUserMem,
EngLockDirectDrawSurface, EngUnlockDirectDrawSurface implemented
before it's possible to have full DirectX support at kmode.
svn path=/trunk/; revision=30328
2007-11-10 15:31:49 +00:00
|
|
|
DxApi(IN DWORD dwFunctionNum,
|
|
|
|
IN LPVOID lpvInBuffer,
|
|
|
|
IN DWORD cbInBuffer,
|
|
|
|
OUT LPVOID lpvOutBuffer,
|
|
|
|
OUT DWORD cbOutBuffer)
|
2007-11-04 14:57:57 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
dwFunctionNum -= DD_FIRST_DXAPI;
|
|
|
|
|
2013-11-11 20:11:23 +00:00
|
|
|
if ((lpvOutBuffer == NULL) ||
|
2008-12-07 21:52:22 +00:00
|
|
|
/*(dwFunctionNum < (DD_FIRST_DXAPI - DD_FIRST_DXAPI)) ||*/
|
2007-11-04 14:57:57 +00:00
|
|
|
(dwFunctionNum > (DD_DXAPI_FLUSHVPCAPTUREBUFFERS - DD_FIRST_DXAPI)) ||
|
|
|
|
(gDxApiEntryPoint[dwFunctionNum].pfn == NULL) ||
|
|
|
|
(cbInBuffer != tblCheckInBuffer[dwFunctionNum]) ||
|
|
|
|
(cbOutBuffer != tblCheckOutBuffer[dwFunctionNum]))
|
|
|
|
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
gDxApiEntryPoint[dwFunctionNum].pfn(lpvInBuffer, lpvOutBuffer);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2013-11-11 20:11:23 +00:00
|
|
|
VOID
|
|
|
|
NTAPI
|
|
|
|
DxApiInitialize (
|
|
|
|
PVOID p1,
|
|
|
|
PVOID p2,
|
|
|
|
PVOID p3,
|
|
|
|
PVOID p4,
|
|
|
|
PVOID p5,
|
|
|
|
PVOID p6,
|
|
|
|
PVOID p7,
|
|
|
|
PVOID p8)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
NTAPI
|
|
|
|
DxAutoflipUpdate (
|
|
|
|
PVOID p1,
|
|
|
|
PVOID p2,
|
|
|
|
PVOID p3,
|
|
|
|
PVOID p4,
|
|
|
|
PVOID p5)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
NTAPI
|
|
|
|
DxEnableIRQ (
|
|
|
|
PVOID p1,
|
|
|
|
PVOID p2)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
NTAPI
|
|
|
|
DxLoseObject (
|
|
|
|
PVOID p1,
|
|
|
|
PVOID p2)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
NTAPI
|
|
|
|
DxUpdateCapture (
|
|
|
|
PVOID p1,
|
|
|
|
PVOID p2,
|
|
|
|
PVOID p3)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-11-04 16:23:11 +00:00
|
|
|
/*++
|
|
|
|
* @name DxGetVersionNumber
|
|
|
|
* @implemented
|
|
|
|
*
|
|
|
|
* The function DxGetVersionNumber return dxapi interface version, that is 1.0
|
|
|
|
*
|
2013-11-11 20:11:23 +00:00
|
|
|
* @return
|
2007-11-04 16:23:11 +00:00
|
|
|
* Always return 1.0
|
|
|
|
*
|
|
|
|
* @remarks.
|
|
|
|
* none
|
|
|
|
*
|
|
|
|
*--*/
|
2007-11-04 14:57:57 +00:00
|
|
|
VOID
|
2007-11-04 16:23:11 +00:00
|
|
|
DxGetVersionNumber(PVOID lpvInBuffer, LPDDGETVERSIONNUMBER lpvOutBuffer)
|
2007-11-04 14:57:57 +00:00
|
|
|
{
|
2007-11-04 16:23:11 +00:00
|
|
|
lpvOutBuffer->ddRVal = DD_OK;
|
|
|
|
lpvOutBuffer->dwMajorVersion = 1;
|
|
|
|
lpvOutBuffer->dwMinorVersion = 0;
|
2007-11-04 14:57:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxCloseHandle(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxOpenDirectDraw(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxOpenSurface(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxOpenVideoPort(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxGetKernelCaps(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxGetFieldNumber(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxSetFieldNumber(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxSetSkipPattern(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxGetSurfaceState(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxSetSurfaceState(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxLock(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxFlipOverlay(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxFlipVideoPort(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxGetCurrentAutoflip(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxGetPreviousAutoflip(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxRegisterEvent(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxUnregisterEvent(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxGetPolarity(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxOpenVpCatureDevice(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxAddVpCaptureBuffer(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DxFlushVpCaptureBuffs(PVOID lpvInBuffer, PVOID lpvOutBuffer)
|
|
|
|
{
|
|
|
|
/* FIXME Unimplement */
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|