reactos.git
10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 years ago[NTIFS]
Amine Khaldi [Sat, 6 Mar 2010 19:26:30 +0000 (19:26 +0000)]
[NTIFS]
- Group related definitions
- Add ACCESS_OBJECT_GUID, ACCESS_PROPERTY_SET_GUID, ACCESS_PROPERTY_GUID, ACCESS_MAX_LEVEL, ACCESS_DS_SOURCE_A, ACCESS_DS_SOURCE_W, ACCESS_DS_OBJECT_TYPE_NAME_A, ACCESS_DS_OBJECT_TYPE_NAME_W, ACCESS_REASON_TYPE_MASK, ACCESS_REASON_DATA_MASK, _ACCESS_REASON_TYPE, ACCESS_REASON, _ACCESS_REASONS, SE_SECURITY_DESCRIPTOR_FLAG_NO_OWNER_ACE, SE_SECURITY_DESCRIPTOR_FLAG_NO_LABEL_ACE and SE_SECURITY_DESCRIPTOR_VALID_FLAGS
- Remove _AUDIT_EVENT_TYPE_HACK == 0 condition around _AUDIT_EVENT_TYPE

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

10 years ago- globally disable warnings for char array subscripts
Timo Kreuzer [Sat, 6 Mar 2010 18:55:27 +0000 (18:55 +0000)]
- globally disable warnings for char array subscripts
- include ntifs.h in bootvid, kdcom, ramdisk, freeldr
- define SINGLE_GROUP_LEGACY_API for the kernel
- Add back missing prototypes: IoFreeAdapterChannel, IoMapTransfer, IoFlushAdapterBuffers, IoFreeMapRegisters, HalAllocateCommonBuffer, HalFreeCommonBuffer, HalReadDmaCounter
- add missing NTAPI to KeQueryActiveProcessors

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

10 years ago- Add PMDLX
Timo Kreuzer [Sat, 6 Mar 2010 02:21:20 +0000 (02:21 +0000)]
- Add PMDLX
- MmProbeAndLockProcessPages is win2k, not XP
- update CM_PARTIAL_RESOURCE_DESCRIPTOR
- comment out some ExInterlocked functions for x86

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

10 years ago[WDM]
Timo Kreuzer [Sat, 6 Mar 2010 01:07:32 +0000 (01:07 +0000)]
[WDM]
- KPROCESSOR_MODE is CCHAR
- add PF_XSAVE_ENABLED, SEC_COMMIT
- KeSaveFloatingPointState and KeRestoreFloatingPointState are x86 only

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

10 years ago- Remove ntddk include from ntoskrnl.h
Amine Khaldi [Sat, 6 Mar 2010 00:59:29 +0000 (00:59 +0000)]
- Remove ntddk include from ntoskrnl.h
- NTIFS : tagTOKEN_TYPE -> _TOKEN_TYPE
- Remove redundant MmFlushImageSection definition from winddk
- Add _BUS_HANDLER struct forwarder
- Guard ifssupp.h with #ifndef _NTIFS_ condition
- Add WAIT_TYPE, LOGICAL and PLOGICAL definitions to ntdef.h and get rid of the incorrect ones in winddk.h
- Group related *_POWER_* definitions
- Move PKSYNCHRONIZE_ROUTINE and POOL_TYPE to the kernel types section
- PDEVICE_OBJECT  DeviceObject -> struct _DEVICE_OBJECT  *DeviceObject in some cases
- PIRP Irp -> struct _IRP  *Irp in some cases

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

10 years ago[NTIFS]
Amine Khaldi [Fri, 5 Mar 2010 23:11:56 +0000 (23:11 +0000)]
[NTIFS]
- Group related definitions
- Correct ACCESS_MAX_MS_V5_ACE_TYPE definition
- Add SYSTEM_MANDATORY_LABEL_ACE_TYPE, SUCCESSFUL_ACCESS_ACE_FLAG, FAILED_ACCESS_ACE_FLAG, SYSTEM_MANDATORY_LABEL_NO_WRITE_UP, SYSTEM_MANDATORY_LABEL_NO_READ_UP, SYSTEM_MANDATORY_LABEL_NO_EXECUTE_UP and SYSTEM_MANDATORY_LABEL_VALID_MASK definitions

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

