Commit graph

41433 commits

Author SHA1 Message Date
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
James Tabor
6e96e3015c - Fix a crash in user32 winetest msg.
svn path=/trunk/; revision=46009
2010-03-08 21:04:00 +00:00
Timo Kreuzer
dfe13ea582 Add some types and contants to ntpoapi.h
svn path=/branches/header-work/; revision=46008
2010-03-08 21:00:56 +00:00
James Tabor
f8fced000d [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
2010-03-08 20:57:24 +00:00
James Tabor
63f9072074 - [User32_winetest]
- Win : Remove test_capture from service. This is related to TrackMouseEvent issues which use SetCapture.

svn path=/trunk/; revision=46006
2010-03-08 20:52:04 +00:00
Aleksey Bragin
f5a35ee9b2 [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
2010-03-08 20:51:33 +00:00
Sir Richard
8a4845b409 [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
2010-03-08 20:47:10 +00:00
Sir Richard
c14fc3dc56 [CMLIB]: Just use UNIMPLEMENTED.
svn path=/trunk/; revision=46003
2010-03-08 20:46:53 +00:00
Eric Kohl
02f2e242ff 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
2010-03-08 20:42:48 +00:00
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