Author: greatlrd Date: Sat Dec 11 12:22:30 2010 New Revision: 50007
URL: http://svn.reactos.org/svn/reactos?rev=50007&view=rev Log: update some dx driver header some info are not inuse yet
Modified: branches/reactx/reactos/include/reactos/drivers/directx/directxint.h branches/reactx/reactos/include/reactos/drivers/directx/dxeng.h
Modified: branches/reactx/reactos/include/reactos/drivers/directx/directxint.h URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/include/reactos/d... ============================================================================== --- branches/reactx/reactos/include/reactos/drivers/directx/directxint.h [iso-8859-1] (original) +++ branches/reactx/reactos/include/reactos/drivers/directx/directxint.h [iso-8859-1] Sat Dec 11 12:22:30 2010 @@ -108,7 +108,7 @@
typedef struct _EDD_DIRECTDRAW_GLOBAL { -/* 0x000 */ PVOID dhpdev; // 0x000 <-- verified to match Windows XP, dhpdev, the drv hPDev --> +/* 0x000 */ PVOID dhpdev; // 0x000 PDev->dhpdev <-- verified to match Windows XP, dhpdev, the drv hPDev --> /* 0x004 */ DWORD dwReserved1; /* 0x008 */ DWORD dwReserved2; /* 0x00C */ ULONG unk_000c[3]; @@ -127,8 +127,9 @@
/* 0x024 */ ULONG unk_024;
-/* 0x028 */ LARGE_INTEGER llAssertModeTimeout; /* 0x028 <-- verified to match Windows XP, llAssertModeTimeout, it - using regkey +/* 0x028 */ LPVOID llAssertModeTimeout; /* 0x028 <-- verified to match Windows XP, llAssertModeTimeout, + it it is a function u can call on. + it using regkey HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\DCI Specifies how long a DirectDraw application can keep a graphics-device frame-buffer locked in second, if this value are set to 0 it disable directdraw acclatrions. @@ -163,7 +164,7 @@ /* 0x5B8 */ PKEVENT pAssertModeEvent; /* 0x5Bc */ EDD_SURFACE *peSurfaceCurrent; /* 0x5C0 */ EDD_SURFACE *peSurfacePrimary; -/* 0x5C4 */ BOOL bSuspended; // 0x5C4 <-- verified to match Windows XP, tells dxg to use driver's own api or return error code instead +/* 0x5C4 */ BOOL bSuspended; // 0x5C4 <-- verified to match Windows XP, tells dxg to use driver's own api or return error code instead /* 0x5C8 */ ULONG unk_5c8[12]; /* 0x5F8 */ RECTL rcbounds; /* 0x608 */ ULONG unk_608;
Modified: branches/reactx/reactos/include/reactos/drivers/directx/dxeng.h URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/include/reactos/d... ============================================================================== --- branches/reactx/reactos/include/reactos/drivers/directx/dxeng.h [iso-8859-1] (original) +++ branches/reactx/reactos/include/reactos/drivers/directx/dxeng.h [iso-8859-1] Sat Dec 11 12:22:30 2010 @@ -77,6 +77,7 @@ PDC NTAPI DxEngLockDC(HDC hDC); BOOLEAN NTAPI DxEngUnlockDC(PDC pDC); DWORD_PTR NTAPI DxEngGetHdevData(HDEV, DXEGSHDEVDATA); + BOOLEAN NTAPI DxEngSetHdevData(HDEV, DXEGSHDEVDATA, DWORD_PTR); BOOLEAN NTAPI DxEngLockHdev(HDEV hdev); BOOLEAN NTAPI DxEngUnlockHdev(HDEV hdev); @@ -120,4 +121,16 @@ DWORD NTAPI DxEngGetRedirectionBitmap(DWORD x1); DWORD NTAPI DxEngLoadImage(DWORD x1,DWORD x2);
+/***********************************************************************************/ +/* Driver Functions Protypes */ +/***********************************************************************************/ +typedef BOOLEAN (NTAPI *PGD_DXENGNUISTERMSRV)(); +typedef PDC (NTAPI *PGD_DXENGLOCKDC)(HDC hDC); +typedef BOOLEAN (NTAPI *PGD_DXENGUNLOCKDC)(PDC pDC); +typedef DWORD_PTR (NTAPI *PGD_DXENGGETHDEVDATA)(HDEV, DXEGSHDEVDATA);
+ +/***********************************************************************************/ +/* DxEGShDevData_dd_flags value */ +/***********************************************************************************/ +#define DDFLAG_DIRECTX_3D_ON 0x04