Commit graph

17870 commits

Author SHA1 Message Date
Magnus Olsen
657225474f Forgot cleanup the code. in Main_setDisplayMode.
svn path=/trunk/; revision=18875
2005-10-30 09:49:29 +00:00
Magnus Olsen
29de9009cd Move hel SetDisplayMode to hel and write a stub for hal SetDisplayMode.
Hel SetDisplayMode is already implmenet by DrFred

svn path=/trunk/; revision=18874
2005-10-30 09:45:10 +00:00
Magnus Olsen
97e6b6a100 implment Hal FlipToGDISurface
svn path=/trunk/; revision=18873
2005-10-30 09:21:03 +00:00
Maarten Bosma
c709116fa0 Check if CanCreateSurface is implemented by the driver before calling it.
svn path=/trunk/; revision=18872
2005-10-30 08:46:46 +00:00
Magnus Olsen
0a695e7538 implement Hal GetScanLine
svn path=/trunk/; revision=18871
2005-10-30 08:41:19 +00:00
Magnus Olsen
8b676541fe Fix one crach in createsurface for DrFred
svn path=/trunk/; revision=18870
2005-10-30 08:10:43 +00:00
Maarten Bosma
ddb12e0a7e Forgot to remove that test line
svn path=/trunk/; revision=18869
2005-10-30 07:47:15 +00:00
Magnus Olsen
8e68e084ee implement Hal WaitForVerticalBlank
svn path=/trunk/; revision=18868
2005-10-30 07:41:33 +00:00
Brandon Turner
e00d30c16e add gettype.exe to the bootcd
svn path=/trunk/; revision=18867
2005-10-30 06:02:18 +00:00
Brandon Turner
342376e313 add gettype.exe clone. It works in windows and partially in ROS. I will look into the reason it doesn't more tomorrow.
svn path=/trunk/; revision=18866
2005-10-30 06:01:29 +00:00
Brandon Turner
200139b04d add definitions for VER_SUITE_SINGLEUSERTS and VER_SUITE_EMBEDDEDNT
svn path=/trunk/; revision=18865
2005-10-30 05:56:45 +00:00
Magnus Olsen
fd2311a670 Implement Hal GetAvailableVidMem and is it working in windows
svn path=/trunk/; revision=18864
2005-10-30 01:06:56 +00:00
Thomas Bluemel
c55ab58a88 protect access to buffers in NtOpenProcess
svn path=/trunk/; revision=18863
2005-10-29 23:40:05 +00:00
Magnus Olsen
e01e983072 Cover the most hal startup process it now time start implement hal in ddraw.dll
But we still does not doing the whole startup process right. 

svn path=/trunk/; revision=18862
2005-10-29 23:28:12 +00:00
Thomas Bluemel
cdea367eef release the keep-alive reference of the process object
svn path=/trunk/; revision=18861
2005-10-29 22:58:14 +00:00
Thomas Bluemel
e601c831b9 - don't dereference the section object in MmCreateProcessAddressSpace
- properly handle object references in PspCreateProcess

svn path=/trunk/; revision=18860
2005-10-29 22:15:10 +00:00
Thomas Bluemel
0d70a37f3b - protect access to buffers in NtCreateThread and NtOpenThread
- fix incorrect usage of PSEH in NtCreateThread

svn path=/trunk/; revision=18859
2005-10-29 21:33:57 +00:00
Magnus Olsen
f3922196a5 Setup the hal startup process some bit. We still does not insate hal right yet.
svn path=/trunk/; revision=18858
2005-10-29 21:20:50 +00:00
Maarten Bosma
8548c576bd Improve macro for stubs inside of ddraw. Thx to w3seek.
svn path=/trunk/; revision=18857
2005-10-29 21:07:04 +00:00
Magnus Olsen
9215cc3827 sorry forget This->DirectDrawGlobal
svn path=/trunk/; revision=18856
2005-10-29 20:08:49 +00:00
Magnus Olsen
8ad9c2cb4c Do not trust msdn what it say about dwContext in any struct "MSDN : it is not in use for windows nt", "My note: it is in use for all os, and it always point to DDRAWI_DIRECTDRAW_GBL.hDD and we doing that. now the callbacks works in startup process.
svn path=/trunk/; revision=18855
2005-10-29 20:06:23 +00:00
Magnus Olsen
d4b6cf2ab1 Setup the hal inisate bit more. and commect the code. We still does not insate hal right yet.
svn path=/trunk/; revision=18854
2005-10-29 18:57:45 +00:00
Thomas Bluemel
006d0bc6d7 - probe and capture parameters in NtCreateKey
- added ProbeForWriteUnicodeString and ProbeForReadUnicodeString macros

svn path=/trunk/; revision=18853
2005-10-29 16:00:00 +00:00
Thomas Bluemel
bffa3474f4 implemented the 32 bit version of GetSystemWow64DirectoryA/W (just set the last error code to ERROR_CALL_NOT_IMPLEMENTED)
svn path=/trunk/; revision=18852
2005-10-29 15:05:37 +00:00
Thomas Bluemel
e63b48188e - deleting a registry value requires the KEY_SET_VALUE right
- capture the value name

