Commit graph

41274 commits

Author SHA1 Message Date
Timo Kreuzer 89a27c5264 [NTOS]
- KPCR::Tib -> NtTib, KPCR::Self -> SelfPcr
- Rename ExInitializePushLock inline function to _ExInitializePushLock and use a define, as in newer versions of windows the function exists as export and is in the WDK

svn path=/branches/header-work/; revision=46136
2010-03-12 16:28:04 +00:00
Timo Kreuzer 7553ab8b16 {HAL] Add PCI_ADDRESS_MEMORY_SPACE definition. It's not part of DDK/WDK
svn path=/branches/header-work/; revision=46135
2010-03-12 16:25:36 +00:00
Amine Khaldi d663a6400c [NTIFS]
- Group related definitions
- Add FSRTL_AUXILIARY_BUFFER, FSRTL_AUXILIARY_FLAG_DEALLOCATE and several FsRtl*
- Update FILE_LOCK
- Missed FSRTL_COMMON_FCB_HEADER in my previous commit

svn path=/branches/header-work/; revision=46132
2010-03-12 14:39:26 +00:00
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
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
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
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
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
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
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
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
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
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
Timo Kreuzer 25bb3c834b Add kmtypes.h
svn path=/branches/header-work/; revision=46074
2010-03-10 21:44:50 +00:00
Timo Kreuzer 5116769c9b [NTDEF] Add PROCESSOR_NUMBER
[NTDDK] Define only CONTEXT, not PCONTEXT, it is already defined by wdm.h, add missing #endif, move OSVERSIONINFO*, CONFIGURATION_TYPE, CONFIGURATION_INFORMATION,PIO_QUERY_DEVICE_ROUTINE, DRIVER_REINITIALIZE and PHYSICAL_MEMORY_RANGE from winddk, add RTL_SPLAY_LINKS

svn path=/branches/header-work/; revision=46071
2010-03-10 20:41:13 +00:00
Amine Khaldi ba51f319e5 [NTDDK]
- Move several ntddk.h related definition from winddk.h
- Group related definitions
- Add CONTEXT_XSTATE definition
- RtlUpperString and RtlCopyString : constify SourceString
- RtlCompareString and RtlEqualString : constify the first two params
- Update guards around IoAllocateAdapterChannel
- Remove duplicate IoRegisterBootDriverReinitialization

svn path=/branches/header-work/; revision=46064
2010-03-10 17:42:51 +00:00
Amine Khaldi 48343bce8c [NTIFS]
Remove RTL_SPLAY_LINKS definition

svn path=/branches/header-work/; revision=46060
2010-03-10 16:10:32 +00:00
Timo Kreuzer e0c972bf4e [FREELDR] Define _BLDR_ for WDK header compatibility
[HAL] Define _NTHALDLL_ for WDK header compatibility, get rif of DECLSPEC_IMPORT header hack
[NDK/RTL] Fix some Rtl prototypes (PCHAR -> PCCH)
[NDK] Fix ZwOpenEvent prototype
[NTIFS] Fix definition of NTKERNELAPI, move some types, fix PRTL_ALLOCATE_STRING_ROUTINE, PRTL_REALLOCATE_STRING_ROUTINE, PRTL_FREE_STRING_ROUTINE, define CTL_CODE, DEVICE_TYPE_FROM_CTL_CODE, FILE_ANY_ACCESS, FILE_SPECIAL_ACCESS, FILE_READ_ACCESS, FILE_WRITE_ACCESS identical to wdm.h, remove duplicate RtlGenerate8dot3Name, remove ZwOpenEvent
[NTPOAPI] Guard some types with #ifndef _PO_DDK_
[WDM] Create reactos compatible definition of NTKERNELAPI, add KDPC_WATCHDOG_INFORMATION, BATTERY_REPORTING_SCALE, fix ALIGN_UP_POINTER_BY, guard some types with #ifndef _PO_DDK_, update POWER_INFORMATION_LEVEL, make some FILE_DEVICE_ definitions identical to ntifs.h, fix HalAllocateCommonBuffer