10 years ago[NTIFS]
Amine Khaldi [Fri, 5 Mar 2010 22:51:28 +0000 (22:51 +0000)]
[NTIFS]
- Group related definitions
- Add SID_AND_ATTRIBUTES_HASH struct
- Add SID_HASH_SIZE, SID_HASH_ENTRY, *PSID_HASH_ENTRY, SECURITY_LOCAL_LOGON_RID, SECURITY_CRED_TYPE_BASE_RID, SECURITY_CRED_TYPE_RID_COUNT, SECURITY_CRED_TYPE_THIS_ORG_CERT_RID, SECURITY_USERMODEDRIVERHOST_ID_BASE_RID, SECURITY_USERMODEDRIVERHOST_ID_RID_COUNT, SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_BASE_RID, SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_RID_COUNT, SECURITY_WMIHOST_ID_BASE_RID, SECURITY_WMIHOST_ID_RID_COUNT, SECURITY_TASK_ID_BASE_RID, SECURITY_NFS_ID_BASE_RID, SECURITY_COM_ID_BASE_RID, SECURITY_VIRTUALACCOUNT_ID_RID_COUNT and SECURITY_WINDOWSMOBILE_ID_BASE_RID definitions

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

10 years agoadd _WDMDDK_ include guard
Timo Kreuzer [Fri, 5 Mar 2010 22:50:11 +0000 (22:50 +0000)]
add _WDMDDK_ include guard

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

10 years ago[NTIFS]
Amine Khaldi [Fri, 5 Mar 2010 22:36:10 +0000 (22:36 +0000)]
[NTIFS]
- Introduce #pragma once
- Add missing includes
- Add some struct forwarders
- Add PsGetCurrentProcess, KeNumberProcessors, LSA_UNICODE_STRING, *PLSA_UNICODE_STRING, LSA_OBJECT_ATTRIBUTES and *PLSA_OBJECT_ATTRIBUTES definitions
- Add SID_NAME_USE enum
- Group related definitions

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

10 years ago- Move MMFLUSH_TYPE enum from winddk.h to ntifs.h
Amine Khaldi [Fri, 5 Mar 2010 21:51:34 +0000 (21:51 +0000)]
- Move MMFLUSH_TYPE enum from winddk.h to ntifs.h
- Remove redundant definitions from winddk.h : ObInsertObject, ObMakeTemporaryObject, ObOpenObjectByPointer, ObQueryObjectAuditingByHandle, ZwDeviceIoControlFile and ZwWaitForSingleObject
- ObInsertObject : AdditionalReferences -> ObjectPointerBias and ReferencedObject -> NewObject

Happy birthday Andy ! :)

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

10 years agoHalFreeCommonBuffer and HalReadDmaCounter :
Amine Khaldi [Fri, 5 Mar 2010 21:03:42 +0000 (21:03 +0000)]
HalFreeCommonBuffer and HalReadDmaCounter :
- Move them from winddk.h to wdm.h and make them inline functions
- NTHALAPI -> FORCEINLINE
- PADAPTER_OBJECT  AdapterObject -> PDMA_ADAPTER DmaAdapter

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

