Author: greatlrd
Date: Fri Dec 17 12:12:35 2010
New Revision: 50049
URL:
http://svn.reactos.org/svn/reactos?rev=50049&view=rev
Log:
[dxg.sys]
it build now again with the stub
Modified:
branches/reactx/reactos/drivers/directx/dxg/dxg_driver.h
branches/reactx/reactos/drivers/directx/dxg/dxg_int.h
branches/reactx/reactos/drivers/directx/dxg/main.c
branches/reactx/reactos/drivers/directx/dxg/stub.c
Modified: branches/reactx/reactos/drivers/directx/dxg/dxg_driver.h
URL:
http://svn.reactos.org/svn/reactos/branches/reactx/reactos/drivers/directx/…
==============================================================================
--- branches/reactx/reactos/drivers/directx/dxg/dxg_driver.h [iso-8859-1] (original)
+++ branches/reactx/reactos/drivers/directx/dxg/dxg_driver.h [iso-8859-1] Fri Dec 17
12:12:35 2010
@@ -2,97 +2,97 @@
DRVFN gaDxgFuncs [] =
{
- {DXG_INDEX_DxDxgGenericThunk, (PFN)DxDxgGenericThunk},
- //{DXG_INDEX_DxD3dContextCreate, (PFN)DxD3dContextCreate},
- //{DXG_INDEX_DxD3dContextDestroy, (PFN)DxD3dContextDestroy},
- //{DXG_INDEX_DxD3dContextDestroyAll, (PFN)DxD3dContextDestroyAll},
- //{DXG_INDEX_DxD3dValidateTextureStageState, (PFN)DxD3dValidateTextureStageState},
- //{DXG_INDEX_DxD3dDrawPrimitives2, (PFN)DxD3dDrawPrimitives2},
- //{DXG_INDEX_DxDdGetDriverState, (PFN)DxDdGetDriverState},
- //{DXG_INDEX_DxDdAddAttachedSurface, (PFN)DxDdAddAttachedSurface},
- //{DXG_INDEX_DxDdAlphaBlt, (PFN)DxDdAlphaBlt},
- //{DXG_INDEX_DxDdAttachSurface, (PFN)DxDdAttachSurface},
- //{DXG_INDEX_DxDdBeginMoCompFrame, (PFN)DxDdBeginMoCompFrame},
- //{DXG_INDEX_DxDdBlt, (PFN)DxDdBlt},
- //{DXG_INDEX_DxDdCanCreateSurface, (PFN)DxDdCanCreateSurface},
- //{DXG_INDEX_DxDdCanCreateD3DBuffer, (PFN)DxDdCanCreateD3DBuffer},
- //{DXG_INDEX_DxDdColorControl, (PFN)DxDdColorControl},
- //{DXG_INDEX_DxDdCreateDirectDrawObject, (PFN)DxDdCreateDirectDrawObject},
- //{DXG_INDEX_DxDdCreateSurface, (PFN)DxDdCreateD3DBuffer},
- //{DXG_INDEX_DxDdCreateD3DBuffer, (PFN)DxDdCreateD3DBuffer},
- //{DXG_INDEX_DxDdCreateMoComp, (PFN)DxDdCreateMoComp},
- //{DXG_INDEX_DxDdCreateSurfaceObject, (PFN)DxDdCreateSurfaceObject},
- //{DXG_INDEX_DxDdDeleteDirectDrawObject, (PFN)DxDdDeleteDirectDrawObject},
- //{DXG_INDEX_DxDdDeleteSurfaceObject, (PFN)DxDdDeleteSurfaceObject},
- //{DXG_INDEX_DxDdDestroyMoComp, (PFN)DxDdDestroyMoComp},
- //{DXG_INDEX_DxDdDestroySurface, (PFN)DxDdDestroySurface},
- //{DXG_INDEX_DxDdDestroyD3DBuffer, (PFN)DxDdDestroyD3DBuffer},
- //{DXG_INDEX_DxDdEndMoCompFrame, (PFN)DxDdEndMoCompFrame},
- //{DXG_INDEX_DxDdFlip, (PFN)DxDdFlip},
- //{DXG_INDEX_DxDdFlipToGDISurface, (PFN)DxDdFlipToGDISurface},
- //{DXG_INDEX_DxDdGetAvailDriverMemory, (PFN)DxDdGetAvailDriverMemory},
- //{DXG_INDEX_DxDdGetBltStatus, (PFN)DxDdGetBltStatus},
- //{DXG_INDEX_DxDdGetDC, (PFN)DxDdGetDC},
- //{DXG_INDEX_DxDdGetDriverInfo, (PFN)DxDdGetDriverInfo},
- //{DXG_INDEX_DxDdGetDxHandle, (PFN)DxDdGetDxHandle},
- //{DXG_INDEX_DxDdGetFlipStatus, (PFN)DxDdGetFlipStatus},
- //{DXG_INDEX_DxDdGetInternalMoCompInfo, (PFN)DxDdGetInternalMoCompInfo},
- //{DXG_INDEX_DxDdGetMoCompBuffInfo, (PFN)DxDdGetMoCompBuffInfo},
- //{DXG_INDEX_DxDdGetMoCompGuids, (PFN)DxDdGetMoCompGuids},
- //{DXG_INDEX_DxDdGetMoCompFormats, (PFN)DxDdGetMoCompFormats},
- //{DXG_INDEX_DxDdGetScanLine, (PFN)DxDdGetScanLine},
- //{DXG_INDEX_DxDdLock, (PFN)DxDdLock},
- //{DXG_INDEX_DxDdLockD3D, (PFN)DxDdLockD3D},
- //{DXG_INDEX_DxDdQueryDirectDrawObject, (PFN)DxDdQueryDirectDrawObject},
- //{DXG_INDEX_DxDdQueryMoCompStatus, (PFN)DxDdQueryMoCompStatus},
- //{DXG_INDEX_DxDdReenableDirectDrawObject, (PFN)DxDdReenableDirectDrawObject},
- //{DXG_INDEX_DxDdReleaseDC, (PFN)DxDdReleaseDC},
- //{DXG_INDEX_DxDdRenderMoComp, (PFN)DxDdRenderMoComp},
- //{DXG_INDEX_DxDdResetVisrgn, (PFN)DxDdResetVisrgn},
- //{DXG_INDEX_DxDdSetColorKey, (PFN)DxDdSetColorKey},
- //{DXG_INDEX_DxDdSetExclusiveMode, (PFN)DxDdSetExclusiveMode},
- //{DXG_INDEX_DxDdSetGammaRamp, (PFN)DxDdSetGammaRamp},
- //{DXG_INDEX_DxDdCreateSurfaceEx, (PFN)DxDdCreateSurfaceEx},
- //{DXG_INDEX_DxDdSetOverlayPosition, (PFN)DxDdSetOverlayPosition},
- //{DXG_INDEX_DxDdUnattachSurface, (PFN)DxDdUnattachSurface},
- //{DXG_INDEX_DxDdUnlock, (PFN)DxDdUnlock},
- //{DXG_INDEX_DxDdUnlockD3D2, (PFN)DxDdUnlockD3D},
- //{DXG_INDEX_DxDdUpdateOverlay, (PFN)DxDdUpdateOverlay},
- //{DXG_INDEX_DxDdWaitForVerticalBlank, (PFN)DxDdWaitForVerticalBlank},
- //{DXG_INDEX_DxDvpCanCreateVideoPort, (PFN)DxDvpCanCreateVideoPort},
- //{DXG_INDEX_DxDvpColorControl, (PFN)DxDvpColorControl},
- //{DXG_INDEX_DxDvpCreateVideoPort, (PFN)DxDvpCreateVideoPort},
- //{DXG_INDEX_DxDvpDestroyVideoPort, (PFN)DxDvpDestroyVideoPort},
- //{DXG_INDEX_DxDvpFlipVideoPort, (PFN)DxDvpFlipVideoPort},
- //{DXG_INDEX_DxDvpGetVideoPortBandwidth, (PFN)DxDvpGetVideoPortBandwidth},
- //{DXG_INDEX_DxDvpGetVideoPortField, (PFN)DxDvpGetVideoPortField},
- //{DXG_INDEX_DxDvpGetVideoPortFlipStatus, (PFN)DxDvpGetVideoPortFlipStatus},
- //{DXG_INDEX_DxDvpGetVideoPortInputFormats, (PFN)DxDvpGetVideoPortInputFormats},
- //{DXG_INDEX_DxDvpGetVideoPortLine, (PFN)DxDvpGetVideoPortLine},
- //{DXG_INDEX_DxDvpGetVideoPortOutputFormats, (PFN)DxDvpGetVideoPortOutputFormats},
- //{DXG_INDEX_DxDvpGetVideoPortConnectInfo, (PFN)DxDvpGetVideoPortConnectInfo},
- //{DXG_INDEX_DxDvpGetVideoSignalStatus, (PFN)DxDvpGetVideoSignalStatus},
- //{DXG_INDEX_DxDvpUpdateVideoPort, (PFN)DxDvpUpdateVideoPort},
- //{DXG_INDEX_DxDvpWaitForVideoPortSync, (PFN)DxDvpWaitForVideoPortSync},
- //{DXG_INDEX_DxDvpAcquireNotification, (PFN)DxDvpAcquireNotification},
- //{DXG_INDEX_DxDvpReleaseNotification, (PFN)DxDvpReleaseNotification},
- //{DXG_INDEX_DxDdHeapVidMemAllocAligned, (PFN)DxDdHeapVidMemAllocAligned},
- //{DXG_INDEX_DxDdHeapVidMemFree, (PFN)DxDdHeapVidMemFree},
- //{DXG_INDEX_DxDdEnableDirectDraw, (PFN)DxDdEnableDirectDraw},
- //{DXG_INDEX_DxDdDisableDirectDraw, (PFN)DxDdDisableDirectDraw},
- //{DXG_INDEX_DxDdSuspendDirectDraw, (PFN)DxDdSuspendDirectDraw},
- //{DXG_INDEX_DxDdResumeDirectDraw, (PFN)DxDdResumeDirectDraw},
- //{DXG_INDEX_DxDdDynamicModeChange, (PFN)DxDdDynamicModeChange},
- //{DXG_INDEX_DxDdCloseProcess, (PFN)DxDdCloseProcess},
- //{DXG_INDEX_DxDdGetDirectDrawBound, (PFN)DxDdGetDirectDrawBound},
- //{DXG_INDEX_DxDdEnableDirectDrawRedirection, (PFN)DxDdEnableDirectDrawRedirection},
- //{DXG_INDEX_DxDdAllocPrivateUserMem, (PFN)DxDdAllocPrivateUserMem},
- //{DXG_INDEX_DxDdFreePrivateUserMem, (PFN)DxDdFreePrivateUserMem},
- {DXG_INDEX_DxDdLockDirectDrawSurface, (PFN)DxDdLockDirectDrawSurface},
- {DXG_INDEX_DxDdUnlockDirectDrawSurface, (PFN)DxDdUnlockDirectDrawSurface},
- //{DXG_INDEX_DxDdSetAccelLevel, (PFN)DxDdSetAccelLevel},
- //{DXG_INDEX_DxDdGetSurfaceLock, (PFN)DxDdGetSurfaceLock},
- //{DXG_INDEX_DxDdEnumLockedSurfaceRect, (PFN)DxDdEnumLockedSurfaceRect},
- {DXG_INDEX_DxDdIoctl, (PFN)DxDdIoctl}
+ {DXG_INDEX_DXDXGGENERICTHUNK, (PFN)DxDxgGenericThunk},
+ {DXG_INDEX_DXD3DCONTEXTCREATE, (PFN)DxD3dContextCreate},
+ {DXG_INDEX_DXD3DCONTEXTDESTROY, (PFN)DxD3dContextDestroy},
+ {DXG_INDEX_DXD3DCONTEXTDESTROYALL, (PFN)DxD3dContextDestroyAll},
+ {DXG_INDEX_DXD3DVALIDATETEXTURESTAGESTATE, (PFN)DxD3dValidateTextureStageState},
+ {DXG_INDEX_DXD3DDRAWPRIMITIVES2, (PFN)DxD3dDrawPrimitives2},
+ {DXG_INDEX_DXDDGETDRIVERSTATE, (PFN)DxDdGetDriverState},
+ {DXG_INDEX_DXDDADDATTACHEDSURFACE, (PFN)DxDdAddAttachedSurface},
+ {DXG_INDEX_DXDDALPHABLT, (PFN)DxDdAlphaBlt},
+ {DXG_INDEX_DXDDATTACHSURFACE, (PFN)DxDdAttachSurface},
+ {DXG_INDEX_DXDDBEGINMOCOMPFRAME, (PFN)DxDdBeginMoCompFrame},
+ {DXG_INDEX_DXDDBLT, (PFN)DxDdBlt},
+ {DXG_INDEX_DXDDCANCREATESURFACE, (PFN)DxDdCanCreateSurface},
+ {DXG_INDEX_DXDDCANCREATED3DBUFFER, (PFN)DxDdCanCreateD3DBuffer},
+ {DXG_INDEX_DXDDCOLORCONTROL, (PFN)DxDdColorControl},
+ {DXG_INDEX_DXDDCREATEDIRECTDRAWOBJECT, (PFN)DxDdCreateDirectDrawObject},
+ {DXG_INDEX_DXDDCREATESURFACE, (PFN)DxDdCreateSurface},
+ {DXG_INDEX_DXDDCREATED3DBUFFER, (PFN)DxDdCreateSurface},
+ {DXG_INDEX_DXDDCREATEMOCOMP, (PFN)DxDdCreateMoComp},
+ {DXG_INDEX_DXDDCREATESURFACEOBJECT, (PFN)DxDdCreateSurfaceObject},
+ {DXG_INDEX_DXDDDELETEDIRECTDRAWOBJECT, (PFN)DxDdDeleteDirectDrawObject},
+ {DXG_INDEX_DXDDDELETESURFACEOBJECT, (PFN)DxDdDeleteSurfaceObject},
+ {DXG_INDEX_DXDDDESTROYMOCOMP, (PFN)DxDdDestroyMoComp},
+ {DXG_INDEX_DXDDDESTROYSURFACE, (PFN)DxDdDestroySurface},
+ {DXG_INDEX_DXDDDESTROYD3DBUFFER, (PFN)DxDdDestroyD3DBuffer},
+ {DXG_INDEX_DXDDENDMOCOMPFRAME, (PFN)DxDdEndMoCompFrame},
+ {DXG_INDEX_DXDDFLIP, (PFN)DxDdFlip},
+ {DXG_INDEX_DXDDFLIPTOGDISURFACE, (PFN)DxDdFlipToGDISurface},
+ {DXG_INDEX_DXDDGETAVAILDRIVERMEMORY, (PFN)DxDdGetAvailDriverMemory},
+ {DXG_INDEX_DXDDGETBLTSTATUS, (PFN)DxDdGetBltStatus},
+ {DXG_INDEX_DXDDGETDC, (PFN)DxDdGetDC},
+ {DXG_INDEX_DXDDGETDRIVERINFO, (PFN)DxDdGetDriverInfo},
+ {DXG_INDEX_DXDDGETDXHANDLE, (PFN)DxDdGetDxHandle},
+ {DXG_INDEX_DXDDGETFLIPSTATUS, (PFN)DxDdGetFlipStatus},
+ {DXG_INDEX_DXDDGETINTERNALMOCOMPINFO, (PFN)DxDdGetInternalMoCompInfo},
+ {DXG_INDEX_DXDDGETMOCOMPBUFFINFO, (PFN)DxDdGetMoCompBuffInfo},
+ {DXG_INDEX_DXDDGETMOCOMPGUIDS, (PFN)DxDdGetMoCompGuids},
+ {DXG_INDEX_DXDDGETMOCOMPFORMATS, (PFN)DxDdGetMoCompFormats},
+ {DXG_INDEX_DXDDGETSCANLINE, (PFN)DxDdGetScanLine},
+ {DXG_INDEX_DXDDLOCK, (PFN)DxDdLock},
+ {DXG_INDEX_DXDDLOCKD3D, (PFN)DxDdLockD3D},
+ {DXG_INDEX_DXDDQUERYDIRECTDRAWOBJECT, (PFN)DxDdQueryDirectDrawObject},
+ {DXG_INDEX_DXDDQUERYMOCOMPSTATUS, (PFN)DxDdQueryMoCompStatus},
+ {DXG_INDEX_DXDDREENABLEDIRECTDRAWOBJECT, (PFN)DxDdReenableDirectDrawObject},
+ {DXG_INDEX_DXDDRELEASEDC, (PFN)DxDdReleaseDC},
+ {DXG_INDEX_DXDDRENDERMOCOMP, (PFN)DxDdRenderMoComp},
+ {DXG_INDEX_DXDDRESETVISRGN, (PFN)DxDdResetVisrgn},
+ {DXG_INDEX_DXDDSETCOLORKEY, (PFN)DxDdSetColorKey},
+ {DXG_INDEX_DXDDSETEXCLUSIVEMODE, (PFN)DxDdSetExclusiveMode},
+ {DXG_INDEX_DXDDSETGAMMARAMP, (PFN)DxDdSetGammaRamp},
+ {DXG_INDEX_DXDDCREATESURFACEEX, (PFN)DxDdCreateSurfaceEx},
+ {DXG_INDEX_DXDDSETOVERLAYPOSITION, (PFN)DxDdSetOverlayPosition},
+ {DXG_INDEX_DXDDUNATTACHSURFACE, (PFN)DxDdUnattachSurface},
+ {DXG_INDEX_DXDDUNLOCK, (PFN)DxDdUnlock},
+ {DXG_INDEX_DXDDUNLOCKD3D, (PFN)DxDdUnlock},
+ {DXG_INDEX_DXDDUPDATEOVERLAY, (PFN)DxDdUpdateOverlay},
+ {DXG_INDEX_DXDDWAITFORVERTICALBLANK, (PFN)DxDdWaitForVerticalBlank},
+ {DXG_INDEX_DXDVPCANCREATEVIDEOPORT, (PFN)DxDvpCanCreateVideoPort},
+ {DXG_INDEX_DXDVPCOLORCONTROL, (PFN)DxDvpColorControl},
+ {DXG_INDEX_DXDVPCREATEVIDEOPORT, (PFN)DxDvpCreateVideoPort},
+ {DXG_INDEX_DXDVPDESTROYVIDEOPORT, (PFN)DxDvpDestroyVideoPort},
+ {DXG_INDEX_DXDVPFLIPVIDEOPORT, (PFN)DxDvpFlipVideoPort},
+ {DXG_INDEX_DXDVPGETVIDEOPORTBANDWIDTH, (PFN)DxDvpGetVideoPortBandwidth},
+ {DXG_INDEX_DXDVPGETVIDEOPORTFIELD, (PFN)DxDvpGetVideoPortField},
+ {DXG_INDEX_DXDVPGETVIDEOPORTFLIPSTATUS, (PFN)DxDvpGetVideoPortFlipStatus},
+ {DXG_INDEX_DXDVPGETVIDEOPORTINPUTFORMATS, (PFN)DxDvpGetVideoPortInputFormats},
+ {DXG_INDEX_DXDVPGETVIDEOPORTLINE, (PFN)DxDvpGetVideoPortLine},
+ {DXG_INDEX_DXDVPGETVIDEOPORTOUTPUTFORMATS, (PFN)DxDvpGetVideoPortOutputFormats},
+ {DXG_INDEX_DXDVPGETVIDEOPORTCONNECTINFO, (PFN)DxDvpGetVideoPortConnectInfo},
+ {DXG_INDEX_DXDVPGETVIDEOSIGNALSTATUS, (PFN)DxDvpGetVideoSignalStatus},
+ {DXG_INDEX_DXDVPUPDATEVIDEOPORT, (PFN)DxDvpUpdateVideoPort},
+ {DXG_INDEX_DXDVPWAITFORVIDEOPORTSYNC, (PFN)DxDvpWaitForVideoPortSync},
+ {DXG_INDEX_DXDVPACQUIRENOTIFICATION, (PFN)DxDvpAcquireNotification},
+ {DXG_INDEX_DXDVPRELEASENOTIFICATION, (PFN)DxDvpReleaseNotification},
+ {DXG_INDEX_DXDDHEAPVIDMEMALLOCALIGNED, (PFN)DxDdHeapVidMemAllocAligned},
+ {DXG_INDEX_DXDDHEAPVIDMEMFREE, (PFN)DxDdHeapVidMemFree},
+ {DXG_INDEX_DXDDENABLEDIRECTDRAW, (PFN)DxDdEnableDirectDraw},
+ {DXG_INDEX_DXDDDISABLEDIRECTDRAW, (PFN)DxDdDisableDirectDraw},
+ {DXG_INDEX_DXDDSUSPENDDIRECTDRAW, (PFN)DxDdSuspendDirectDraw},
+ {DXG_INDEX_DXDDRESUMEDIRECTDRAW, (PFN)DxDdResumeDirectDraw},
+ {DXG_INDEX_DXDDDYNAMICMODECHANGE, (PFN)DxDdDynamicModeChange},
+ {DXG_INDEX_DXDDCLOSEPROCESS, (PFN)DxDdCloseProcess},
+ {DXG_INDEX_DXDDGETDIRECTDRAWBOUND, (PFN)DxDdGetDirectDrawBound},
+ {DXG_INDEX_DXDDENABLEDIRECTDRAWREDIRECTION, (PFN)DxDdEnableDirectDrawRedirection},
+ {DXG_INDEX_DXDDALLOCPRIVATEUSERMEM, (PFN)DxDdAllocPrivateUserMem},
+ {DXG_INDEX_DXDDFREEPRIVATEUSERMEM, (PFN)DxDdFreePrivateUserMem},
+ {DXG_INDEX_DXDDLOCKDIRECTDRAWSURFACE, (PFN)DxDdLockDirectDrawSurface},
+ {DXG_INDEX_DXDDUNLOCKDIRECTDRAWSURFACE, (PFN)DxDdUnlockDirectDrawSurface},
+ {DXG_INDEX_DXDDSETACCELLEVEL, (PFN)DxDdSetAccelLevel},
+ {DXG_INDEX_DXDDGETSURFACELOCK, (PFN)DxDdGetSurfaceLock},
+ {DXG_INDEX_DXDDENUMLOCKEDSURFACERECT, (PFN)DxDdEnumLockedSurfaceRect},
+ {DXG_INDEX_DXDDIOCTL, (PFN)DxDdIoctl}
};
Modified: branches/reactx/reactos/drivers/directx/dxg/dxg_int.h
URL:
http://svn.reactos.org/svn/reactos/branches/reactx/reactos/drivers/directx/…
==============================================================================
--- branches/reactx/reactos/drivers/directx/dxg/dxg_int.h [iso-8859-1] (original)
+++ branches/reactx/reactos/drivers/directx/dxg/dxg_int.h [iso-8859-1] Fri Dec 17 12:12:35
2010
@@ -96,6 +96,95 @@
PDD_SURFACE_LOCAL NTAPI DxDdLockDirectDrawSurface(HANDLE hDdSurface);
BOOL NTAPI DxDdUnlockDirectDrawSurface(PDD_SURFACE_LOCAL pSurface);
+NTSTATUS NTAPI DxDdEnableDirectDraw(PVOID pDev, BOOLEAN Enable);
+NTSTATUS NTAPI DxD3dContextCreate(DWORD x1, DWORD x2, DWORD x3, DWORD x4);
+NTSTATUS NTAPI DxD3dContextDestroy(DWORD x1);
+NTSTATUS NTAPI DxD3dContextDestroyAll(DWORD x1);
+NTSTATUS NTAPI DxD3dValidateTextureStageState(DWORD x1);
+NTSTATUS NTAPI DxD3dDrawPrimitives2(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5,
DWORD x6, DWORD x7);
+NTSTATUS NTAPI DxDdGetDriverState(DWORD x1);
+NTSTATUS NTAPI DxDdAddAttachedSurface(DWORD x1, DWORD x2, DWORD x3);
+NTSTATUS NTAPI DxDdAlphaBlt(DWORD x1, DWORD x2, DWORD x3);
+NTSTATUS NTAPI DxDdAttachSurface(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdBeginMoCompFrame(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdBlt(DWORD x1, DWORD x2, DWORD x3);
+NTSTATUS NTAPI DxDdCanCreateSurface(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdCanCreateD3DBuffer(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdColorControl(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdCreateDirectDrawObject(DWORD x1);
+NTSTATUS NTAPI DxDdCreateSurface(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5, DWORD
x6, DWORD x7, DWORD x8);
+NTSTATUS NTAPI DxDdCreateMoComp(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdCreateSurfaceObject(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5,
DWORD x6);
+NTSTATUS NTAPI DxDdDeleteDirectDrawObject(DWORD x1);
+NTSTATUS NTAPI DxDdDeleteSurfaceObject(DWORD x1);
+NTSTATUS NTAPI DxDdDestroyMoComp(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdDestroySurface(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdDestroyD3DBuffer(DWORD x1);
+NTSTATUS NTAPI DxDdEndMoCompFrame(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdFlip(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5);
+NTSTATUS NTAPI DxDdFlipToGDISurface(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdGetAvailDriverMemory(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdGetBltStatus(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdGetDC(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdGetDriverInfo(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdGetDxHandle(DWORD x1, DWORD x2, DWORD x3);
+NTSTATUS NTAPI DxDdGetFlipStatus(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdGetInternalMoCompInfo(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdGetMoCompBuffInfo(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdGetMoCompGuids(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdGetMoCompFormats(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdGetScanLine(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdLock(DWORD x1, DWORD x2, DWORD x3);
+NTSTATUS NTAPI DxDdLockD3D(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdQueryDirectDrawObject(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD
x5, DWORD x6, DWORD x7, DWORD x8, DWORD x9 , DWORD x10 , DWORD x11);
+NTSTATUS NTAPI DxDdQueryMoCompStatus(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdReenableDirectDrawObject(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdReleaseDC(DWORD x1);
+NTSTATUS NTAPI DxDdRenderMoComp(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdResetVisrgn(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdSetColorKey(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdSetExclusiveMode(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdSetGammaRamp(DWORD x1, DWORD x2, DWORD x3);
+NTSTATUS NTAPI DxDdCreateSurfaceEx(DWORD x1, DWORD x2, DWORD x3);
+NTSTATUS NTAPI DxDdSetOverlayPosition(DWORD x1, DWORD x2, DWORD x3);
+NTSTATUS NTAPI DxDdUnattachSurface(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdUnlock(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdUpdateOverlay(DWORD x1, DWORD x2, DWORD x3);
+NTSTATUS NTAPI DxDdWaitForVerticalBlank(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDvpCanCreateVideoPort(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDvpColorControl(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDvpCreateVideoPort(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDvpDestroyVideoPort(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDvpFlipVideoPort(DWORD x1, DWORD x2, DWORD x3, DWORD x4);
+NTSTATUS NTAPI DxDvpGetVideoPortBandwidth(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDvpGetVideoPortField(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDvpGetVideoPortFlipStatus(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDvpGetVideoPortInputFormats(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDvpGetVideoPortLine(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDvpGetVideoPortOutputFormats(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDvpGetVideoPortConnectInfo(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDvpGetVideoSignalStatus(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDvpUpdateVideoPort(DWORD x1, DWORD x2, DWORD x3, DWORD x4);
+NTSTATUS NTAPI DxDvpWaitForVideoPortSync(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDvpAcquireNotification(DWORD x1, DWORD x2, DWORD x3);
+NTSTATUS NTAPI DxDvpReleaseNotification(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdHeapVidMemAllocAligned(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD
x5);
+NTSTATUS NTAPI DxDdHeapVidMemFree(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdDisableDirectDraw(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdSuspendDirectDraw(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdResumeDirectDraw(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdDynamicModeChange(DWORD x1, DWORD x2, DWORD x3);
+NTSTATUS NTAPI DxDdCloseProcess(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdGetDirectDrawBound(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdEnableDirectDrawRedirection(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdAllocPrivateUserMem(DWORD x1, DWORD x2, DWORD x3);
+NTSTATUS NTAPI DxDdFreePrivateUserMem(DWORD x1, DWORD x2);
+NTSTATUS NTAPI DxDdSetAccelLevel(DWORD x1, DWORD x2, DWORD x3);
+NTSTATUS NTAPI DxDdGetSurfaceLock(DWORD x1);
+NTSTATUS NTAPI DxDdEnumLockedSurfaceRect(DWORD x1, DWORD x2, DWORD x3);
+NTSTATUS NTAPI DxDdEnableDirectDraw(PVOID pDev, BOOLEAN Enable);
+
+
/* Internal functions */
BOOL FASTCALL VerifyObjectOwner(PDD_ENTRY pEntry);
BOOL FASTCALL DdHmgCreate(VOID);
Modified: branches/reactx/reactos/drivers/directx/dxg/main.c
URL:
http://svn.reactos.org/svn/reactos/branches/reactx/reactos/drivers/directx/…
==============================================================================
--- branches/reactx/reactos/drivers/directx/dxg/main.c [iso-8859-1] (original)
+++ branches/reactx/reactos/drivers/directx/dxg/main.c [iso-8859-1] Fri Dec 17 12:12:35
2010
@@ -12,7 +12,7 @@
#include <dxg_int.h>
#include "dxg_driver.h"
-#define DXG_DRIVER_VERSION 0x80000
+#define DXG_DRIVER_VERSION 0x80000
LONG gcDummyPageRefCnt = 0;
HSEMAPHORE ghsemDummyPage = NULL;
@@ -22,7 +22,7 @@
PDRVFN gpEngFuncs;
-const ULONG gcDxgFuncs = DXG_INDEX_DxDdIoctl + 1;
+const ULONG gcDxgFuncs = DXG_INDEX_LAST;
@@ -138,3 +138,6 @@
return STATUS_SUCCESS;
}
+
+
+
Modified: branches/reactx/reactos/drivers/directx/dxg/stub.c
URL:
http://svn.reactos.org/svn/reactos/branches/reactx/reactos/drivers/directx/…
==============================================================================
--- branches/reactx/reactos/drivers/directx/dxg/stub.c [iso-8859-1] (original)
+++ branches/reactx/reactos/drivers/directx/dxg/stub.c [iso-8859-1] Fri Dec 17 12:12:35
2010
@@ -10,9 +10,9 @@
#include <dxg_int.h>
-#include "dxg_driver.h"
-
-#define stub DPRINT1("UNIMPLEMENT"); /
+#include <debug.h>
+
+#define stub UNIMPLEMENTED \
return DDERR_UNSUPPORTED;
@@ -81,7 +81,7 @@
NTSTATUS
NTAPI
-DxDdBeginMoCompFrame)(DWORD x1, DWORD x2)
+DxDdBeginMoCompFrame(DWORD x1, DWORD x2)
{
stub;
}
@@ -102,7 +102,7 @@
NTSTATUS
NTAPI
-DxDdCanCreateD3DBuffer)(
+DxDdCanCreateD3DBuffer(DWORD x1, DWORD x2)
{
stub;
}
@@ -138,7 +138,7 @@
NTSTATUS
NTAPI
-DxDdCreateSurfaceObject(DWORD x1, DWORD x2, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
+DxDdCreateSurfaceObject(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5, DWORD x6)
{
stub;
}
@@ -159,7 +159,7 @@
NTSTATUS
NTAPI
-DxDdDestroyMoComp)(DWORD x1, DWORD x2)
+DxDdDestroyMoComp(DWORD x1, DWORD x2)
{
stub;
}