Commit graph

41433 commits

Author SHA1 Message Date
Amine Khaldi cff140ca5c [NTIFS]
- Group related definitions
- Add HalGetDmaAlignmentRequirement, MM_PREFETCH_FLAGS, MM_PREFETCH_FLAGS_MASK, EOF_WAIT_BLOCK and several FSRTL_*, Mm*, Ob*
- Update MmIsRecursiveIoFault, FSRTL_COMMON_FCB_HEADER and FSRTL_ADVANCED_FCB_HEADER

svn path=/branches/header-work/; revision=46131
2010-03-12 13:33:25 +00:00
Amine Khaldi b322069b82 [NTIFS]
- Add several missing Po* definitions

svn path=/branches/header-work/; revision=46130
2010-03-12 11:54:56 +00:00
Amine Khaldi 748cc2a52e [NTIFS]
- Group related definitions
- Add several Io* definitions
- Add IO_PRIORITY_INFO structure

svn path=/branches/header-work/; revision=46129
2010-03-12 11:40:01 +00:00
Amine Khaldi c08fe21411 [NTIFS]
- Group related definitions
- Add several Fs*, Io* and DO_* definitions

svn path=/branches/header-work/; revision=46128
2010-03-12 11:18:35 +00:00
Cameron Gutman bcf41654ca - Fix acpi_bus_receive_event and acpi_bus_generate_event which will be used for button events later
- Uncomment and fix the locking code that protects the event queue and driver list

svn path=/trunk/; revision=46127
2010-03-12 04:42:23 +00:00
Amine Khaldi b0425c73c7 [NTIFS]
- Group related definitions
- Update PsDereferencePrimaryToken and PsDereferenceImpersonationToken
- PsChargePoolQuota, PsReturnPoolQuota and PsChargeProcessPoolQuota : SIZE_T Amount -> ULONG_PTR Amount
- Add several missing IO_* and FS_FILTER_* definitions
- DRIVER_FS_NOTIFICATION : DriverActive -> FsActive

svn path=/branches/header-work/; revision=46126
2010-03-12 00:08:20 +00:00
Timo Kreuzer 8f6f02163e [NTDDK]
- move pHalGetAcpiTable, PCI_ERROR_HANDLER_CALLBACK, pHalSetPciErrorHandlerCallback, pHalIoAssignDriveLetters
- Add HAL_DISPATCH::pHalIoAssignDriveLetters
- add pre vista versions of pKdMapPhysicalMemory64 and pKdUnmapVirtualAddress
- Fix definition of HalDispatchTable

svn path=/branches/header-work/; revision=46125
2010-03-11 23:54:57 +00:00
Amine Khaldi 00c46ec5fd [NTIFS]
- Group related definitions
- SeSetSecurityDescriptorInfo : SecurityDescriptor -> ModificationDescriptor
- SeAuditingFileOrGlobalEvents : SubjectContext -> SubjectSecurityContext
- Add SeAuditHardLinkCreation, SeAuditHardLinkCreationWithTransaction, SeAuditTransactionStateChange, SeAuditingFileEventsWithContext, SeAuditingAnyFileEventsWithContext, SeAuditingHardLinkEvents, SeAuditingHardLinkEventsWithContext, SeExamineGlobalSacl and SeMaximumAuditMaskFromGlobalSacl

svn path=/branches/header-work/; revision=46124
2010-03-11 23:36:06 +00:00
Kamil Hornicek c23fd826c4 [WIN32K]
Prevent a possible memory leak.
Use SURFACE_FreeSurfaceByHandle so we don't hit the "Object must not have a handle!" assert in GDIOBJ_FreeObj.

svn path=/trunk/; revision=46123
2010-03-11 23:11:00 +00:00
Amine Khaldi 6ba208564c [NTIFS]
- Group related definitions
- Add SeOpenObjectAuditAlarmWithTransaction, SeOpenObjectForDeleteAuditAlarmWithTransaction, SeExamineSacl, SeDeleteObjectAuditAlarmWithTransaction, SeTokenIsWriteRestricted, SeFilterToken, SeQueryTokenIntegrity and SeSetSessionIdToken
- SeQueryAuthenticationIdToken : LogonId -> AuthenticationId
- SeCreateClientSecurity : Fix parameters' names
- SeCreateClientSecurityFromSubjectContext : QualityOfService -> ClientSecurityQos