svn path=/branches/header-work/; revision=46050
2010-03-10 04:16:52 +00:00
Timo Kreuzer ce0d1d6fe7 [ASM]
Don't check for _MSC_VER to decide if the assembly source is going to be compiled with ML or AS, instead check for _USE_ML
Fixes compiling .S files with AS, when using MSVC

svn path=/branches/header-work/; revision=46045
2010-03-10 00:31:06 +00:00
Amine Khaldi c7dddd299d [NTIFS]
- Group related definitions
- Add missing *_INCREMENT, SYSTEM_PAGE_PRIORITY_BITS, SYSTEM_PAGE_PRIORITY_LEVELS and INVALID_PROCESSOR_INDEX definitions
- KAPC_STATE : ApcListHead[2] -> ApcListHead[MaximumMode]
- KQUEUE : make CurrentCount volatile
- Add several missing Ke* functions declarations

svn path=/branches/header-work/; revision=46039
2010-03-09 18:03:40 +00:00
Amine Khaldi f731de8f45 [NTIFS]
- Group related definitions
- Add REPARSE_*, FILE_PIPE_CLIENT_PROCESS_BUFFER_EX, VIRTUAL_STORAGE_TYPE, STORAGE_QUERY_DEPENDENT_VOLUME_* and PUBLIC_OBJECT_* structures
- Add LINK_TRACKING_INFORMATION_TYPE, LINK_TRACKING_INFORMATION and REMOTE_LINK_TRACKING_INFORMATION enums
- Update OBJECT_INFORMATION_CLASS and FILE_PIPE_CLIENT_PROCESS_BUFFER definitions
- Add REPARSE_GUID_DATA_BUFFER_HEADER_SIZE, IsReparseTag*, FSCTL_LMR_* and FSCTL_PIPE_* macros
- Add missing MAXIMUM_REPARSE_DATA_BUFFER_SIZE, IO_REPARSE_TAG_*, FILE_PIPE_COMPUTER_NAME_LENGTH and QUERY_DEPENDENT_VOLUME_REQUEST_FLAG_* definitions

svn path=/branches/header-work/; revision=46037
2010-03-09 17:12:58 +00:00
Amine Khaldi bbd3c8b4e0 [NTIFS]
- More work on FS related structures and definitions

svn path=/branches/header-work/; revision=46036
2010-03-09 16:31:24 +00:00
Amine Khaldi 11dd9b69ab [NTIFS]
- Add several missing FS related enums, structures and definitions

svn path=/branches/header-work/; revision=46035
2010-03-09 16:02:52 +00:00
Amine Khaldi 62a30e7a24 [NTIFS]
- Group related definitions
- Add CSV_NAMESPACE_INFO, FSCTL_QUERY_FAT_BPB_BUFFER and several missing FS related structures and definitions
- Add a bunch of FSCTL_* macros

svn path=/branches/header-work/; revision=46034
2010-03-09 15:06:29 +00:00
Amine Khaldi eef0d5c8c9 [NTIFS]
- Group related definitions
- Add several missing Nt* function declarations
- Add REMOTE_PROTOCOL_FLAG_LOOPBACK, REMOTE_PROTOCOL_FLAG_OFFLINEseveral and several FILE_* definitions
- Add missing FILE_* structures

svn path=/branches/header-work/; revision=46033
2010-03-09 13:53:15 +00:00
Amine Khaldi 626fe6be42 - Add a couple of Lsa* function declarations
- Add missing MSV1_0* related definitions, enums, structs and macros

svn path=/branches/header-work/; revision=46030
2010-03-09 13:11:21 +00:00
Timo Kreuzer 5277616bbf merge r46023
svn path=/branches/header-work/; revision=46024
2010-03-09 03:00:48 +00:00
Timo Kreuzer a93c72eafc revert part of 46020, adding back po types
svn path=/branches/header-work/; revision=46022
2010-03-09 00:45:15 +00:00
Amine Khaldi a00acb2a1b Sync with trunk head
svn path=/branches/header-work/; revision=46021
2010-03-09 00:19:55 +00:00
Timo Kreuzer 68ea0b876e - Move some definitions from wdm.h to ntpoapi.h
- Add ALIGN_DOWN_BY, ALIGN_UP_BY, ALIGN_DOWN_POINTER_BY, ALIGN_UP_POINTER_BY
- fix pshpack1.h inclusion
- PCHAR -> PSTR in RtlAssert