10 years agoHalAllocateCommonBuffer :
Amine Khaldi [Fri, 5 Mar 2010 20:57:21 +0000 (20:57 +0000)]
HalAllocateCommonBuffer :
- Move it from winddk.h to wdm.h and make it an inline function
- NTHALAPI -> FORCEINLINE
- PADAPTER_OBJECT  AdapterObject -> PDMA_ADAPTER DmaAdapter

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Fri, 5 Mar 2010 20:40:37 +0000 (20:40 +0000)]
- Move more stuff to wdm.h
- Add NTAPI back to some Io* definitions
- Remove some redundant Io* definitions

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Fri, 5 Mar 2010 19:56:44 +0000 (19:56 +0000)]
- Move more stuff to wdm.h
- DbgPrint(Ex) : PCCH  Format -> PCSTR  Format
- Add NTSYSAPI to vDbgPrintEx(WithPrefix)
- DbgPrintReturnControlC and Dbg{Set,Query}DebugFilterState : NTKERNELAPI -> NTSYSAPI
- Add vKdPrintExWithPrefix definition
- Improve the conditions around KdDebuggerEnabled and KdDebuggerNotPresent definitions

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Fri, 5 Mar 2010 18:56:48 +0000 (18:56 +0000)]
- Move more stuff to wdm.h
- Improve more Po* and Zw* definitions

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Fri, 5 Mar 2010 18:20:08 +0000 (18:20 +0000)]
- Move more stuff to wdm.h
- Improve more Ps* and Se* definitions

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Fri, 5 Mar 2010 18:06:58 +0000 (18:06 +0000)]
- Move more stuff to wdm.h
- Improve more Ob* definitions

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Fri, 5 Mar 2010 17:41:41 +0000 (17:41 +0000)]
- Move more stuff to wdm.h
- Improve more Mm* definitions

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Fri, 5 Mar 2010 16:18:23 +0000 (16:18 +0000)]
- Move more stuff to wdm.h
- Improve more Ke* definitions

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

10 years agoMore work on USB related definitions
Amine Khaldi [Fri, 5 Mar 2010 13:32:58 +0000 (13:32 +0000)]
More work on USB related definitions

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

10 years agoMore work on USB related definitions
Amine Khaldi [Fri, 5 Mar 2010 12:25:38 +0000 (12:25 +0000)]
More work on USB related definitions

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

10 years agoMore work on USB related definitions
Amine Khaldi [Fri, 5 Mar 2010 12:07:35 +0000 (12:07 +0000)]
More work on USB related definitions

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

10 years agoMore work on USB related definitions
Amine Khaldi [Fri, 5 Mar 2010 11:58:34 +0000 (11:58 +0000)]
More work on USB related definitions

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

10 years agoMore work on USB related definitions
Amine Khaldi [Fri, 5 Mar 2010 11:44:11 +0000 (11:44 +0000)]
More work on USB related definitions

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

10 years agoMore work on USB related definitions
Amine Khaldi [Fri, 5 Mar 2010 11:12:29 +0000 (11:12 +0000)]
More work on USB related definitions

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

10 years agoMore work on USB related definitions
Amine Khaldi [Fri, 5 Mar 2010 09:56:28 +0000 (09:56 +0000)]
More work on USB related definitions

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

10 years ago- Convert the members of PCI_COMMON_HEADER into a #define to avoid inheritance on...
Timo Kreuzer [Fri, 5 Mar 2010 04:03:34 +0000 (04:03 +0000)]
- Convert the members of PCI_COMMON_HEADER into a #define to avoid inheritance on C++, which would render the type a non-POD, causing compilation errors.
- IoInitializeDpcRequest expects PIO_DPC_ROUTINE as 2nd parameter, fix callers.
- While FILE_CHARACTERISTIC_PNP_DEVICE is defined in the DDK/WDK, _SYSTEM_INFORMATION_CLASS is not, fix include guards in ntddk_ex.h
- add InterlockedBitTestAndSet64 and InterlockedBitTestAndReset64 for amd64
- Fix definition of NLS_MB_CODE_PAGE_TAG for gcc
- Fix parameters of DMA inline functions
- remove duplicate IoAllocateAdapterChannel
- Everything compiles again -> Amine, your turn :)

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

10 years agoMore work on USB related definitions
Amine Khaldi [Fri, 5 Mar 2010 01:12:11 +0000 (01:12 +0000)]
More work on USB related definitions

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

10 years agoMore work on USB related definitions
Amine Khaldi [Fri, 5 Mar 2010 01:07:08 +0000 (01:07 +0000)]
More work on USB related definitions

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

10 years agoMore work on USB related definitions
Amine Khaldi [Fri, 5 Mar 2010 00:54:36 +0000 (00:54 +0000)]
More work on USB related definitions

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

10 years agoFix TdiBuildBaseIrp by adding the missing ;
Timo Kreuzer [Fri, 5 Mar 2010 00:34:26 +0000 (00:34 +0000)]
Fix TdiBuildBaseIrp by adding the missing ;

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