svn path=/branches/header-work/; revision=46122
2010-03-11 23:07:52 +00:00
Cameron Gutman 1f5e020800 - Use the possible resources not the current resources for IRP_MN_QUERY_RESOURCE_REQUIREMENTS
- Initialize MaximumVector for IRQs, MaximumChannel for DMA, and Alignment for Port

svn path=/trunk/; revision=46121
2010-03-11 22:36:22 +00:00
Amine Khaldi 5c43a755d3 [NTIFS]
- Group related definitions
- Add ExInitializePushLock, SeReportSecurityEventWithSubCategory, SeAccessCheckFromState, SeStopImpersonatingClient and TOKEN_* definitions
- Update SE_EXPORTS

svn path=/branches/header-work/; revision=46120
2010-03-11 22:33:08 +00:00
Cameron Gutman 75c500f4b0 - Fix the resource parsing loops to correct a memory corruption issue
- Return the correct failure status if ExAllocatePool fails

svn path=/trunk/; revision=46119
2010-03-11 22:15:21 +00:00
Johannes Anderwald 661dc42775 [KSPROXY]
- Fix trunk

svn path=/trunk/; revision=46118
2010-03-11 21:52:15 +00:00
Sir Richard 6cc3c9cd47 [WIN32K]: Enable the alignment code and reduce the number of hacks, leaving only one for 1bpp top-down output (Freetype?) which doesn't seem to like when the lDelta is aligned to the correct bit-boundary. This should fix the crashes and graphic cltches recently introduced.
svn path=/trunk/; revision=46117
2010-03-11 21:41:19 +00:00
Johannes Anderwald 718fb52625 [KSPROXY]
- Recreate resource file with visual studio
- Fix compilation with msvc
- Copy extra format buffer in IEnumMediaTypes::Next
- Create the pin handle in IPin::ReceiveConnection
- Implement IPin::Disconnect for the input pin
- Enumerate media formats and pass it to constructor of CEnumMediaTypes
- Check if the passed format is null in CInputPin::CheckFormat
- Copy extra format buffer after KSDATAFORMAT in the pin connection request
- Implement KsGetMediaType function
- Implement ISpecifyPropertyPages, IKsPropertySet, IKsControl, IStreamBuilder, IKsPinFactory for the output pin
- Implement IPin::ReceiveConnection, IPin::EnumMediaTypes for output pin
- Stub interfaces for IReferenceClock, IMediaSeeking, IKsTopology, IKsAggregateControl, IKsClockPropertySet, ISpecifyPropertyPages, IPersistStream for proxy filter
- Implement IAMDeviceRemoval, IKsControl, IAMFilterMiscFlags, IKsPropertySet interface for proxy filter

svn path=/trunk/; revision=46116
2010-03-11 21:38:13 +00:00
Johannes Anderwald c506f7fd79 [PSDK]
- Add a few types required for ksproxy

svn path=/trunk/; revision=46115
2010-03-11 21:15:46 +00:00
Dmitry Gorbachev c785457a1b Comment out RegisterServiceProcess' stub.
svn path=/trunk/; revision=46114
2010-03-11 20:59:47 +00:00
Dmitry Gorbachev 05c5b82a0a Output PCH even when full dependencies are enabled.
svn path=/trunk/; revision=46113
2010-03-11 20:59:24 +00:00
Kamil Hornicek 3666415400 [SHELL32]
- according to msdn ppidl should be set to NULL if an error occurs
- fixes shlfolder winetest crash

svn path=/trunk/; revision=46112
2010-03-11 19:42:59 +00:00
Sir Richard a17ba7f9af [WIN32K]: Revert accidental changes to IntCreateBitmap.
svn path=/trunk/; revision=46111
2010-03-11 19:26:00 +00:00
Kamil Hornicek 7d54007084 - missed this one.. fix build?
svn path=/trunk/; revision=46110
2010-03-11 18:48:46 +00:00
Kamil Hornicek c97215f5d4 - fix build
svn path=/trunk/; revision=46109
2010-03-11 18:40:26 +00:00
evb f34091b0e8 - Remove bits saying dithering supported, since code patented and removed (also, ReactOS win32k not support dithering calls!).
svn path=/trunk/; revision=46108
2010-03-11 18:19:58 +00:00
Sir Richard 24d4f279bf [FRAMEBUF]: Use precompiled header.
svn path=/trunk/; revision=46107
2010-03-11 18:19:02 +00:00
evb ceb6085aa0 - Added support IOCTRL_QUERY_PUBLIC_ACCESS_RANGES, IOCTRL_SET_PALETTE_REGISTERS, IOCTRL_QUERY_CURRENT_MODE, used by test Standard VGA-only display driver.
- Code from NT4 DDK Cirrus miniport with some mods by me.