svn path=/branches/header-work/; revision=46020
2010-03-09 00:17:56 +00:00
Amine Khaldi eb68457183 [NTIFS]
- Group related definitions
- Add NtSetInformationThread function declaration
- Add SE_ADT_PARAMETER_TYPE enum
- Add SE_ADT_OBJECT_TYPE, SE_ADT_PARAMETER_ARRAY_ENTRY, SE_ADT_ACCESS_REASON and SE_ADT_PARAMETER_ARRAY structures
- Add SE_MAX_AUDIT_PARAMETERS, SE_MAX_GENERIC_AUDIT_PARAMETERS, SE_ADT_PARAMETERS_* and SE_ADT_PARAMETER_* definitions
- Add LSAP_SE_ADT_PARAMETER_ARRAY_TRUE_SIZE macro

svn path=/branches/header-work/; revision=46019
2010-03-08 23:02:39 +00:00
Amine Khaldi 79a0a4193d [NTIFS]
- Group related definitions
- Add several Rtl* function declarations
- Add RTL_SYSTEM_VOLUME_INFORMATION_FOLDER, DEVICE_TYPE, FILE_DEVICE_*, METHOD_* and FILE_*_ACCESS definitions
- Add CTL_CODE, DEVICE_TYPE_FROM_CTL_CODE and METHOD_FROM_CTL_CODE macros

svn path=/branches/header-work/; revision=46018
2010-03-08 22:30:14 +00:00
Hervé Poussineau 61fef12a72 [freeldr] Load an additional SCSI driver if present (NTBOOTSYS.SYS on boot partition), to increase number of known storage devices.
Works only with very simple miniport drivers.

svn path=/trunk/; revision=46017
2010-03-08 22:04:38 +00:00
Hervé Poussineau e10fbe352c [headers] Fix type of PRTL_HEAP_PARAMETERS in ifssupp.h. Will be required soon
svn path=/trunk/; revision=46016
2010-03-08 21:42:18 +00:00
Hervé Poussineau 37d9cf31a4 Fix include directories
svn path=/trunk/; revision=46015
2010-03-08 21:40:29 +00:00
Amine Khaldi 302f7374fa [NTIFS]
- Group related definitions
- Add several Rtl* function declarations (See diff for details)
- Add MAX_UNICODE_STACK_BUFFER_LENGTH definition
- RtlConvertSidToUnicodeString : DestinationString -> UnicodeString

svn path=/branches/header-work/; revision=46014
2010-03-08 21:38:43 +00:00
James Tabor d89923519b [User32]
- David Hedberg Fix return value for EDIT_EM_Scroll and case where EM_SCROLL with page down results in trying to scroll up past the beginning. Sync to wine 1.1.40.

svn path=/trunk/; revision=46013
2010-03-08 21:24:47 +00:00
James Tabor 8b48dd5b7c - [User32_winetest]
- Msg : Remove more tests from service. test_timers crashed on a callback which passed months ago. The rest are related to TrackMouseEvent and capture.

svn path=/trunk/; revision=46012
2010-03-08 21:20:18 +00:00
Cameron Gutman be17352b40 [CMBATT]
- Add initial cmbatt driver which mostly stubs
 - All it does right now is register a battery device with the battc driver
[BATTC]
 - Add a nearly complete battc driver (the only stuff missing is WMI)
 - Tested with our stubbed cmbatt driver but testing on Windows would be nice too
[BATTERY.INF]
 - Added battery.inf to install battery devices
[MISC]
 - Add cmbatt.sys, battc.sys, and battery.inf to bootcd
 - We still need to implement compbatt.sys
 - PS: Janderwald, you stole my commit number ;)

svn path=/trunk/; revision=46011
2010-03-08 21:09:25 +00:00
Daniel Reimer f780908ae4 Polish translation update by Maciej Bialas.
svn path=/trunk/; revision=46010
2010-03-08 21:08:20 +00:00