Commit graph

41368 commits

Author SHA1 Message Date
Amine Khaldi
87551abebf [NTIFS]
- Group some related definitions

svn path=/branches/header-work/; revision=46194
2010-03-13 23:23:24 +00:00
Amine Khaldi
e6e5ef672b [NTIFS]
- Group related definitions
Add IOCTL_REDIR_QUERY_PATH_EX, QUERY_PATH_REQUEST_EX, VOLSNAPCONTROLTYPE, IOCTL_VOLSNAP_FLUSH_AND_HOLD_WRITES, and some missing Zw*
- ZwFlushVirtualMemory : PULONG FlushSize -> PSIZE_T RegionSize

svn path=/branches/header-work/; revision=46191
2010-03-13 23:01:42 +00:00
Amine Khaldi
4a64c8b9f0 [NTIFS]
- Group related definitions
- Add some missing Cc*, PIN_* and MAP_* definitions
- Update CcCopyWriteWontFlush and CcMapData

svn path=/branches/header-work/; revision=46189
2010-03-13 22:20:18 +00:00
Amine Khaldi
df603c19d8 [DDK]
- Fix wmilib.h

svn path=/branches/header-work/; revision=46186
2010-03-13 20:47:12 +00:00
Amine Khaldi
d8a6ad0f81 [DDK]
- Add acpiioct.h and wmilib.h
- Dedicated to sir_richard ;)

svn path=/branches/header-work/; revision=46183
2010-03-13 20:24:46 +00:00
Amine Khaldi
34c6db5955 [WDM]
Add missing IO_PRIORITY_HINT enum

svn path=/branches/header-work/; revision=46179
2010-03-13 18:30:43 +00:00
Amine Khaldi
b1745e1a08 [NTIFS]
- Group related definitions
- Remove redundant PoRegisterPowerSettingCallback and PoUnregisterPowerSettingCallback (they exist in wdm.h)

svn path=/branches/header-work/; revision=46178
2010-03-13 18:12:08 +00:00
Amine Khaldi
d1c9ef597a [NTIFS]
- Group related definitions
- Add several missing FsRtl* and FSRTL_* definitions
- Add some missing NETWORK_OPEN_*, PREFETCH_OPEN_ECP_CONTEXT, sockaddr_storage, NFS_OPEN_ECP_CONTEXT and  SRV_OPEN_ECP_CONTEXT

svn path=/branches/header-work/; revision=46175
2010-03-13 17:29:43 +00:00
Amine Khaldi
a2c12aa203 [NTIFS]
- Group related definitions
- Add several missing FsRtl* and FSRTL_* definitions

svn path=/branches/header-work/; revision=46169
2010-03-13 15:44:53 +00:00
Amine Khaldi
5afc04be5a [NTIFS]
- Group related definitions
- Add several missing FsRtl*
- Convert FsRtlSetupAdvancedHeader macro to an inline function
- Add ECP_HEADER and ECP_LIST structures

svn path=/branches/header-work/; revision=46168
2010-03-13 15:22:32 +00:00
Amine Khaldi
b51716d233 [NTIFS]
- Group related definitions
- Add OPLOCK_KEY_ECP_CONTEXT, OPLOCK_KEY_ECP_CONTEXT and several missing FsRtl*
- Add missing FSRTL_* definitions
- Add FSRTL_PER_FILE_CONTEXT and FSRTL_MUP_PROVIDER_INFO_LEVEL_* structures

svn path=/branches/header-work/; revision=46164
2010-03-13 13:54:24 +00:00
Amine Khaldi
d61c8a9d77 [PSDK]
Really fix usbioctl.h

svn path=/branches/header-work/; revision=46163
2010-03-13 13:19:18 +00:00
Amine Khaldi
a921cae33f [PSDK]
Fix usbioctl.h

svn path=/branches/header-work/; revision=46162
2010-03-13 13:15:47 +00:00
Amine Khaldi
cc8ed6fc52 [NTIFS]
- Group related definitions
- Add several missing FsRtl* and OPLOCK_*
- Add LEGAL_ANSI_CHARACTER_ARRAY and NLS_MB_CODE_PAGE_TAG
- FsRtlRemoveBaseMcbEntry : VOID -> BOOLEAN

svn path=/branches/header-work/; revision=46161
2010-03-13 13:02:34 +00:00
Amine Khaldi
c50973ffa4 [PSDK]
Move NTSTATUS codes from DDK to PSDK, removing all the duplicated ones (and adding a couple of missing ones).

Dedicated to arty

svn path=/branches/header-work/; revision=46158
2010-03-13 01:18:58 +00:00
Timo Kreuzer
479c28b333 [HEADERS]
Say hello to the "XDK" (preliminary name). A set of headers from wich certain other headers (wdm, ntifs, ntddk, winnt) shall one day be autogenerated. I added a .bat file that autogenerates wdn.h from wdm.template.h and the headers. Others will follow.

svn path=/branches/header-work/; revision=46157
2010-03-13 00:34:48 +00:00
Timo Kreuzer
de906c441a Merge trunk HEAD (46152)
svn path=/branches/header-work/; revision=46153
2010-03-12 21:42:11 +00:00
Timo Kreuzer
83d81567a2 Revert 45697:
"* Disable compiling usermode components for now."