svn path=/trunk/; revision=46106
2010-03-11 17:56:27 +00:00
Amine Khaldi e99a9f8435 [NTIFS]
- Group related definitions
- Add InterlockedPushListSList, ExAdjustLookasideDepth and ExDisableResourceBoost
- Add some asserts

svn path=/branches/header-work/; revision=46105
2010-03-11 17:51:43 +00:00
Sir Richard db54713b73 [WIN32K]: EngCreateBitmap/IntCreateBitmap don't make much sense (code written back in 2004...). RLEs don't have scanlines by definitions, bit depth alignments and sizing is not done, newer display formats (compressed) are not supported correctly, zero-width surfaces fail because the size is ignored during scanline calculation, etc. These bugs caused eVb's test VGA display driver to fail as it needs to create a zero-depth shadow surface, which would end up with pv0Bits == NULL in the current implementation (and crash during ROPs/BitBLTs). Attempted to rewrite as much of it to 1) make Windows drivers work with it 2) continue the current hacks needed for ReactOS drawing. Note that the broken IntCreateBitmap is still used by non EngXXX interfaces to reduce the change of breakage, but keep in mind the function is entirely wrong.
svn path=/trunk/; revision=46104
2010-03-11 17:49:44 +00:00
Sir Richard 4e765c2350 [WIN32K]: Stop memory corruption when InstalledDisplayDrivers has more than one driver in the list. Note that driver loading is inherently broken right now, as the list of drivers is not parsed properly (this breaks eVb's VGA/VBE driver).
svn path=/trunk/; revision=46103
2010-03-11 17:46:15 +00:00
Aleksey Bragin 260b4a396b [COMDLG32]
- Sync to Wine-1.1.40.

svn path=/trunk/; revision=46102
2010-03-11 17:37:30 +00:00
Aleksey Bragin ec3193bd42 [PSDK]
- Add GdiConvertToDevmodeW declaration (needed for comdlg32). Arwinss PSDK changes should really be merged in.

svn path=/trunk/; revision=46101
2010-03-11 17:32:43 +00:00
Amine Khaldi 64b41a347e [NTDDK]
- Continue moving ntddk related definitions from winddk.h, fixing the conflicts caused by r46097
- pKdUnmapVirtualAddress and pKdMapPhysicalMemory64 : Add missing FlushCurrentTLB
- Update HAL_DISPATCH and HalDispatchTable definitions
- DDKAPI -> NTAPI
- IMAGE_INFO : Add missing ExtendedInfoPresent
- Update (X86) KPCR definition

svn path=/branches/header-work/; revision=46100
2010-03-11 17:27:44 +00:00
Sylvain Petreolle f4e17f00cb [WLANSVC]
Correctly start and report status to the service manager.


svn path=/trunk/; revision=46099
2010-03-11 16:36:11 +00:00
Kamil Hornicek 8e7d72058b [SHELL32]
- partial Wine sync, fixes crashing shlfileop winetest:
Use the current directory when copying to an empty destination. 
Fix a memory leak in SHFileOperationW.
Vincent Povirk <vincent at codeweavers dot com>

svn path=/trunk/; revision=46098
2010-03-11 14:57:05 +00:00
Timo Kreuzer 1524d1f1f6 [FREELDR] Include ntddk.h instead of winddk.h
[RAMDISK] Add missing DO_XIP definition (not in WDK/DDK)
[FASTFAT] Remove duplicate VOLUME_IS_DIRTY definition 
[HAL] Add case stubs for missing HAL_QUERY_INFORMATION_CLASS members
[NDK] Fix DbgPrompt prototype
[NTDDK] 
- Move from winddk.h: _KUSER_SHARED_DATA (updated), pHalIoAssignDriveLetters, PHAL_RESET_DISPLAY_PARAMETERS, HAL_DISPATCH, HalDispatchTable, PCREATE_PROCESS_NOTIFY_ROUTINE, PCREATE_THREAD_NOTIFY_ROUTINE, IMAGE_INFO, PLOAD_IMAGE_NOTIFY_ROUTINE, BUS_DATA_TYPE (updated), PROCESSINFOCLASS (updated), THREADINFOCLASS (updated), DISK_SIGNATURE, PTIMER_APC_ROUTINE, Exfi386InterlockedIncrementLong, Exfi386InterlockedDecrementLong, Exfi386InterlockedExchangeUlong
- Add pHalGetAcpiTable, PCI_ERROR_HANDLER_CALLBACK, pHalSetPciErrorHandlerCallback
[WDM] Add _DECL_HAL_KE_IMPORT, Reorder sections (types before functions)

svn path=/branches/header-work/; revision=46097
2010-03-11 14:49:41 +00:00
Kamil Hornicek e277aa50f4 fix build?
svn path=/trunk/; revision=46096
2010-03-11 11:47:13 +00:00
Kamil Hornicek fdf2da655e [KERNEL32] GetConsoleProcessList is implemented, this prevents the console winetest from crashing
svn path=/trunk/; revision=46095
2010-03-11 11:34:29 +00:00
Timo Kreuzer 7494f42e77 [KTMTYPES]
Fix the UOW hack, use special case for C++
Thanks to Dmitry Gorbachev for the solution.

svn path=/branches/header-work/; revision=46094
2010-03-11 11:32:54 +00:00
Aleksey Bragin 3b52f6a934 [OLEAUT32]
- Sync to Wine-1.1.40.

svn path=/trunk/; revision=46093
2010-03-11 10:28:34 +00:00
James Tabor 0b49f57301 - Fix test build!
svn path=/trunk/; revision=46092
2010-03-11 03:29:01 +00:00
James Tabor e04c0cda3e - Fix build!
svn path=/trunk/; revision=46091
2010-03-11 03:28:32 +00:00
James Tabor a6789f1431 - Add new menu structures.
svn path=/trunk/; revision=46090
2010-03-11 02:43:51 +00:00
Timo Kreuzer 1f40221394 [KMTYPES]
Add a compilation hack for gcc

svn path=/branches/header-work/; revision=46089
2010-03-11 00:47:36 +00:00
Amine Khaldi c057c45008 [NTDDK]
- Move several ntddk.h related definition from winddk.h
- Add IRP_MN_FLUSH_AND_PURGE and several DO_* definition
- Update HAL_QUERY_INFORMATION_CLASS and HAL_SET_INFORMATION_CLASS members
- Fix DEBUG_DEVICE_DESCRIPTOR structure definition

svn path=/branches/header-work/; revision=46088
2010-03-11 00:35:13 +00:00
Amine Khaldi adfb80dce0 [NTDDK]
- Move several ntddk.h related definition from winddk.h
- Group related definitions

svn path=/branches/header-work/; revision=46086
2010-03-10 23:49:42 +00:00
Amine Khaldi 6d8d8bb4ab [NTDDK]
- Move several ntddk.h related definition from winddk.h
- Group related definitions
- MmAllocateNonCachedMemory : ULONG NumberOfBytes -> SIZE_T NumberOfBytes
- DbgPrompt : Add NTSYSAPI and MaximumResponseLength -> Length
- RtlLargeIntegerDivide : static __inline -> __inline

svn path=/branches/header-work/; revision=46085
2010-03-10 23:45:06 +00:00
Amine Khaldi 4da3dca56f [NTDDK]
- Move several ntddk.h related definition from winddk.h
- Group related definitions
- ZwSetTimer : BOOLEAN WakeTimer -> BOOLEAN ResumeTimer
- IoWritePartitionTableEx : *PartitionBuffer -> *DriveLayout
- HalPutDmaAdapter : AdapterObject -> DmaAdapter
- MmAllocateNonCachedMemory : ULONG NumberOfBytes -> SIZE_T NumberOfBytes

svn path=/branches/header-work/; revision=46083
2010-03-10 23:09:27 +00:00
Cameron Gutman 1733eb0a2f - We forget that AE_BUFFER_OVERFLOW is normal and expected since our buffer length is 0 so don't fail if that status is returned
- For any device that actually had resources we would return STATUS_SUCCESS without building a resource list and if the device didn't have resources we would end up freeing a NULL pointer, storing stack trash in Irp->IoStatus.Information, and then returning STATUS_SUCCESS
 - Fixes reporting device resources (and possibly the VBox additions crash with ACPI enabled)

svn path=/trunk/; revision=46080
2010-03-10 22:25:40 +00:00
Timo Kreuzer 5158e51619 [NTIFS] Add back some members of OBJECT_INFORMATION_CLASS, with a comment that they are missing in WDK
svn path=/branches/header-work/; revision=46079
2010-03-10 22:23:12 +00:00
Timo Kreuzer d76f9f9a36 Add extern "C"
svn path=/branches/header-work/; revision=46078
2010-03-10 22:05:56 +00:00