Commit graph

41454 commits

Author SHA1 Message Date
Aleksey Bragin 260b4a396b [COMDLG32]
- Sync to Wine-1.1.40.

svn path=/trunk/; revision=46102
2010-03-11 17:37:30 +00:00
Aleksey Bragin ec3193bd42 [PSDK]
- Add GdiConvertToDevmodeW declaration (needed for comdlg32). Arwinss PSDK changes should really be merged in.

svn path=/trunk/; revision=46101
2010-03-11 17:32:43 +00:00
Amine Khaldi 64b41a347e [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
2010-03-11 17:27:44 +00:00
Sylvain Petreolle f4e17f00cb [WLANSVC]
Correctly start and report status to the service manager.


svn path=/trunk/; revision=46099
2010-03-11 16:36:11 +00:00
Kamil Hornicek 8e7d72058b [SHELL32]
- partial Wine sync, fixes crashing shlfileop winetest:
Use the current directory when copying to an empty destination. 
Fix a memory leak in SHFileOperationW.
Vincent Povirk <vincent at codeweavers dot com>

svn path=/trunk/; revision=46098
2010-03-11 14:57:05 +00:00
Timo Kreuzer 1524d1f1f6 [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
2010-03-11 14:49:41 +00:00
Kamil Hornicek e277aa50f4 fix build?
svn path=/trunk/; revision=46096
2010-03-11 11:47:13 +00:00
Kamil Hornicek fdf2da655e [KERNEL32] GetConsoleProcessList is implemented, this prevents the console winetest from crashing
svn path=/trunk/; revision=46095
2010-03-11 11:34:29 +00:00
Timo Kreuzer 7494f42e77 [KTMTYPES]
Fix the UOW hack, use special case for C++
Thanks to Dmitry Gorbachev for the solution.

svn path=/branches/header-work/; revision=46094
2010-03-11 11:32:54 +00:00
Aleksey Bragin 3b52f6a934 [OLEAUT32]
- Sync to Wine-1.1.40.

svn path=/trunk/; revision=46093
2010-03-11 10:28:34 +00:00
James Tabor 0b49f57301 - Fix test build!
svn path=/trunk/; revision=46092
2010-03-11 03:29:01 +00:00
James Tabor e04c0cda3e - Fix build!
svn path=/trunk/; revision=46091
2010-03-11 03:28:32 +00:00
James Tabor a6789f1431 - Add new menu structures.
svn path=/trunk/; revision=46090
2010-03-11 02:43:51 +00:00
Timo Kreuzer 1f40221394 [KMTYPES]
Add a compilation hack for gcc

svn path=/branches/header-work/; revision=46089
2010-03-11 00:47:36 +00:00
Amine Khaldi c057c45008 [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
2010-03-11 00:35:13 +00:00
Amine Khaldi adfb80dce0 [NTDDK]
- Move several ntddk.h related definition from winddk.h
- Group related definitions

svn path=/branches/header-work/; revision=46086
2010-03-10 23:49:42 +00:00
Amine Khaldi 6d8d8bb4ab [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
2010-03-10 23:45:06 +00:00
Amine Khaldi 4da3dca56f [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
2010-03-10 23:09:27 +00:00
Cameron Gutman 1733eb0a2f - We forget that AE_BUFFER_OVERFLOW is normal and expected since our buffer length is 0 so don't fail if that status is returned
- For any device that actually had resources we would return STATUS_SUCCESS without building a resource list and if the device didn't have resources we would end up freeing a NULL pointer, storing stack trash in Irp->IoStatus.Information, and then returning STATUS_SUCCESS
 - Fixes reporting device resources (and possibly the VBox additions crash with ACPI enabled)

svn path=/trunk/; revision=46080
2010-03-10 22:25:40 +00:00
Timo Kreuzer 5158e51619 [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
2010-03-10 22:23:12 +00:00
Timo Kreuzer d76f9f9a36 Add extern "C"
svn path=/branches/header-work/; revision=46078
2010-03-10 22:05:56 +00:00
Christoph von Wittich 418f2cc0e1 [OLE32_WINETEST]
sync OLE32_WINETEST with wine 1.1.40

svn path=/trunk/; revision=46077
2010-03-10 21:52:40 +00:00
Christoph von Wittich f0a96d12a1 [PSDK]
add extern GUID_NULL

svn path=/trunk/; revision=46076
2010-03-10 21:52:00 +00:00
Sylvain Petreolle cd65ed5bdb [ACPI]
Fix implicit declaration warnings

svn path=/trunk/; revision=46075
2010-03-10 21:49:42 +00:00
Timo Kreuzer 25bb3c834b Add kmtypes.h
svn path=/branches/header-work/; revision=46074
2010-03-10 21:44:50 +00:00
Cameron Gutman ae6e63592d - Quit building a useless IO_RESOURCE_REQUIREMENTS_LIST (and leaking memory) in response to IRP_MN_QUERY_RESOURCES
- Actually store the IO_RESOURCE_REQUIREMENTS_LIST in Irp->IoStatus.Information in response to IRP_MN_QUERY_RESOURCE_REQUIREMENTS so the PnP manager can use it (and fixes another memory leak)

svn path=/trunk/; revision=46073
2010-03-10 21:11:23 +00:00
Daniel Reimer da63b1ca50 Sync sccbase, slbcsp, usp10, wldap32, wuapi and xinput1_3 to Wine 1.1.40
Theres more, like: comctl32, comdlg32, oleaut32, riched20, sti, version, winemp3.acm, wininet and winhttp which is above my skills or looks strange, like its not really synched (winemp3.acm!!) Feel free to play with them.

svn path=/trunk/; revision=46072
2010-03-10 20:44:19 +00:00
Timo Kreuzer 5116769c9b [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
2010-03-10 20:41:13 +00:00
Sir Richard c7dbb1670a [NTOS]: List still-running processes at kernel shutdown. Useful for debugging shutdown code later.
svn path=/trunk/; revision=46069
2010-03-10 18:29:10 +00:00
Sir Richard c240396ad5 [SCM]: Fix SCM shutdown. Now all services are stopped (in my working copy with the CSRSS shutdown code).
svn path=/trunk/; revision=46068
2010-03-10 18:28:45 +00:00
Sir Richard 30cee65672 [DDK]: Add MEMORY_BARRIER missing from ioaccess.h.
svn path=/trunk/; revision=46067
2010-03-10 18:28:03 +00:00
Amine Khaldi ba51f319e5 [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
2010-03-10 17:42:51 +00:00
Daniel Reimer 1511347fdc Sync mscms, msg711.acm, msgm32.acm, msimtf. msnet32, msrle32, mssip32, msvcrt20, msvfw32, msvidc32 and nddeapi to Wine 1.1.40
Even more will come.

svn path=/trunk/; revision=46063
2010-03-10 17:03:25 +00:00
Daniel Reimer 94e01c6025 Sync avifil32, hnetcfg, initpki, localspl, localui, mciavi32, mciqtz32, mciseq and mlang to Wine 1.1.40
More will come.

svn path=/trunk/; revision=46062
2010-03-10 16:21:22 +00:00
Sylvain Petreolle 5e3123f80a [WLANSVC]
- Add required libary iphlpapi

svn path=/trunk/; revision=46061
2010-03-10 16:18:32 +00:00
Amine Khaldi 48343bce8c [NTIFS]
Remove RTL_SPLAY_LINKS definition

svn path=/branches/header-work/; revision=46060
2010-03-10 16:10:32 +00:00
Daniel Reimer 9334360266 Updated README.WINE.
Additionally I added a * to all Autosyncs which lie a bit back already. Will look through them and check which are still recent.

svn path=/trunk/; revision=46058
2010-03-10 15:00:25 +00:00
Aleksey Bragin f4fa6270ae [OLE32]
- Sync to Wine-1.1.40. Along with improvements, it provides many memory corruption fixes.

svn path=/trunk/; revision=46056
2010-03-10 14:28:56 +00:00
James Tabor 5d434b2f15 - [User32] Send WM_CANCELMODE in EnableWindow.
svn path=/trunk/; revision=46054
2010-03-10 10:19:49 +00:00
Sir Richard f94bebf2d0 [KERNEL32]: Remove debug output.
svn path=/trunk/; revision=46053
2010-03-10 06:50:15 +00:00
Sir Richard 34fa6fb97b [CSRSRV]: Move the new process/thread management functions into new, dedicated files. Export some of the functions, so that win32csr can use them by linking to csrsrv. Last change needed for barebones user-mode shutdown support.
svn path=/trunk/; revision=46052
2010-03-10 06:49:53 +00:00
Sir Richard 1cd9cb22ef [CSRSS]: Split off CSRSS into a more Windows-friendly model. CSRSS.EXE is simply a stub which loads CSRSRV.DLL, where all the actual code is present.
[CSRSRV]: Mostly moved all the current CSRSS code into CSRSRV, with some very minor changes to get it workking.
[CSRSRV]: Add some more code from Alex's CSRSRV, such as thread dereferencing/deallocation, hacked to work.
[CSRSRV]: Make CsrTerminateProcess destroy each CSR thread in that process, otherwise we were always leaking a handle, so processes never died. Because of this, primary tokens would remain "in use", and when umpnpmgr attempted to do a "Create Process as User" for the second+ time, the call would fail since the token from the first process was still around. This fixed that regression from the mailing list.

svn path=/trunk/; revision=46051
2010-03-10 04:59:39 +00:00
Timo Kreuzer e0c972bf4e [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
2010-03-10 04:16:52 +00:00
Sir Richard fc4574d166 [NTOS]: No good deed goes unpunished. Continuing the novel/saga from a couple of days ago, it seems that now that impersonation works, various code paths are being tickled into existence. For example, it would seem parts of the system now attempt setting primary tokens. This would cause an assertion, since PspAssignPrimaryToken incorrectly dereferenced the token (leading to a double-dereference) due to an off-by-! mistake.
svn path=/trunk/; revision=46049
2010-03-10 04:12:25 +00:00
Sir Richard 90fa1d0343 [CSRSS]: Differentiate between first-try and second-try shutdown. In the first try, the console server should defer to the user/win32k server to attempt shutdown for a non-console app. However, if we end up with a second try because this did not happen, then the console server takes matters in its own hands and calls the CTRL-C handler (with some exceptions, such as system/service apps, or apps not belonging to the LUID).
svn path=/trunk/; revision=46048
2010-03-10 03:35:18 +00:00
Sir Richard cbe3e09f61 [KERNEL32]: As indicated by the comment, kernel32 should always connect to the console server, even for non-console apps (the latter will just basically ignore the request). This is needed to (at minimum) setup the Ctrl-C handler, as otherwise, only "true console" apps will have a handler, even though internally, all apps have such a handler. This is what CSRSS needs to call internally for shutting down non-GUI apps, for example. (The default CTRL-C handler will just call ExitProcess).
svn path=/trunk/; revision=46047
2010-03-10 03:32:17 +00:00
Timo Kreuzer e6baa6f072 merge r46045
svn path=/trunk/; revision=46046
2010-03-10 00:56:07 +00:00
Timo Kreuzer ce0d1d6fe7 [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
2010-03-10 00:31:06 +00:00
Hervé Poussineau 4c956b83a7 Link SCSI miniport drivers only to scsiport
svn path=/trunk/; revision=46044
2010-03-09 22:36:52 +00:00
James Tabor 2d2f8b9404 - [User32] sync spy to wine 1.1.40
svn path=/trunk/; revision=46043
2010-03-09 21:14:52 +00:00