10 years agoadd back missing IoAllocateAdapterChannel
Timo Kreuzer [Fri, 5 Mar 2010 00:31:37 +0000 (00:31 +0000)]
add back missing IoAllocateAdapterChannel

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

10 years agoMore work on USB related definitions
Amine Khaldi [Fri, 5 Mar 2010 00:15:36 +0000 (00:15 +0000)]
More work on USB related definitions

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

10 years agoMore work on USB related definitions
Amine Khaldi [Fri, 5 Mar 2010 00:08:17 +0000 (00:08 +0000)]
More work on USB related definitions

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

10 years agoMore work on USB related definitions
Amine Khaldi [Thu, 4 Mar 2010 23:57:29 +0000 (23:57 +0000)]
More work on USB related definitions

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

10 years agoMore work on USB related definitions
Amine Khaldi [Thu, 4 Mar 2010 22:58:41 +0000 (22:58 +0000)]
More work on USB related definitions

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

10 years agoA bit more cleanup and sorting
Timo Kreuzer [Wed, 3 Mar 2010 23:48:30 +0000 (23:48 +0000)]
A bit more cleanup and sorting

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

10 years ago- sort wdm.h a bit more
Timo Kreuzer [Wed, 3 Mar 2010 23:02:02 +0000 (23:02 +0000)]
- sort wdm.h a bit more
- add missing NTAPI
- move TIMER_TYPE to ntdef.h
- remove duplicate port and register functions
- add volatile keyword where appropriate to register access inline functions
- Use result variable in IoGetRemainingStackSize inline function to avoid a warning

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

10 years agorevert change to IoCreateFile
Timo Kreuzer [Wed, 3 Mar 2010 22:48:21 +0000 (22:48 +0000)]
revert change to IoCreateFile

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 21:06:23 +0000 (21:06 +0000)]
- Move more stuff to wdm.h
- Improve more Io* and Ke* definitions

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 19:24:25 +0000 (19:24 +0000)]
- Move more stuff to wdm.h
- Improve more Io* definitions
- Convert IoSetCompletionRoutine, IoSetNextIrpStackLocation and IoSkipCurrentIrpStackLocation to inline functions

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 18:30:50 +0000 (18:30 +0000)]
- Move more stuff to wdm.h
- Improve IoIs32bitProcess and more Io* definitions
- Convert IoMarkIrpPending to an inline function- Move more stuff to wdm.h

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 18:01:23 +0000 (18:01 +0000)]
- Move more stuff to wdm.h
- Improve more Io* definitions
- Fix KeInitializeDpc
- IoCreateFile and everywhere related : ExtraCreateParameters -> InternalParameters
- IoQueueWorkItem and everywhere related : Routine -> WorkerRoutine and pIoWorkItem -> IoWorkItem

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 16:55:25 +0000 (16:55 +0000)]
- Move more stuff to wdm.h
- Improve IoAcquireRemoveLock(EX) and several Io*
- Convert some macros to inline functions

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

10 years ago- Move ntdef.h from ddk to psdk
Amine Khaldi [Wed, 3 Mar 2010 16:03:14 +0000 (16:03 +0000)]
- Move ntdef.h from ddk to psdk
- Move EVENT_TYPE to ntdef.h
- Introduce pragma once to wdm.h
- Fix FAST_MUTEX
- FastMutex->Gate => FastMutex->Event
- Improve KeInitializeEvent
- Improve InitializeSListHead

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

10 years agoFix some pshpack / poppack includes
Timo Kreuzer [Wed, 3 Mar 2010 13:38:45 +0000 (13:38 +0000)]
Fix some pshpack / poppack includes

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 13:33:58 +0000 (13:33 +0000)]
- Move more stuff to wdm.h
- Improve PAGED_CODE, ProbeFor{Read,Write} and Cm(UN)RegisterCallback
- Group some related definitions.

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 13:02:26 +0000 (13:02 +0000)]
- Move more stuff to wdm.h
- Fix/Improve InitializeSListHead
- Convert some macros into inline functions

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 12:39:52 +0000 (12:39 +0000)]
- Move more stuff to wdm.h
- Fix RTL_VERIFYMSG
- Improve NLS_MB_CODE_PAGE_TAG and NLS_MB_OEM_CODE_PAGE_TAG
- Fix/Improve some RTL and Guarded Mutex routines

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

