reactos.git
14 years ago[NTOS] Fix WmiTraceMessageVa export, the first parameter (TRACEHANDLE) is 64 bits...
Timo Kreuzer [Fri, 12 Mar 2010 17:17:27 +0000 (17:17 +0000)]
[NTOS] Fix WmiTraceMessageVa export, the first parameter (TRACEHANDLE) is 64 bits wide.

svn path=/branches/header-work/; revision=46141

14 years agoAdd a missing NTAPI
Timo Kreuzer [Fri, 12 Mar 2010 17:01:13 +0000 (17:01 +0000)]
Add a missing NTAPI

svn path=/branches/header-work/; revision=46140

14 years ago[NTIFS]
Amine Khaldi [Fri, 12 Mar 2010 16:55:09 +0000 (16:55 +0000)]
[NTIFS]
- Remove redundant IoSizeOfIrp, PoSetDeviceBusy and PPOWER_SETTING_CALLBACK definitions (They exist in wdm.h)

svn path=/branches/header-work/; revision=46139

14 years ago[WDM]
Amine Khaldi [Fri, 12 Mar 2010 16:43:17 +0000 (16:43 +0000)]
[WDM]
- Remove NTKERNELAPI from IoSetStartIoAttributes
[NTIFS]
- Group some related definitions

svn path=/branches/header-work/; revision=46138

14 years ago[PSDK]
Timo Kreuzer [Fri, 12 Mar 2010 16:37:33 +0000 (16:37 +0000)]
[PSDK]
- Add dpfilter.h
- batclass.h: Fix BatteryClassSystemControl
- ntdef.h: add ARGUMENT_PRESENT and PEXCEPTION_ROUTINE
[NDK]
- Add some ob functions
[DDK]
- add wmlib.h
- remove winddk.h
[WDM]
- include dpfilter.h
- Add ASSERT_GATE, ASSERT_TIMER, ASSERT_MUTANT, ASSERT_SEMAPHORE, ASSERT_EVENT, TIMER_TABLE_SIZE, TIMER_TABLE_SHIFT, ADDRESS_AND_SIZE_TO_SPAN_PAGES, PoRequestShutdownEvent
- Group architecture specific definitions (currently only x86)
- uncomment some _DECL_HAL_KE_IMPORT

svn path=/branches/header-work/; revision=46137

