Author: rmessiant
Date: Sun Dec 19 22:53:29 2010
New Revision: 50064
URL: http://svn.reactos.org/svn/reactos?rev=50064&view=rev
Log:
[OLEACC]
- Use an actual entrypoint. Needed to record the instance handle, used by various function that access resources of the module. Should fix oleacc:main winetest.
Modified:
trunk/reactos/dll/win32/oleacc/oleacc.rbuild
Modified: trunk/reactos/dll/win32/oleacc/oleacc.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleacc/oleacc.rb…
==============================================================================
--- trunk/reactos/dll/win32/oleacc/oleacc.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleacc/oleacc.rbuild [iso-8859-1] Sun Dec 19 22:53:29 2010
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<group>
-<module name="oleacc" type="win32dll" baseaddress="${BASEADDRESS_OLEACC}" installbase="system32" installname="oleacc.dll" allowwarnings="true" entrypoint="0">
+<module name="oleacc" type="win32dll" baseaddress="${BASEADDRESS_OLEACC}" installbase="system32" installname="oleacc.dll" allowwarnings="true">
<autoregister infsection="OleControlDlls" type="DllRegisterServer" />
<importlibrary definition="oleacc.spec" />
<include base="oleacc">.</include>
Author: greatlrd
Date: Sun Dec 19 15:51:35 2010
New Revision: 50061
URL: http://svn.reactos.org/svn/reactos?rev=50061&view=rev
Log:
Fix right postions of ddCalllBack and down in
EDD_DIRECTDRAWGLOBAL
We do not use it in win32k only dxg.sys using it.
but win32k must provide it
Modified:
branches/reactx/reactos/include/reactos/drivers/directx/directxint.h
Modified: branches/reactx/reactos/include/reactos/drivers/directx/directxint.h
URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/include/reactos/…
==============================================================================
--- 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] Sun Dec 19 15:51:35 2010
@@ -141,8 +141,8 @@
/* 0x038 */ DWORD dwNumFourCC; // 0x038 <-- verified to match Windows XP, dwNumFourCC
/* 0x03C */ PDWORD pdwFourCC; // 0x03C <-- verified to match Windows XP, pdwFourCC
/* 0x040 */ DD_HALINFO ddHalInfo; // 0x040 <-- verified to match Windows XP, ddHalInfo
-/* 0x1E0 */ ULONG unk_1e0[46];
-/* 0x298 */ DD_CALLBACKS ddCallbacks; // 0x298 <-- verified to match Windows XP, ddCallbacks
+/* 0x1E0 */ ULONG unk_1e0[47];
+/* 0x29C */ DD_CALLBACKS ddCallbacks; // 0x29C <-- verified to match Windows XP, ddCallbacks
/* 0x2C4 */ DD_SURFACECALLBACKS ddSurfaceCallbacks; // 0x2C4 <-- verified to match Windows XP, ddSurfaceCallbacks
/* 0x304 */ DD_PALETTECALLBACKS ddPaletteCallbacks; // 0x304 <-- verified to match Windows XP, ddPaletteCallbacks
/* 0x314 */ D3DNTHAL_GLOBALDRIVERDATA d3dNtGlobalDriverData; // 0x304 <-- verified to match Windows XP, d3dNtGlobalDriverData
Author: greatlrd
Date: Sun Dec 19 14:54:58 2010
New Revision: 50060
URL: http://svn.reactos.org/svn/reactos?rev=50060&view=rev
Log:
[vbemp.sys]
function VBEStartIo
IOCTL_VIDEO_SHARE_VIDEO_MEMORY
Did send RequestPacket->InputBufferLengt to VBEVideoShareVideoMemmory it cause a crash
it should have been RequestPacket->InputBuffer
thx Timo that notice it
Modified:
branches/reactx/reactos/drivers/video/miniport/vbe/vbemp.c
Modified: branches/reactx/reactos/drivers/video/miniport/vbe/vbemp.c
URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/drivers/video/mi…
==============================================================================
--- branches/reactx/reactos/drivers/video/miniport/vbe/vbemp.c [iso-8859-1] (original)
+++ branches/reactx/reactos/drivers/video/miniport/vbe/vbemp.c [iso-8859-1] Sun Dec 19 14:54:58 2010
@@ -534,7 +534,7 @@
}
Result = VBEVideoShareVideoMemmory(
(PVBE_DEVICE_EXTENSION)HwDeviceExtension,
- (PVIDEO_SHARE_MEMORY)RequestPacket->InputBufferLength,
+ (PVIDEO_SHARE_MEMORY)RequestPacket->InputBuffer,
(PVIDEO_SHARE_MEMORY_INFORMATION)RequestPacket->OutputBuffer,
RequestPacket->StatusBlock);
break;
Author: greatlrd
Date: Sat Dec 18 20:26:59 2010
New Revision: 50059
URL: http://svn.reactos.org/svn/reactos?rev=50059&view=rev
Log:
fix a bug in EDD_DIRECTDRAW_GLOBAL
forget add one member
Modified:
branches/reactx/reactos/include/reactos/drivers/directx/directxint.h
Modified: branches/reactx/reactos/include/reactos/drivers/directx/directxint.h
URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/include/reactos/…
==============================================================================
--- 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 18 20:26:59 2010
@@ -135,7 +135,7 @@
in second, if this value are set to 0 it disable directdraw acclatrions.
it is normal set to 7 (7 sec in windwos xp/2003)
*/
-
+/* 0x02C */ ULONG unk_02C;
/* 0x030 */ DWORD dwNumHeaps; // 0x030 <-- verified to match Windows XP, dwNumHeaps
/* 0x034 */ VIDEOMEMORY *pvmList; // 0x034 <-- verified to match Windows XP, pvmList
/* 0x038 */ DWORD dwNumFourCC; // 0x038 <-- verified to match Windows XP, dwNumFourCC
Author: greatlrd
Date: Sat Dec 18 18:52:56 2010
New Revision: 50058
URL: http://svn.reactos.org/svn/reactos?rev=50058&view=rev
Log:
[win32k]
function DxEngGetHdevData
pdev->hSpooler is a pointer to PDEVICE_OBJECT but in books it marks as handle.
hSpooler is where u loading in printer drv or second time same graphic drv.
ReactOS does not support printer or loading second time same graphic drv
so we point it to PDev->pGraphicsDevice->DeviceObject
Modified:
branches/reactx/reactos/subsystems/win32/win32k/ntddraw/dxeng.c
Modified: branches/reactx/reactos/subsystems/win32/win32k/ntddraw/dxeng.c
URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/subsystems/win32…
==============================================================================
--- branches/reactx/reactos/subsystems/win32/win32k/ntddraw/dxeng.c [iso-8859-1] (original)
+++ branches/reactx/reactos/subsystems/win32/win32k/ntddraw/dxeng.c [iso-8859-1] Sat Dec 18 18:52:56 2010
@@ -291,7 +291,14 @@
break;
case DxEGShDevData_hSpooler:
DPRINT1("requested DXEGSHDEVDATA DxEGShDevData_hSpooler\n");
- retVal = 0;//(DWORD_PTR) PDev->hSpooler; // If the device is a spooler driver.
+ /* NOTE : the hSpooler handler is a PDEVICE_OBJECT and it contain
+ second loaded drv, in ms win32k it load in same drv twice
+ or the printer drv here. so we hack it for now
+ to Dev->pGraphicsDevice->DeviceObject
+ */
+ // retVal = (DWORD_PTR) PDev->hSpooler; // If the device is a spooler driver.
+ retVal = (DWORD_PTR) PDev->pGraphicsDevice->DeviceObject; // Hack until printer drv stack have been written
+
break;
case DxEGShDevData_DitherFmt:
DPRINT1("requested DXEGSHDEVDATA DxEGShDevData_DitherFmt\n");