svn path=/trunk/; revision=18851
2005-10-29 14:51:18 +00:00
Hartmut Birr
f4d5030a94 Merged MmReleaseMemoryArea into MmReleaseMmInfo.
We can only release the address space look if we are calling MmUnmapViewOfSection.

svn path=/trunk/; revision=18850
2005-10-29 14:12:20 +00:00
Hartmut Birr
5e158693d9 - Lock always the address space if we changing the virtual mapping.
This is necessary because we can create or remove a page table.
- If we unmap a section, we have to wait for all pending pageops 
  for the section within the current process. We do this by waiting 
  for all pageops for the section.

svn path=/trunk/; revision=18849
2005-10-29 14:10:35 +00:00
Hartmut Birr
470db6b8eb Lock always the address space if we changing the virtual mapping.
This is necessary because we can create or remove a page table.

svn path=/trunk/; revision=18848
2005-10-29 14:09:00 +00:00
Nathan Woods
d74ef35a60 Calc: Fixed Enter key
svn path=/trunk/; revision=18847
2005-10-29 13:43:09 +00:00
Magnus Olsen
8afabfad9e Fixed some hal insate problem
but it still is not right

svn path=/trunk/; revision=18846
2005-10-29 12:36:04 +00:00
Thomas Bluemel
77f8aeb66b #include "w32k.h" -> #include <w32k.h>
svn path=/trunk/; revision=18845
2005-10-29 11:28:37 +00:00
Maarten Bosma
6612001198 Stub IDirectDrawKernel and IDirectDrawSurfaceKernel. This where the last two; now we got Stub for every COM-Interface in ddraw.dll.
svn path=/trunk/; revision=18844
2005-10-29 11:05:23 +00:00
Maarten Bosma
d33a9b8143 Define the GUIDs and other stuff.
svn path=/trunk/; revision=18843
2005-10-29 10:55:45 +00:00
Maarten Bosma
ce2340a078 Create Stubs for IDirectDrawVideoPortNotify and fix return values of IUnknown Stubs.
svn path=/trunk/; revision=18842
2005-10-29 10:37:26 +00:00
Maarten Bosma
53eca0bb47 Define COM-Interfaces for IDirectDrawKernel and SurfaceKernel and add a little typedef.
svn path=/trunk/; revision=18841
2005-10-29 10:33:12 +00:00
Thomas Bluemel
6ea94e6059 implemented SetupDiCreateDevRegKeyA
svn path=/trunk/; revision=18840
2005-10-29 09:59:30 +00:00
Thomas Bluemel
86bb1f6892 implemented SetupDiGetSelectedDriverA
svn path=/trunk/; revision=18839
2005-10-29 09:52:43 +00:00
Hervé Poussineau
c3bd1b9130 Fix infinite loop (spotted by mifritscher)
svn path=/trunk/; revision=18838
2005-10-29 09:49:19 +00:00
Magnus Olsen
689236b337 Taskmgr greenish font remake by irc:dnordenberg (Swedish translator) approved by irc:mf (UI coordinator)
svn path=/trunk/; revision=18837
2005-10-28 19:17:37 +00:00
Gé van Geldorp
fc5c3ee4b0 First send WM_ACTIVATE, then WM_SETFOCUS
svn path=/trunk/; revision=18836
2005-10-28 18:49:27 +00:00
Gé van Geldorp
6d06d18b14 Properly return window state
svn path=/trunk/; revision=18835
2005-10-28 18:48:23 +00:00
Thomas Bluemel
98191672ef don't pass NULL as the last two parameters to ReadFile. This fixes a crash while installing OOo 2.0. Patch also submitted to winehq.
svn path=/trunk/; revision=18834
2005-10-28 15:33:05 +00:00
Thomas Bluemel
b1f73ba822 fix returning the new token handle in DuplicateTokenEx
svn path=/trunk/; revision=18833
2005-10-28 14:31:38 +00:00
Thomas Bluemel
6ee31ba0a4 forward EncodePointer and DecodePointer to ntdll
svn path=/trunk/; revision=18831
2005-10-28 13:37:55 +00:00
Maarten Bosma
2a59f839ef Add Stubs for DirectDrawVideoPort and DDVideoPortContainer.
svn path=/trunk/; revision=18830
2005-10-28 12:12:33 +00:00
Maarten Bosma
4b06d87aad Implement some DirectDraw related COM-Interfaces.
svn path=/trunk/; revision=18829
2005-10-28 12:09:22 +00:00
Maarten Bosma
013ca43155 Dick Buitelaar: Fix DevCpp Backend (Bug 802)
svn path=/trunk/; revision=18828
2005-10-28 10:22:24 +00:00
Thomas Bluemel
c89514fbae fixed uninitialized variable warning
svn path=/trunk/; revision=18827
2005-10-28 09:49:45 +00:00
Hervé Poussineau
2c54e857c6 STDCALL -> NTAPI
Update headers to minimize differences between GCC and MSVC
Move the #include <debug.h> to each file to be able to use precompiled headers
Remove $Id tags

svn path=/trunk/; revision=18826
2005-10-28 07:49:16 +00:00
Art Yerkes
e78968e133 Added build xml.
svn path=/trunk/; revision=18825
2005-10-28 07:04:05 +00:00