10 years agoAdd several missing USB related definitions
Amine Khaldi [Wed, 3 Mar 2010 11:42:20 +0000 (11:42 +0000)]
Add several missing USB related definitions

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 11:38:57 +0000 (11:38 +0000)]
- Move more stuff to wdm.h
- Add missing MM_ALLOCATE_* definitions
- Improve KeTryToAcquireSpinLockAtDpcLevel and KeTestSpinLock
- Fix a typo in BYTES_TO_PAGES definition
- Remove a useless #if block
- Add missing ntddk.h include in ntoskrnl.h

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Tue, 2 Mar 2010 16:14:22 +0000 (16:14 +0000)]
- Move more stuff to wdm.h
- Fix XMM_SAVE_AREA32
- Fix *PFN_* definitions

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Tue, 2 Mar 2010 15:49:27 +0000 (15:49 +0000)]
- Move more stuff to wdm.h
- Improve Interrupt Request Level definitions
- KeGetCurrentIrql : DDKAPI -> NTAPI
- KeGetCurrentThread : Fix the definition, remove a redundant one and NTKERNELAPI -> NTSYSAPI

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Tue, 2 Mar 2010 14:53:28 +0000 (14:53 +0000)]
- Move more stuff to wdm.h
- Fix REG_SET_VALUE_KEY_INFORMATION, REG_DELETE_VALUE_KEY_INFORMATION, REG_SET_INFORMATION_KEY_INFORMATION,  REG_ENUMERATE_KEY_INFORMATION, REG_ENUMERATE_VALUE_KEY_INFORMATION, REG_PRE_CREATE_KEY_INFORMATION,
REG_POST_CREATE_KEY_INFORMATION, REG_POST_OPERATION_INFORMATION and REG_KEY_HANDLE_CLOSE_INFORMATION definitions.

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Tue, 2 Mar 2010 14:32:50 +0000 (14:32 +0000)]
- Move more stuff to wdm.h
- Group some related definitions
- Add missing TRACE_INFORMATION_CLASS members
- Improve REG_NOTIFY_CLASS
- Fix REG_DELETE_KEY_INFORMATION

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Mon, 1 Mar 2010 21:46:34 +0000 (21:46 +0000)]
- Move more stuff to wdm.h
- Fix KBUGCHECK_CALLBACK_REASON
- Add missing KDPC_IMPORTANCE member

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Mon, 1 Mar 2010 21:24:36 +0000 (21:24 +0000)]
- Move more stuff to wdm.h
- Add _PCI_COMMON_HEADER
- Improve _PCI_COMMON_CONFIG
- Enable msc extensions

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Mon, 1 Mar 2010 14:32:44 +0000 (14:32 +0000)]
- Move more stuff to wdm.h
- Improve KWAIT_REASON
- Group related definitions

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Mon, 1 Mar 2010 14:15:43 +0000 (14:15 +0000)]
- Move more stuff to wdm.h
- Add PCI_DISABLE_LEVEL_INTERRUPT, PCI_STATUS_DETECTED_PARITY_ERROR, PCI_SUBCLASS_NET_ISDN_CTLR, PCI_SUBCLASS_BR_RACEWAY and several missing PCI_CLASS_* definitions

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Mon, 1 Mar 2010 13:26:33 +0000 (13:26 +0000)]
- Move more stuff to wdm.h
- Group some related definitions
- Add IO_TYPE_CSQ_EX
- Add some missing _KEY_SET_INFORMATION_CLASS members
- KeyUserFlagsInformation -> KeyWow64FlagsInformation

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

10 years ago- Group some related definitions
Amine Khaldi [Mon, 1 Mar 2010 00:59:20 +0000 (00:59 +0000)]
- Group some related definitions
- Fix build

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