svn path=/branches/header-work/; revision=46151
2010-03-12 21:28:06 +00:00
Amine Khaldi
350dfd1b9d Sync with trunk head
svn path=/branches/header-work/; revision=46148
2010-03-12 20:08:06 +00:00
Amine Khaldi
6335684dde Forgot to add this in the previous commit
svn path=/branches/header-work/; revision=46147
2010-03-12 18:59:49 +00:00
Amine Khaldi
d9dd5c1f32 Fix (USERMODE=0) build :
[WMILIB]
- Add WmiSystemControl
[NDK]
- KeGetPcr : Correct KPCR member name

svn path=/branches/header-work/; revision=46146
2010-03-12 18:45:59 +00:00
Amine Khaldi
b5e6da689b [PSDK]
- Move ntddkbd.h to PSDK
- Add several missing KEYBOARD_* definitions

svn path=/branches/header-work/; revision=46145
2010-03-12 18:32:40 +00:00
Amine Khaldi
97378505bd [BATTC]
- Correct BatteryClassSystemControl params
- Include wmlib.h
[WMLIB]
- Add WMIENABLEDISABLECONTROL and SYSCTL_IRP_DISPOSITION

svn path=/branches/header-work/; revision=46144
2010-03-12 18:25:50 +00:00
Timo Kreuzer
38b3788cbc [WDM]
- fix definition of KeTickCount
- Add KeQueryTickCount (note: MS version is very hacky. Someone tell them how to use DECLSPEC_IMPORT)

svn path=/branches/header-work/; revision=46143
2010-03-12 17:48:50 +00:00
Amine Khaldi
fc648d6443 [NTIFS]
- Remove some redundant definitions (that exist in wdm.h)

svn path=/branches/header-work/; revision=46142
2010-03-12 17:17:51 +00:00
Timo Kreuzer
657d7f12da [NTOS] Fix WmiTraceMessageVa export, the first parameter (TRACEHANDLE) is 64 bits wide.
svn path=/branches/header-work/; revision=46141
2010-03-12 17:17:27 +00:00
Timo Kreuzer
2bd64c4f15 Add a missing NTAPI
svn path=/branches/header-work/; revision=46140
2010-03-12 17:01:13 +00:00
Amine Khaldi
401b11a24d [NTIFS]
- Remove redundant IoSizeOfIrp, PoSetDeviceBusy and PPOWER_SETTING_CALLBACK definitions (They exist in wdm.h)

svn path=/branches/header-work/; revision=46139
2010-03-12 16:55:09 +00:00
Amine Khaldi
d418c3b59e [WDM]
- Remove NTKERNELAPI from IoSetStartIoAttributes
[NTIFS]
- Group some related definitions

svn path=/branches/header-work/; revision=46138
2010-03-12 16:43:17 +00:00
Timo Kreuzer
16e291bd53 [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
2010-03-12 16:37:33 +00:00
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
James Tabor
d647d02aa4 - Update more menu types and flags.
svn path=/trunk/; revision=46134
2010-03-12 16:11:28 +00:00
Sylvain Petreolle
fcf8a0b515 [KSPROXY]
Comment out a reference to non existent "resource." file
in the visual studio generated resource file.
This issue was likely ignored by the buildbot.


svn path=/trunk/; revision=46133
2010-03-12 15:33:10 +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
Cameron Gutman
bcf41654ca - Fix acpi_bus_receive_event and acpi_bus_generate_event which will be used for button events later
- Uncomment and fix the locking code that protects the event queue and driver list

svn path=/trunk/; revision=46127
2010-03-12 04:42:23 +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
Kamil Hornicek
c23fd826c4 [WIN32K]
Prevent a possible memory leak.
Use SURFACE_FreeSurfaceByHandle so we don't hit the "Object must not have a handle!" assert in GDIOBJ_FreeObj.

svn path=/trunk/; revision=46123
2010-03-11 23:11:00 +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
Cameron Gutman
1f5e020800 - Use the possible resources not the current resources for IRP_MN_QUERY_RESOURCE_REQUIREMENTS
- Initialize MaximumVector for IRQs, MaximumChannel for DMA, and Alignment for Port

svn path=/trunk/; revision=46121
2010-03-11 22:36:22 +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
Cameron Gutman
75c500f4b0 - Fix the resource parsing loops to correct a memory corruption issue
- Return the correct failure status if ExAllocatePool fails

svn path=/trunk/; revision=46119
2010-03-11 22:15:21 +00:00
Johannes Anderwald
661dc42775 [KSPROXY]
- Fix trunk

svn path=/trunk/; revision=46118
2010-03-11 21:52:15 +00:00
Sir Richard
6cc3c9cd47 [WIN32K]: Enable the alignment code and reduce the number of hacks, leaving only one for 1bpp top-down output (Freetype?) which doesn't seem to like when the lDelta is aligned to the correct bit-boundary. This should fix the crashes and graphic cltches recently introduced.
svn path=/trunk/; revision=46117
2010-03-11 21:41:19 +00:00