Commit graph

42336 commits

Author SHA1 Message Date
Sir Richard
a15d2634ea [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
2010-03-08 20:37:24 +00:00
Johannes Anderwald
95a13b7f8f - Silent traces
svn path=/trunk/; revision=46000
2010-03-08 20:30:51 +00:00
Timo Kreuzer
414f53a790 Add a bunch of Zw apis. (see diff for more details)
svn path=/branches/header-work/; revision=45999
2010-03-08 20:26:45 +00:00
Amine Khaldi
e9165db831 [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
2010-03-08 17:07:52 +00:00
Timo Kreuzer
de77c58d94 [WDM]
reenable the ASSERT in IoSkipCurrentIrpStackLocation

svn path=/branches/header-work/; revision=45997
2010-03-08 05:00:38 +00:00
Timo Kreuzer
31638dffc7 [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
2010-03-08 04:58:49 +00:00
James Tabor
3812c4f83c - [User32] Sync Mdi to wine 1.1.40.
svn path=/trunk/; revision=45995
2010-03-07 21:18:52 +00:00
Hervé Poussineau
19b65ab3fe [freeldr] Add SCSIPORT category to debug messages
Add missing PELOADER entry + fix one debug message

svn path=/trunk/; revision=45994
2010-03-07 20:12:28 +00:00
Amine Khaldi
b9ef6c177a [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
2010-03-07 15:37:53 +00:00
Daniel Reimer
fa403d4bf1 Update reg and msiexec to Wine 1.1.40.
svn path=/trunk/; revision=45992
2010-03-07 14:59:15 +00:00
Sylvain Petreolle
223c0fbbfc [HHCTRL.OCX]
fix build

svn path=/trunk/; revision=45991
2010-03-07 13:26:27 +00:00
Christoph von Wittich
96363863d3 [HHCTRL.OCX]
sync hhctrl.ocx to wine 1.1.40

svn path=/trunk/; revision=45990
2010-03-07 12:48:05 +00:00
Daniel Reimer
fcaa30c541 Polish translation update by Maciej Bialas.
svn path=/trunk/; revision=45988
2010-03-07 11:51:02 +00:00
Christoph von Wittich
aeda2ffa10 [IMM32]
sync imm32 to wine 1.1.40

svn path=/trunk/; revision=45987
2010-03-07 11:27:14 +00:00
Christoph von Wittich
aa25097d0d [ITIRCL]
sync itircl to wine 1.1.40

svn path=/trunk/; revision=45986
2010-03-07 11:21:31 +00:00
Christoph von Wittich
0245cc9535 [ICCVID]
sync iccvid to wine 1.1.40

svn path=/trunk/; revision=45985
2010-03-07 11:20:29 +00:00
Christoph von Wittich
799cad4cd0 [CLUSAPI]
sync clusapi to wine 1.1.40

svn path=/trunk/; revision=45984
2010-03-07 11:15:16 +00:00
Christoph von Wittich
5aded0fba9 [PSDK]
sync xmldom.idl to wine 1.1.40

svn path=/trunk/; revision=45983
2010-03-07 11:10:18 +00:00
Christoph von Wittich
c666e0e3e7 [MSCTF]
sync msctf to wine 1.1.40

svn path=/trunk/; revision=45982
2010-03-07 09:48:42 +00:00
Christoph von Wittich
ec5cdce304 [PSAPI_WINETEST]
sync psapi_winetest to wine 1.1.40

svn path=/trunk/; revision=45980
2010-03-07 09:34:40 +00:00
Christoph von Wittich
6534ce1c51 [ITSS]
sync itss to wine 1.1.40

svn path=/trunk/; revision=45979
2010-03-07 09:32:58 +00:00
Christoph von Wittich
314b9e10be [OBJSEL]
sync objsel to wine 1.1.40

svn path=/trunk/; revision=45978
2010-03-07 09:29:02 +00:00
Christoph von Wittich
fbff905ed2 [SHELL32_WINETEST]
sync shell32_winetest to wine 1.1.40

svn path=/trunk/; revision=45977
2010-03-07 07:34:02 +00:00
Christoph von Wittich
2b61353ce2 [USER32_WINETEST]
sync user32_winetest to wine 1.1.40

svn path=/trunk/; revision=45976
2010-03-07 07:32:14 +00:00
Christoph von Wittich
08898832d7 [GDI32_WINETEST]
sync gdi32_winetest to wine 1.1.40

svn path=/trunk/; revision=45975
2010-03-07 07:29:40 +00:00
Christoph von Wittich
8bae50b033 [ADVAPI32_WINETEST]
sync advapi32_winetest to wine 1.1.40

svn path=/trunk/; revision=45974
2010-03-07 07:27:57 +00:00
Timo Kreuzer
334def37f4 - 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
2010-03-07 03:53:47 +00:00
Timo Kreuzer
b832dcf394 revert the change to ProbeForRead
svn path=/branches/header-work/; revision=45972
2010-03-07 03:44:18 +00:00
Timo Kreuzer
92474b296d [NTOS]
- use NTDDI_VERSION 0x05020400 (2k3, SP4)
- fix ProbeForRead parameters
- remove a hack

svn path=/branches/header-work/; revision=45971
2010-03-07 02:55:13 +00:00
Timo Kreuzer
500d425261 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
2010-03-07 01:05:54 +00:00
Sylvain Petreolle
8cc8a06a88 Stubplement WTSQueryUserToken.
Patch by Olaf Siejka.


svn path=/trunk/; revision=45969
2010-03-06 23:14:36 +00:00
Timo Kreuzer
c924e7681c Add some Win7 version defines
svn path=/branches/header-work/; revision=45968
2010-03-06 22:50:52 +00:00
Sylvain Petreolle
8eca3e0dcd Make the shutdown with ACPI enabled actually work.
Patch by Samuel Serapion.

svn path=/trunk/; revision=45967
2010-03-06 22:22:28 +00:00
Matthias Kupfer
77013ae0dd - fix palette index for the progress bar
svn path=/trunk/; revision=45966
2010-03-06 22:14:46 +00:00
Timo Kreuzer
9ed3649c24 [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
2010-03-06 21:52:34 +00:00
Amine Khaldi
faa0a7047f [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
2010-03-06 19:56:40 +00:00
Amine Khaldi
e69c87c63e [NTIFS]
Actually add the definitions mentioned in the previous commit

svn path=/branches/header-work/; revision=45963
2010-03-06 19:31:27 +00:00
Amine Khaldi
4535940119 [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
2010-03-06 19:26:30 +00:00
Timo Kreuzer
26d4a0c37d - 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
2010-03-06 18:55:27 +00:00
Cameron Gutman
f6b997c0d2 - Add a stub for GetOwnerModuleFromTcpEntry
- Patch by Olaf Siejka

svn path=/trunk/; revision=45960
2010-03-06 18:30:55 +00:00
Cameron Gutman
53a7ff99b9 - Call acpi_bus_set_power instead of acpi_power_transition
- Make sure the device has power management capabilities before calling acpi_bus_set_power
 - Report the new power state with PoSetPowerState
 - Initialize PDOs with the correct device power state (Patch by Samuel Serapion)
 - Initialze PDOs with the correct system power state

svn path=/trunk/; revision=45959
2010-03-06 18:15:56 +00:00
Christoph von Wittich
daa14c5f08 add dsound_winetest to bootcd
svn path=/trunk/; revision=45958
2010-03-06 16:27:51 +00:00
Christoph von Wittich
055cd4a61f [GDIPLUS_WINETEST]
sync gdiplus_winetest to wine 1.1.40

svn path=/trunk/; revision=45957
2010-03-06 16:24:37 +00:00
Christoph von Wittich
9f04416452 sync RtlCreateActivationContext with wine 1.1.40
svn path=/trunk/; revision=45956
2010-03-06 16:19:07 +00:00
Daniel Reimer
93d7c1ee9f Add extrac32 from Wine 1.1.40
svn path=/trunk/; revision=45955
2010-03-06 16:18:09 +00:00
Daniel Reimer
a4aa7d5b7e Sync xcopy, winhlp32, wordpad, write and d3dx9_36 to Wine 1.1.40
svn path=/trunk/; revision=45954
2010-03-06 16:04:27 +00:00
Daniel Reimer
e739983b34 Sync Winfile to Wine 1.1.40
svn path=/trunk/; revision=45953
2010-03-06 16:00:22 +00:00
Christoph von Wittich
2097d927f1 [CRT]
sync fseek with wine 1.1.40 (all msvcrt file tests pass now)

svn path=/trunk/; revision=45952
2010-03-06 15:51:12 +00:00
Kamil Hornicek
3ddf1ab66f - revert the last wined3d.idl changes
svn path=/trunk/; revision=45951
2010-03-06 15:28:23 +00:00
Kamil Hornicek
b77357dff8 - fix build
svn path=/trunk/; revision=45950
2010-03-06 15:10:46 +00:00