Commit graph

17638 commits

Author SHA1 Message Date
Hervé Poussineau 839760d8b4 Implement IRP_MJ_PNP / IRP_MN_QUERY_INTERFACE for GUID_BUS_INTERFACE_STANDARD
svn path=/trunk/; revision=18893
2005-10-30 19:37:11 +00:00
Magnus Olsen 5f33f3f7cd Correct One struct
svn path=/trunk/; revision=18892
2005-10-30 19:36:29 +00:00
Gregor Anich fae0adf2df Silence warning for non-win32 compilations.
svn path=/trunk/; revision=18891
2005-10-30 18:43:16 +00:00
Brandon Turner 15fb98b4ad Handle possible error from FindFirstFile. Thanks to Thomas for finding the problem.
svn path=/trunk/; revision=18890
2005-10-30 18:01:50 +00:00
Brandon Turner 7aebf134dc Add a new function to return a path with correct casing. Remove the get[short/long]pathname hack that was there before to do it.
svn path=/trunk/; revision=18889
2005-10-30 17:50:03 +00:00
Thomas Bluemel 23d5494796 fixed difference in signedness warnings
svn path=/trunk/; revision=18888
2005-10-30 17:30:53 +00:00
Magnus Olsen 816321f878 Fix broke SVN after me, thx to it I found wrong ref was release in different place fixed
svn path=/trunk/; revision=18887
2005-10-30 16:14:42 +00:00
Magnus Olsen f872c290a7 adding more stuff for create surface right
svn path=/trunk/; revision=18886
2005-10-30 15:45:40 +00:00
Maarten Bosma 41477c4529 Fix compile
svn path=/trunk/; revision=18885
2005-10-30 15:39:00 +00:00
Maarten Bosma c515c8db37 Implement IDirectDrawSurface::Blt for HAL
svn path=/trunk/; revision=18884
2005-10-30 15:34:03 +00:00
Thomas Bluemel c1245552ab fix some flags calculations and access rights in CreateNamedPipe and CreatePipe
svn path=/trunk/; revision=18883
2005-10-30 14:51:12 +00:00
Hartmut Birr c6d9a617be Fixed the check for the MEM_TOP_DOWN flag in MmMapViewOfSection.
svn path=/trunk/; revision=18882
2005-10-30 13:55:28 +00:00
Hartmut Birr 34e6e97b69 Map the NLS tables after creating the PEB.
The top-down mapping of the NLS tables may occupied the region for the PEB.

svn path=/trunk/; revision=18881
2005-10-30 13:54:02 +00:00
Eric Kohl 9be78e0815 - Implement GetServiceDisplayNameW (untested).
- SCM must store a services display name.
- Some SCM-Calls must fail while the SCM is shutting down.

svn path=/trunk/; revision=18880
2005-10-30 13:13:53 +00:00
Magnus Olsen b6bfd30b73 lay some gorun for blt but not implement
svn path=/trunk/; revision=18879
2005-10-30 12:53:32 +00:00
Magnus Olsen fadf041561 Bind the Hal and Hel right in main call only to hal if the api are implement in the drv if not choice hel.
svn path=/trunk/; revision=18878
2005-10-30 10:58:53 +00:00
Thomas Bluemel 5dcda5f7c1 fixed uninitialized variable warning
svn path=/trunk/; revision=18877
2005-10-30 10:49:55 +00:00
Magnus Olsen ef1dfc9985 Rename files so it be more easy to wrok with them in VS
svn path=/trunk/; revision=18876
2005-10-30 10:43:03 +00:00
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