10 years agoFix KSPIN_LOCK_QUEUE_NUMBER
Amine Khaldi [Sun, 28 Feb 2010 12:50:39 +0000 (12:50 +0000)]
Fix KSPIN_LOCK_QUEUE_NUMBER

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Sun, 28 Feb 2010 11:43:01 +0000 (11:43 +0000)]
- Move more stuff to wdm.h
- Add missing SE_* defines
- Fix SE_MAX_WELL_KNOWN_PRIVILEGE define

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Sun, 28 Feb 2010 10:42:29 +0000 (10:42 +0000)]
- Move more stuff to wdm.h
- Add several missing FO_* flags

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Sun, 28 Feb 2010 10:19:57 +0000 (10:19 +0000)]
- Move more stuff to wdm.h
- Add several missing _FILE_INFORMATION_CLASS members
- Add a missing _FSINFOCLASS member

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Sun, 28 Feb 2010 09:46:46 +0000 (09:46 +0000)]
- Move more stuff to wdm.h
- Add VPB_DIRECT_WRITES_ALLOWED, several missing FILE_CHARACTERISTIC_* and several missing FILE_DEVICE_*
- Fix _DEVICE_RELATION_TYPE
- Improve _DEVICE_OBJECT and _SCATTER_GATHER_LIST

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

10 years agoMake sure that __int64/long long types in crt don't produce warnings in ISO-C/C+...
Kai Tietz [Sun, 28 Feb 2010 09:37:57 +0000 (09:37 +0000)]
Make sure that __int64/long long types in crt don't produce warnings in ISO-C/C++ mode.

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Sun, 28 Feb 2010 09:19:00 +0000 (09:19 +0000)]
- Move more stuff to wdm.h
- CmResourceTypeMaximum -> CmResourceTypeMemoryLarge
- Add some missing CM_RESOURCE_* defines
- Fix CM_Power_Data_s

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

10 years agoMerge version with mingw-w64 trunk version.
Kai Tietz [Sun, 28 Feb 2010 09:17:39 +0000 (09:17 +0000)]
Merge version with mingw-w64 trunk version.

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

10 years agoAdd __MINGW_EXTENSION to _mingw.h to suppress warnings for unnamed struct/union and...
Kai Tietz [Sun, 28 Feb 2010 09:12:16 +0000 (09:12 +0000)]
Add __MINGW_EXTENSION to _mingw.h to suppress warnings for unnamed struct/union and the use of 'long long' in ISO C/C++.

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

10 years agoFix crt definition of TCHAR, ...
Kai Tietz [Sun, 28 Feb 2010 08:29:07 +0000 (08:29 +0000)]
Fix crt definition of TCHAR, ...

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Sun, 28 Feb 2010 00:00:57 +0000 (00:00 +0000)]
- Move more stuff to wdm.h
- Improve _IRP, (_)KSPIN_LOCK_QUEUE_NUMBER, _KDEVICE_QUEUE, _KTIMER and layout some IRP flags.

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

10 years agoMove more stuff to wdm.h fixing what needed to be fixed.
Amine Khaldi [Sat, 27 Feb 2010 22:25:01 +0000 (22:25 +0000)]
Move more stuff to wdm.h fixing what needed to be fixed.

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

10 years agoMove more stuff to wdm.h
Amine Khaldi [Sat, 27 Feb 2010 18:55:11 +0000 (18:55 +0000)]
Move more stuff to wdm.h

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

10 years agoGuard IN, OUT, and OPTIONAL by guards to prevent double definition warning.
Kai Tietz [Sat, 27 Feb 2010 18:34:13 +0000 (18:34 +0000)]
Guard IN, OUT, and OPTIONAL by guards to prevent double definition warning.

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

10 years agoMove more stuff to wdm.h
Amine Khaldi [Sat, 27 Feb 2010 17:52:27 +0000 (17:52 +0000)]
Move more stuff to wdm.h

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

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Sat, 27 Feb 2010 16:35:54 +0000 (16:35 +0000)]
- Move more stuff to wdm.h
- FILE_OPEN_FOR_RECOVERY should be FILE_OPEN_REMOTE_INSTANCE

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

10 years agoMove more stuff to wdm.h
Amine Khaldi [Sat, 27 Feb 2010 16:16:32 +0000 (16:16 +0000)]
Move more stuff to wdm.h

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