14 years ago[NTOS]
Timo Kreuzer [Fri, 12 Mar 2010 16:28:04 +0000 (16:28 +0000)]
[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

14 years ago{HAL] Add PCI_ADDRESS_MEMORY_SPACE definition. It's not part of DDK/WDK
Timo Kreuzer [Fri, 12 Mar 2010 16:25:36 +0000 (16:25 +0000)]
{HAL] Add PCI_ADDRESS_MEMORY_SPACE definition. It's not part of DDK/WDK

svn path=/branches/header-work/; revision=46135

14 years ago[NTIFS]
Amine Khaldi [Fri, 12 Mar 2010 14:39:26 +0000 (14:39 +0000)]
[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

14 years ago[NTIFS]
Amine Khaldi [Fri, 12 Mar 2010 13:33:25 +0000 (13:33 +0000)]
[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

14 years ago[NTIFS]
Amine Khaldi [Fri, 12 Mar 2010 11:54:56 +0000 (11:54 +0000)]
[NTIFS]
- Add several missing Po* definitions

svn path=/branches/header-work/; revision=46130

14 years ago[NTIFS]
Amine Khaldi [Fri, 12 Mar 2010 11:40:01 +0000 (11:40 +0000)]
[NTIFS]
- Group related definitions
- Add several Io* definitions
- Add IO_PRIORITY_INFO structure

svn path=/branches/header-work/; revision=46129

14 years ago[NTIFS]
Amine Khaldi [Fri, 12 Mar 2010 11:18:35 +0000 (11:18 +0000)]
[NTIFS]
- Group related definitions
- Add several Fs*, Io* and DO_* definitions

svn path=/branches/header-work/; revision=46128

14 years ago[NTIFS]
Amine Khaldi [Fri, 12 Mar 2010 00:08:20 +0000 (00:08 +0000)]
[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

14 years ago[NTDDK]
Timo Kreuzer [Thu, 11 Mar 2010 23:54:57 +0000 (23:54 +0000)]
[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

14 years ago[NTIFS]
Amine Khaldi [Thu, 11 Mar 2010 23:36:06 +0000 (23:36 +0000)]
[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

14 years ago[NTIFS]
Amine Khaldi [Thu, 11 Mar 2010 23:07:52 +0000 (23:07 +0000)]
[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

14 years ago[NTIFS]
Amine Khaldi [Thu, 11 Mar 2010 22:33:08 +0000 (22:33 +0000)]
[NTIFS]
- Group related definitions
- Add ExInitializePushLock, SeReportSecurityEventWithSubCategory, SeAccessCheckFromState, SeStopImpersonatingClient and TOKEN_* definitions
- Update SE_EXPORTS

svn path=/branches/header-work/; revision=46120

14 years ago[NTIFS]
Amine Khaldi [Thu, 11 Mar 2010 17:51:43 +0000 (17:51 +0000)]
[NTIFS]
- Group related definitions
- Add InterlockedPushListSList, ExAdjustLookasideDepth and ExDisableResourceBoost
- Add some asserts

svn path=/branches/header-work/; revision=46105

14 years ago[NTDDK]
Amine Khaldi [Thu, 11 Mar 2010 17:27:44 +0000 (17:27 +0000)]
[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

14 years ago[FREELDR] Include ntddk.h instead of winddk.h
Timo Kreuzer [Thu, 11 Mar 2010 14:49:41 +0000 (14:49 +0000)]
[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

14 years ago[KTMTYPES]
Timo Kreuzer [Thu, 11 Mar 2010 11:32:54 +0000 (11:32 +0000)]
[KTMTYPES]
Fix the UOW hack, use special case for C++
Thanks to Dmitry Gorbachev for the solution.

svn path=/branches/header-work/; revision=46094

14 years ago[KMTYPES]
Timo Kreuzer [Thu, 11 Mar 2010 00:47:36 +0000 (00:47 +0000)]
[KMTYPES]
Add a compilation hack for gcc

svn path=/branches/header-work/; revision=46089

14 years ago[NTDDK]
Amine Khaldi [Thu, 11 Mar 2010 00:35:13 +0000 (00:35 +0000)]
[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

14 years ago[NTDDK]
Amine Khaldi [Wed, 10 Mar 2010 23:49:42 +0000 (23:49 +0000)]
[NTDDK]
- Move several ntddk.h related definition from winddk.h
- Group related definitions

svn path=/branches/header-work/; revision=46086

14 years ago[NTDDK]
Amine Khaldi [Wed, 10 Mar 2010 23:45:06 +0000 (23:45 +0000)]
[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

14 years ago[NTDDK]
Amine Khaldi [Wed, 10 Mar 2010 23:09:27 +0000 (23:09 +0000)]
[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

14 years ago[NTIFS] Add back some members of OBJECT_INFORMATION_CLASS, with a comment that they...
Timo Kreuzer [Wed, 10 Mar 2010 22:23:12 +0000 (22:23 +0000)]
[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

14 years agoAdd extern "C"
Timo Kreuzer [Wed, 10 Mar 2010 22:05:56 +0000 (22:05 +0000)]
Add extern "C"

svn path=/branches/header-work/; revision=46078

14 years agoAdd kmtypes.h
Timo Kreuzer [Wed, 10 Mar 2010 21:44:50 +0000 (21:44 +0000)]
Add kmtypes.h

svn path=/branches/header-work/; revision=46074

14 years ago[NTDEF] Add PROCESSOR_NUMBER
Timo Kreuzer [Wed, 10 Mar 2010 20:41:13 +0000 (20:41 +0000)]
[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

14 years ago[NTDDK]
Amine Khaldi [Wed, 10 Mar 2010 17:42:51 +0000 (17:42 +0000)]
[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

14 years ago[NTIFS]
Amine Khaldi [Wed, 10 Mar 2010 16:10:32 +0000 (16:10 +0000)]
[NTIFS]
Remove RTL_SPLAY_LINKS definition

svn path=/branches/header-work/; revision=46060

14 years ago[FREELDR] Define _BLDR_ for WDK header compatibility
Timo Kreuzer [Wed, 10 Mar 2010 04:16:52 +0000 (04:16 +0000)]
[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

14 years ago[ASM]
Timo Kreuzer [Wed, 10 Mar 2010 00:31:06 +0000 (00:31 +0000)]
[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

14 years ago[NTIFS]
Amine Khaldi [Tue, 9 Mar 2010 18:03:40 +0000 (18:03 +0000)]
[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

14 years ago[NTIFS]
Amine Khaldi [Tue, 9 Mar 2010 17:12:58 +0000 (17:12 +0000)]
[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

14 years ago[NTIFS]
Amine Khaldi [Tue, 9 Mar 2010 16:31:24 +0000 (16:31 +0000)]
[NTIFS]
- More work on FS related structures and definitions

svn path=/branches/header-work/; revision=46036

14 years ago[NTIFS]
Amine Khaldi [Tue, 9 Mar 2010 16:02:52 +0000 (16:02 +0000)]
[NTIFS]
- Add several missing FS related enums, structures and definitions

svn path=/branches/header-work/; revision=46035

14 years ago[NTIFS]
Amine Khaldi [Tue, 9 Mar 2010 15:06:29 +0000 (15:06 +0000)]
[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

14 years ago[NTIFS]
Amine Khaldi [Tue, 9 Mar 2010 13:53:15 +0000 (13:53 +0000)]
[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

14 years ago- Add a couple of Lsa* function declarations
Amine Khaldi [Tue, 9 Mar 2010 13:11:21 +0000 (13:11 +0000)]
- Add a couple of Lsa* function declarations
- Add missing MSV1_0* related definitions, enums, structs and macros

svn path=/branches/header-work/; revision=46030

14 years agomerge r46023
Timo Kreuzer [Tue, 9 Mar 2010 03:00:48 +0000 (03:00 +0000)]
merge r46023

svn path=/branches/header-work/; revision=46024

14 years agorevert part of 46020, adding back po types
Timo Kreuzer [Tue, 9 Mar 2010 00:45:15 +0000 (00:45 +0000)]
revert part of 46020, adding back po types

svn path=/branches/header-work/; revision=46022

14 years agoSync with trunk head
Amine Khaldi [Tue, 9 Mar 2010 00:19:55 +0000 (00:19 +0000)]
Sync with trunk head

svn path=/branches/header-work/; revision=46021

14 years ago- Move some definitions from wdm.h to ntpoapi.h
Timo Kreuzer [Tue, 9 Mar 2010 00:17:56 +0000 (00:17 +0000)]
- 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

14 years ago[NTIFS]
Amine Khaldi [Mon, 8 Mar 2010 23:02:39 +0000 (23:02 +0000)]
[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

14 years ago[NTIFS]
Amine Khaldi [Mon, 8 Mar 2010 22:30:14 +0000 (22:30 +0000)]
[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

14 years ago[freeldr] Load an additional SCSI driver if present (NTBOOTSYS.SYS on boot partition...
Hervé Poussineau [Mon, 8 Mar 2010 22:04:38 +0000 (22:04 +0000)]
[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

14 years ago[headers] Fix type of PRTL_HEAP_PARAMETERS in ifssupp.h. Will be required soon
Hervé Poussineau [Mon, 8 Mar 2010 21:42:18 +0000 (21:42 +0000)]
[headers] Fix type of PRTL_HEAP_PARAMETERS in ifssupp.h. Will be required soon

svn path=/trunk/; revision=46016

14 years agoFix include directories
Hervé Poussineau [Mon, 8 Mar 2010 21:40:29 +0000 (21:40 +0000)]
Fix include directories

svn path=/trunk/; revision=46015

14 years ago[NTIFS]
Amine Khaldi [Mon, 8 Mar 2010 21:38:43 +0000 (21:38 +0000)]
[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

14 years ago[User32]
James Tabor [Mon, 8 Mar 2010 21:24:47 +0000 (21:24 +0000)]
[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

14 years ago- [User32_winetest]
James Tabor [Mon, 8 Mar 2010 21:20:18 +0000 (21:20 +0000)]
- [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

14 years ago[CMBATT]
Cameron Gutman [Mon, 8 Mar 2010 21:09:25 +0000 (21:09 +0000)]
[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

14 years agoPolish translation update by Maciej Bialas.
Daniel Reimer [Mon, 8 Mar 2010 21:08:20 +0000 (21:08 +0000)]
Polish translation update by Maciej Bialas.

svn path=/trunk/; revision=46010

14 years ago- Fix a crash in user32 winetest msg.
James Tabor [Mon, 8 Mar 2010 21:04:00 +0000 (21:04 +0000)]
- Fix a crash in user32 winetest msg.

svn path=/trunk/; revision=46009

14 years agoAdd some types and contants to ntpoapi.h
Timo Kreuzer [Mon, 8 Mar 2010 21:00:56 +0000 (21:00 +0000)]
Add some types and contants to ntpoapi.h

svn path=/branches/header-work/; revision=46008

14 years ago[User32]
James Tabor [Mon, 8 Mar 2010 20:57:24 +0000 (20:57 +0000)]
[User32]
- Andrew Nguyen : Ensure That WM_INITDIALOG passes the first tabstop control handle to the dialog procedure.
- Henri Verbeet : Also show dialogs right after a WM_TIMER message.

svn path=/trunk/; revision=46007

14 years ago- [User32_winetest]
James Tabor [Mon, 8 Mar 2010 20:52:04 +0000 (20:52 +0000)]
- [User32_winetest]
- Win : Remove test_capture from service. This is related to TrackMouseEvent issues which use SetCapture.

svn path=/trunk/; revision=46006

14 years ago[PSDK]
Aleksey Bragin [Mon, 8 Mar 2010 20:51:33 +0000 (20:51 +0000)]
[PSDK]
- Update all IDLs to Wine-1.1.40. If you feel some of your change was lost, it wasn't needed for building. Please recommit if you still think it's of a high value.

svn path=/trunk/; revision=46005

14 years ago[NTOS]: Have I/O Manager Volume Device Objects register with the Power Manager so...
Sir Richard [Mon, 8 Mar 2010 20:47:10 +0000 (20:47 +0000)]
[NTOS]: Have I/O Manager Volume Device Objects register with the Power Manager so that they can receive dope.
[NTOS]: Reimplement NtShutdownSystem.
[NTOS]: Implement NtSetSystemPowerState for the shutdown/reboot cases.
[NTOS]: Use the dope from the volume device objects to flush all writeable (non-floppy) devices. Pending hard-disk changes are now flushed to disks before shutdown.
[NTOS]: Flush \\REGISTRY during shutdown. This flushes all pending changes.
[NTOS]: Call into Cc to flush lazy writer during shutdown.
[NTOS]: Stop killing processes on shutdown. The kernel should not be doing this.
[NTOS]: Don't only shutdown disk file systems, but also cdrom and tape.
[NTOS]: Don't only notify drivers of first-chance shutdown -- also parse the last-change shutdown list.
[NTOS]: Reference drivers registering for shutdown notifications so that they remain loaded for them to get the notification at shutdown.
[NTOS]: Notify drivers that have registered/opened the Power State callback.
[NTOS]: A lot of the Po* power state code is highly simplified, but provides a good roadmap to anyone interested in this functionality long-term.

svn path=/trunk/; revision=46004

14 years ago[CMLIB]: Just use UNIMPLEMENTED.
Sir Richard [Mon, 8 Mar 2010 20:46:53 +0000 (20:46 +0000)]
[CMLIB]: Just use UNIMPLEMENTED.

svn path=/trunk/; revision=46003

14 years agoSEH-Protect the call to RSetServiceStatus in SetServiceStatus. This keeps services...
Eric Kohl [Mon, 8 Mar 2010 20:42:48 +0000 (20:42 +0000)]
SEH-Protect the call to RSetServiceStatus in SetServiceStatus. This keeps services from crashing when the connection to the service manager fails.

svn path=/trunk/; revision=46002

14 years ago[NTOS]: Implement CmSetLazyFlushState to disable lazy writing in the Cm.
Sir Richard [Mon, 8 Mar 2010 20:37:24 +0000 (20:37 +0000)]
[NTOS]: Implement CmSetLazyFlushState to disable lazy writing in the Cm.
[NTOS]: Implement ExSwapInWorkerThreads to in-swap any worker threads when needed.
[NTOS]: Add HAL stubs for HalEndOfBoot and HalSetWakeEnable since most HALs set this to NULL.
[DDK]: Add some missing definitions.

svn path=/trunk/; revision=46001

14 years ago- Silent traces
Johannes Anderwald [Mon, 8 Mar 2010 20:30:51 +0000 (20:30 +0000)]
- Silent traces

svn path=/trunk/; revision=46000

14 years agoAdd a bunch of Zw apis. (see diff for more details)
Timo Kreuzer [Mon, 8 Mar 2010 20:26:45 +0000 (20:26 +0000)]
Add a bunch of Zw apis. (see diff for more details)

svn path=/branches/header-work/; revision=45999

14 years ago[NTIFS]
Amine Khaldi [Mon, 8 Mar 2010 17:07:52 +0000 (17:07 +0000)]
[NTIFS]
- Group related definitions
- Add Nt{Open,Privilege,Close,Delete}ObjectAuditAlarm, NtPrivilegedServiceAuditAlarm, RtlRandom(Ex), RtlCaptureContext, RtlInit{Ansi,Unicode}StringEx, RtlUpcaseUnicodeStringTo(Counted)OemString,
RtlIdnTo(Nameprep)Unicode, RtlValidateUnicodeString, RtlUnicodeStringToOemSize, RtlMultiByteToUnicodeN, RtlMultiByteToUnicodeSize, RtlUnicodeToMultiByteSize, RtlUnicodeToUTF8N, RtlUTF8ToUnicodeN, RtlUpcaseUnicodeToMultiByteN, RtlUnicodeToOemN, RtlUpcaseUnicodeToOemN, RtlNormalizeString, RtlIsNormalizedString, RtlIsValidOemCharacter, PfxInitialize, PfxInsertPrefix, RtlEqualPrefixSid, RtlFreeSid, RtlAllocateAndInitializeSid and RtlIdentifierAuthoritySid function declarations
- Add RTL_ALLOCATE_STRING_ROUTINE, RTL_REALLOCATE_STRING_ROUTINE and RTL_FREE_STRING_ROUTINE type definitions
- Add PREFIX_TABLE_ENTRY and PREFIX_TABLE structures
- Improve RtlGenerate8dot3Name definition
- Improve RtlFillMemoryUlong and add RtlFillMemoryUlonglong
- Add HEAP_SETTABLE_USER_{VALUE,FLAG1,FLAG2,FLAG3,FLAGS}, HEAP_CLASS_{0-8,MASK}, HEAP_MAXIMUM_TAG, HEAP_GLOBAL_TAG, HEAP_PSEUDO_TAG_FLAG, HEAP_TAG_SHIFT, HEAP_TAG_MASK and HEAP_CREATE_VALID_MASK definitions
- Add HEAP_MAKE_TAG_FLAGS inline function
- RtlAllocateHeap : HANDLE HeapHandle -> PVOID HeapHandle
- RtlFreeHeap : HANDLE HeapHandle -> PVOID HeapHandle and P -> BaseAddress
- RtlOemToUnicodeN : PCH OemString -> PCCH OemString
- Add RtlOffsetToPointer and RtlPointerToOffset macros

Dedicated to arty ;)

svn path=/branches/header-work/; revision=45998

14 years ago[WDM]
Timo Kreuzer [Mon, 8 Mar 2010 05:00:38 +0000 (05:00 +0000)]
[WDM]
reenable the ASSERT in IoSkipCurrentIrpStackLocation

svn path=/branches/header-work/; revision=45997

14 years ago[NTOS]
Timo Kreuzer [Mon, 8 Mar 2010 04:58:49 +0000 (04:58 +0000)]
[NTOS]
IofCompleteRequest: Skip the stack location at the beginning of the loop instead of before and at the end to avoid double skipping of the last valid stack location in certain cases. This prevents the ASSERT in IoSkipCurrentIrpStackLocation to be hit. Note: this leads to a different value of Irp->CurrentLocation and Irp->Tail.Overlay.CurrentStackLocation after the last completion routine has been called. But that should hopefully not make a difference.

svn path=/branches/header-work/; revision=45996

14 years ago- [User32] Sync Mdi to wine 1.1.40.
James Tabor [Sun, 7 Mar 2010 21:18:52 +0000 (21:18 +0000)]
- [User32] Sync Mdi to wine 1.1.40.

svn path=/trunk/; revision=45995

14 years ago[freeldr] Add SCSIPORT category to debug messages
Hervé Poussineau [Sun, 7 Mar 2010 20:12:28 +0000 (20:12 +0000)]
[freeldr] Add SCSIPORT category to debug messages
Add missing PELOADER entry + fix one debug message

svn path=/trunk/; revision=45994

14 years ago[NTIFS]
Amine Khaldi [Sun, 7 Mar 2010 15:37:53 +0000 (15:37 +0000)]
[NTIFS]
- Group related definitions
- Add POLICY_AUDIT_SUBCATEGORY_COUNT, _TOKEN_AUDIT_POLICY, _MANDATORY_LEVEL definitions
- Add NtOpen{Thread,Process}Token(Ex), NtOpenJobObjectToken, NtDuplicateToken, NtImpersonateAnonymousToken, Nt{Query,Set}InformationToken, NtAdjustPrivilegesToken, NtAdjustGroupsToken, NtPrivilegeCheck and NtAccessCheckAndAuditAlarm declarations
- Add NTSYSCALLAPI to NtFilterToken
- NtAccessCheckByType(ResultList)AndAuditAlarm(ByHandle) : Add NTSYSCALLAPI and HANDLE HandleId -> PVOID HandleId

svn path=/branches/header-work/; revision=45993

14 years agoUpdate reg and msiexec to Wine 1.1.40.
Daniel Reimer [Sun, 7 Mar 2010 14:59:15 +0000 (14:59 +0000)]
Update reg and msiexec to Wine 1.1.40.

svn path=/trunk/; revision=45992

14 years ago[HHCTRL.OCX]
Sylvain Petreolle [Sun, 7 Mar 2010 13:26:27 +0000 (13:26 +0000)]
[HHCTRL.OCX]
fix build

svn path=/trunk/; revision=45991

14 years ago[HHCTRL.OCX]
Christoph von Wittich [Sun, 7 Mar 2010 12:48:05 +0000 (12:48 +0000)]
[HHCTRL.OCX]
sync hhctrl.ocx to wine 1.1.40

svn path=/trunk/; revision=45990

14 years agoPolish translation update by Maciej Bialas.
Daniel Reimer [Sun, 7 Mar 2010 11:51:02 +0000 (11:51 +0000)]
Polish translation update by Maciej Bialas.

svn path=/trunk/; revision=45988

14 years ago[IMM32]
Christoph von Wittich [Sun, 7 Mar 2010 11:27:14 +0000 (11:27 +0000)]
[IMM32]
sync imm32 to wine 1.1.40

svn path=/trunk/; revision=45987

14 years ago[ITIRCL]
Christoph von Wittich [Sun, 7 Mar 2010 11:21:31 +0000 (11:21 +0000)]
[ITIRCL]
sync itircl to wine 1.1.40

svn path=/trunk/; revision=45986

14 years ago[ICCVID]
Christoph von Wittich [Sun, 7 Mar 2010 11:20:29 +0000 (11:20 +0000)]
[ICCVID]
sync iccvid to wine 1.1.40

svn path=/trunk/; revision=45985

14 years ago[CLUSAPI]
Christoph von Wittich [Sun, 7 Mar 2010 11:15:16 +0000 (11:15 +0000)]
[CLUSAPI]
sync clusapi to wine 1.1.40

svn path=/trunk/; revision=45984

14 years ago[PSDK]
Christoph von Wittich [Sun, 7 Mar 2010 11:10:18 +0000 (11:10 +0000)]
[PSDK]
sync xmldom.idl to wine 1.1.40

svn path=/trunk/; revision=45983

14 years ago[MSCTF]
Christoph von Wittich [Sun, 7 Mar 2010 09:48:42 +0000 (09:48 +0000)]
[MSCTF]
sync msctf to wine 1.1.40

svn path=/trunk/; revision=45982

14 years ago[PSAPI_WINETEST]
Christoph von Wittich [Sun, 7 Mar 2010 09:34:40 +0000 (09:34 +0000)]
[PSAPI_WINETEST]
sync psapi_winetest to wine 1.1.40

svn path=/trunk/; revision=45980

14 years ago[ITSS]
Christoph von Wittich [Sun, 7 Mar 2010 09:32:58 +0000 (09:32 +0000)]
[ITSS]
sync itss to wine 1.1.40

svn path=/trunk/; revision=45979

14 years ago[OBJSEL]
Christoph von Wittich [Sun, 7 Mar 2010 09:29:02 +0000 (09:29 +0000)]
[OBJSEL]
sync objsel to wine 1.1.40

svn path=/trunk/; revision=45978

14 years ago[SHELL32_WINETEST]
Christoph von Wittich [Sun, 7 Mar 2010 07:34:02 +0000 (07:34 +0000)]
[SHELL32_WINETEST]
sync shell32_winetest to wine 1.1.40

svn path=/trunk/; revision=45977

14 years ago[USER32_WINETEST]
Christoph von Wittich [Sun, 7 Mar 2010 07:32:14 +0000 (07:32 +0000)]
[USER32_WINETEST]
sync user32_winetest to wine 1.1.40

svn path=/trunk/; revision=45976

14 years ago[GDI32_WINETEST]
Christoph von Wittich [Sun, 7 Mar 2010 07:29:40 +0000 (07:29 +0000)]
[GDI32_WINETEST]
sync gdi32_winetest to wine 1.1.40

svn path=/trunk/; revision=45975

14 years ago[ADVAPI32_WINETEST]
Christoph von Wittich [Sun, 7 Mar 2010 07:27:57 +0000 (07:27 +0000)]
[ADVAPI32_WINETEST]
sync advapi32_winetest to wine 1.1.40

svn path=/trunk/; revision=45974

14 years ago- comment out an ASSERT in IoSkipCurrentIrpStackLocation, because our kernel is broken
Timo Kreuzer [Sun, 7 Mar 2010 03:53:47 +0000 (03:53 +0000)]
- comment out an ASSERT in IoSkipCurrentIrpStackLocation, because our kernel is broken
- Add a header to wdm.h
- add _NTLSA_IFS defines
- add NTAPI to SeLockSubjectContext
- add back CONST in ProbeForRead

svn path=/branches/header-work/; revision=45973

14 years agorevert the change to ProbeForRead
Timo Kreuzer [Sun, 7 Mar 2010 03:44:18 +0000 (03:44 +0000)]
revert the change to ProbeForRead

svn path=/branches/header-work/; revision=45972

14 years ago[NTOS]
Timo Kreuzer [Sun, 7 Mar 2010 02:55:13 +0000 (02:55 +0000)]
[NTOS]
- use NTDDI_VERSION 0x05020400 (2k3, SP4)
- fix ProbeForRead parameters
- remove a hack

svn path=/branches/header-work/; revision=45971

14 years agoAdd KeRemoveByKeyDeviceQueueIfBusy, KeReleaseInStackQueuedSpinLock, KeDeregisterBugCh...
Timo Kreuzer [Sun, 7 Mar 2010 01:05:54 +0000 (01:05 +0000)]
Add KeRemoveByKeyDeviceQueueIfBusy, KeReleaseInStackQueuedSpinLock, KeDeregisterBugCheckReasonCallback, KeRegisterBugCheckReasonCallback, KeInitializeThreadedDpc, KeAcquireSpinLockForDpc, KeReleaseSpinLockForDpc, KeAcquireInStackQueuedSpinLockForDpc, KeReleaseInStackQueuedSpinLockForDpc, KeQueryDpcWatchdogInformation, KeSetSystemAffinityThreadEx, KeQueryActiveProcessorCount, KeQueryMaximumProcessorCount, KeRegisterProcessorChangeCallback, KeDeregisterProcessorChangeCallback, KeQueryTotalCycleTimeProcess, KeQueryTotalCycleTimeThread, KeSetTargetProcessorDpcEx, KeSetSystemGroupAffinityThread, KeRevertToUserGroupAffinityThread, KeSetCoalescableTimer, KeQueryUnbiasedInterruptTime, KeQueryActiveProcessorCountEx, KeQueryMaximumProcessorCountEx, KeQueryActiveGroupCount, KeQueryMaximumGroupCount, KeQueryGroupAffinity, KeGetCurrentProcessorNumberEx, KeQueryNodeActiveAffinity, KeQueryNodeMaximumProcessorCount, KeQueryHighestNodeNumber, KeGetCurrentNodeNumber, KeQueryLogicalProcessorRelationship, KeSaveExtendedProcessorState, KeRestoreExtendedProcessorState, SeObjectCreateSaclAccessBits, SeReleaseSubjectContext, SeUnlockSubjectContext, SeCaptureSubjectContext, SeLockSubjectContext, SeSetAuditParameter, SeReportSecurityEvent, SeComputeAutoInheritByObjectType, SeGetWorldRights, PoSetSystemWake, PoGetSystemWake, PoRegisterPowerSettingCallback, PoUnregisterPowerSettingCallback, PoSetDeviceBusyEx, PoStartDeviceBusy, PoEndDeviceBusy, PoQueryWatchdogTime, PoDeletePowerRequest, PoSetPowerRequest, PoClearPowerRequest, PoCreatePowerRequest
- add NTAPI to KeEnterGuardedRegion

svn path=/branches/header-work/; revision=45970

14 years agoStubplement WTSQueryUserToken.
Sylvain Petreolle [Sat, 6 Mar 2010 23:14:36 +0000 (23:14 +0000)]
Stubplement WTSQueryUserToken.
Patch by Olaf Siejka.

svn path=/trunk/; revision=45969

14 years agoAdd some Win7 version defines
Timo Kreuzer [Sat, 6 Mar 2010 22:50:52 +0000 (22:50 +0000)]
Add some Win7 version defines

svn path=/branches/header-work/; revision=45968

14 years agoMake the shutdown with ACPI enabled actually work.
Sylvain Petreolle [Sat, 6 Mar 2010 22:22:28 +0000 (22:22 +0000)]
Make the shutdown with ACPI enabled actually work.
Patch by Samuel Serapion.

svn path=/trunk/; revision=45967

14 years ago- fix palette index for the progress bar
Matthias Kupfer [Sat, 6 Mar 2010 22:14:46 +0000 (22:14 +0000)]
- fix palette index for the progress bar

svn path=/trunk/; revision=45966

14 years ago[WDM]
Timo Kreuzer [Sat, 6 Mar 2010 21:52:34 +0000 (21:52 +0000)]
[WDM]
- Update DISPATCHER_HEADER, based on latest WDK, with "in2003 compatibility fixes
- add Vmcs to INTERFACE_TYPE enum

svn path=/branches/header-work/; revision=45965

14 years ago[NTIFS]
Amine Khaldi [Sat, 6 Mar 2010 19:56:40 +0000 (19:56 +0000)]
[NTIFS]
- Group related definitions
- Add _SE_SECURITY_DESCRIPTOR, _SE_ACCESS_REQUEST, _SE_ACCESS_REPLY, _SE_AUDIT_OPERATION, _SE_AUDIT_INFO, _TOKEN_LINKED_TOKEN, _TOKEN_ELEVATION, _TOKEN_MANDATORY_LABEL, TOKEN_MANDATORY_POLICY_OFF, TOKEN_MANDATORY_POLICY_NO_WRITE_UP, TOKEN_MANDATORY_POLICY_NEW_PROCESS_MIN, TOKEN_MANDATORY_POLICY_VALID_MASK, _TOKEN_MANDATORY_POLICY and  _TOKEN_ACCESS_INFORMATION definitions
- Introduce TOKEN_ALL_ACCESS_P definition and use it to improve TOKEN_ALL_ACCESS definition
- Add missing _TOKEN_INFORMATION_CLASS members

svn path=/branches/header-work/; revision=45964

14 years ago[NTIFS]
Amine Khaldi [Sat, 6 Mar 2010 19:31:27 +0000 (19:31 +0000)]
[NTIFS]
Actually add the definitions mentioned in the previous commit

svn path=/branches/header-work/; revision=45963