10 years agoMove more stuff to wdm.h
Amine Khaldi [Sat, 27 Feb 2010 15:47:38 +0000 (15:47 +0000)]
Move more stuff to wdm.h

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

10 years agoMove GUID comparison macro to wdm.h
Amine Khaldi [Sat, 27 Feb 2010 15:09:59 +0000 (15:09 +0000)]
Move GUID comparison macro to wdm.h

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

10 years agoMove alignment macros to wdm.h
Amine Khaldi [Sat, 27 Feb 2010 14:59:20 +0000 (14:59 +0000)]
Move alignment macros to wdm.h

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

10 years agoGuard ANONYMOUS defines by __ANONYMOUS_DEFINED guard to prevent double definitions...
Kai Tietz [Sat, 27 Feb 2010 14:43:32 +0000 (14:43 +0000)]
Guard ANONYMOUS defines by __ANONYMOUS_DEFINED guard to prevent double definitions. Additional synchronize amount of DUMMYSTRUCTNAME defines.

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

10 years ago* Disable compiling usermode components for now.
Amine Khaldi [Sat, 27 Feb 2010 14:22:19 +0000 (14:22 +0000)]
* Disable compiling usermode components for now.

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

10 years agoDrop special treating of gcc version < 2.95.
Kai Tietz [Sat, 27 Feb 2010 14:15:11 +0000 (14:15 +0000)]
Drop special treating of gcc version < 2.95.

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

10 years agoMake sure that __int64 is getting prefix by __GCC_EXTENSION to avoid warnings for...
Kai Tietz [Sat, 27 Feb 2010 14:01:48 +0000 (14:01 +0000)]
Make sure that __int64 is getting prefix by __GCC_EXTENSION to avoid warnings for x64 gcc and the use of long long type in ISO-C/C++.

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

10 years agoMake sure that unnamed union/struct are prefix by __GCC_EXTENSION.
Kai Tietz [Sat, 27 Feb 2010 13:53:12 +0000 (13:53 +0000)]
Make sure that unnamed union/struct are prefix by __GCC_EXTENSION.

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

10 years agoExtend unnamed union/struct by __GNU_EXTENSION in wdm.h
Kai Tietz [Sat, 27 Feb 2010 12:04:42 +0000 (12:04 +0000)]
Extend unnamed union/struct by __GNU_EXTENSION in wdm.h

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

10 years agoAdd __GNU_EXTENSION macro for enabling gcc's extension on demand.
Kai Tietz [Sat, 27 Feb 2010 10:31:01 +0000 (10:31 +0000)]
Add __GNU_EXTENSION macro for enabling gcc's extension on demand.

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

10 years agoCreate a branch for header work.
Timo Kreuzer [Fri, 26 Feb 2010 22:57:55 +0000 (22:57 +0000)]
Create a branch for header work.

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

10 years ago[NTDLL]
Aleksey Bragin [Fri, 26 Feb 2010 22:52:55 +0000 (22:52 +0000)]
[NTDLL]
- LdrpProcessImportDirectoryEntry: Don't try to fixup functions if an import address table is empty. Fixes Panzer General 2. Most of the work of discovering, fixing and testing this problem was performed by Olaf Siejka.

svn path=/trunk/; revision=45690

10 years agoMaarten Kroese
Aleksey Bragin [Fri, 26 Feb 2010 19:09:43 +0000 (19:09 +0000)]
Maarten Kroese
- SHELL_MergeMenus: Don't skip higher IDs if uIDAdjustMax is set to 0xFFFF (according to MSDN).

svn path=/trunk/; revision=45688

10 years ago- Merge Wine-1.1.39 changes to shlmenu.c.
Aleksey Bragin [Fri, 26 Feb 2010 18:58:21 +0000 (18:58 +0000)]
- Merge Wine-1.1.39 changes to shlmenu.c.

svn path=/trunk/; revision=45687

10 years agoWe don't need "csq.h" twice in our tree.
Colin Finck [Fri, 26 Feb 2010 15:22:39 +0000 (15:22 +0000)]
We don't need "csq.h" twice in our tree.
This ancient version didn't even receive the GCC 4.1 compatibility update from years ago, so it's safe to remove it.

svn path=/trunk/; revision=45686