Commit Graph

3922 Commits

Author SHA1 Message Date
Stefan Ginsberg
420195308d - Uncomment NTDLL exports which we implement, and add stubs for numerous routines
- Add missing prototypes to NDK
- Implement RtlInterlockedCompareExchange64 and RtlGetCurrentProcessorNumber
- Rename RtlpCurrentPeb to RtlGetCurrentPeb and export it from NTDLL

svn path=/trunk/; revision=36166
2008-09-12 15:09:17 +00:00
Christoph von Wittich
f2a351c02f update libxml2 to 2.7.1
svn path=/trunk/; revision=36154
2008-09-12 08:09:23 +00:00
Christoph von Wittich
6534076957 fix redefinitions
add MemoryBarrier for MSVC

svn path=/trunk/; revision=36153
2008-09-12 08:07:52 +00:00
Stefan Ginsberg
8f3d28e83a - Add missing winnt.h definitions
svn path=/trunk/; revision=36127
2008-09-10 15:30:27 +00:00
Stefan Ginsberg
b08929de56 - Patch by hackbunny:
"64-bit __sync_val_compare_and_swap is, apparently, not inlined on x86. Go figure."
"Add "lock" prefix to cmpxchg8b, just in case"

svn path=/trunk/; revision=36126
2008-09-10 15:02:57 +00:00
Aleksey Bragin
d650c233dc - Balance of an Memory Manager's AVL tree node can be negative, so make it a signed variable.
svn path=/trunk/; revision=36120
2008-09-10 11:25:28 +00:00
Christoph von Wittich
bac7f47714 sync fusion.idl with wine 1.1.4
svn path=/trunk/; revision=36113
2008-09-10 08:45:43 +00:00
Steven Edwards
0b5ac4c983 move to lower case, for Christoph
svn path=/trunk/; revision=36110
2008-09-10 08:08:19 +00:00
Christoph von Wittich
929b9dfa89 sync dxsdk idl files with wine
svn path=/trunk/; revision=36106
2008-09-10 07:41:27 +00:00
Christoph von Wittich
a7467a03c8 sync some idl files and mshtml headers with wine
svn path=/trunk/; revision=36105
2008-09-10 07:40:52 +00:00
Christoph von Wittich
775ec21204 add WINE_ALLOC_SIZE macro
svn path=/trunk/; revision=36103
2008-09-10 06:52:51 +00:00
Christoph von Wittich
7c991b2ae4 add new stdole2 target for the real typelib (the other stdole2.tlb is a dll)
svn path=/trunk/; revision=36089
2008-09-09 16:15:39 +00:00
Christoph von Wittich
67f066c79b fix some syntax errors in idl files, deleted unused wtypes.idl
svn path=/trunk/; revision=36086
2008-09-09 16:11:24 +00:00
Stefan Ginsberg
422526a89e - Add missing FLS_MAXIMUM_AVAILABLE
svn path=/trunk/; revision=36085
2008-09-09 15:57:17 +00:00
Johannes Anderwald
0fa19c57c1 - Add INetCfgPnpReconfigCallback, INetCfgComponentControl, INetCfgComponentPropertyUi IIDS
svn path=/trunk/; revision=36082
2008-09-09 13:27:28 +00:00
Christoph von Wittich
9f5ab44256 sync msxml3 to wine 1.1.3
svn path=/trunk/; revision=36064
2008-09-08 16:51:03 +00:00
Aleksey Bragin
81fd8772b6 - Fix a typo.
svn path=/trunk/; revision=36060
2008-09-08 16:01:19 +00:00
Johannes Anderwald
3ea5a35de7 - Add INetLanConnectionUiInfo, INetConnectionPropertyUi2 interface
svn path=/trunk/; revision=36056
2008-09-08 14:13:23 +00:00
Christoph von Wittich
daf7cafb2a sync pstore.idl to wine
svn path=/trunk/; revision=36048
2008-09-08 12:09:09 +00:00
Johannes Anderwald
3237a38834 - Add interfaces for netcfgx
svn path=/trunk/; revision=36039
2008-09-07 17:57:11 +00:00
Pierre Schweitzer
94d6699c3b Commit 1/2
- Synced shlwapi.dll with Wine HEAD
- Imported mstask.dll from Wine HEAD
- Added mstask.dll, mstask_winetest.dll, winhttp_winetest.dll to bootcd
- Update README.WINE

svn path=/trunk/; revision=36029
2008-09-07 13:49:02 +00:00
Christoph von Wittich
b32be77904 sync mscoree headers with wine
svn path=/trunk/; revision=36024
2008-09-07 11:10:58 +00:00
Dmitry Chapyshev
821316817e - Sync gdiplus with wine head
svn path=/trunk/; revision=36023
2008-09-07 10:32:49 +00:00
Pierre Schweitzer
1e39d2bd19 Forgot this file in last commit.
This fixes build.

svn path=/trunk/; revision=36017
2008-09-07 08:26:18 +00:00
Johannes Anderwald
9d994e117c - Fix INetCfgComponent::SetDisplayName definition
- Add Netcfgx error constants

svn path=/trunk/; revision=35982
2008-09-06 13:15:26 +00:00
Stefan Ginsberg
923270b5f3 - Patch from hackbunny: Add _SEH_SetExceptionCode
svn path=/trunk/; revision=35884
2008-09-02 14:41:57 +00:00
Aleksey Bragin
056316f3ac - Fix SHARED_CACHE_MAP structure: it should contain a PRIVATE_CACHE_MAP, not a pointer to it! (confirmed by OSR).
- The same error in VacbPushLock field (also confirmed by OSR).

svn path=/trunk/; revision=35861
2008-09-01 19:32:18 +00:00
Johannes Anderwald
17fc0b6a1d - Add INetCfgLock interface
- Add NCRP flags

svn path=/trunk/; revision=35838
2008-08-31 18:01:36 +00:00
Stefan Ginsberg
faedfbacd7 - Fix build...
svn path=/trunk/; revision=35822
2008-08-30 23:06:13 +00:00
Stefan Ginsberg
4b96ec60dd - Add SecureZeroMemory/RtlSecureZeroMemory
- Add x86 versions of PreFetchCacheLine and MemoryBarrier (TODO for other architectures)

svn path=/trunk/; revision=35821
2008-08-30 22:54:27 +00:00
Stefan Ginsberg
e0e7f47d03 - CACHE_DESCRIPTOR and PROCESSOR_CACHE_TYPE are public and defined in winnt.h, so no need to define them in the NDK (the NDK includes winnt.h through windef.h, so this breaks build)
svn path=/trunk/; revision=35819
2008-08-30 21:34:56 +00:00
Stefan Ginsberg
d53b0eb9e6 - Add APIs new to Windows 2003/SP1 (including XP SP1)
- Add missing NtGetCurrentProcessorNumber to ntdll
- Update headers with missing structures

svn path=/trunk/; revision=35817
2008-08-30 20:29:57 +00:00
Pierre Schweitzer
d44a0a0009 Primary implementation of sfc.dll. To have it "fully" working, sfc_os.dll is will be needed.
It does nothing more. Don't shout, Fireball agreed for commit ;).

svn path=/trunk/; revision=35813
2008-08-30 18:53:27 +00:00
Stefan Ginsberg
5ae7cefa81 - Get rid of ASSERT_IRQL, deprecated since long ago
- Remove various dead stuff from headers, and move ASSERT_IRQL_LESS_OR_EQUAL, ASSERT_IRQL_EQUAL and ASSERT_IRQL_LESS to global debug.h

svn path=/trunk/; revision=35803
2008-08-30 15:14:12 +00:00
Stefan Ginsberg
1423b9dab9 - Add missing KdD0Transition and KdD3Transition prototypes
svn path=/trunk/; revision=35800
2008-08-30 10:50:52 +00:00
Aleksey Bragin
82290bf5a9 - NDK fixes.
svn path=/trunk/; revision=35794
2008-08-30 08:33:22 +00:00
Johannes Anderwald
81b8000415 - Import Netcfgx.h
svn path=/trunk/; revision=35792
2008-08-30 08:16:39 +00:00
Aleksey Bragin
fc5403e611 - Fix broken MMPTE_LIST structure definition.
svn path=/trunk/; revision=35791
2008-08-30 07:57:06 +00:00
Hervé Poussineau
c4ec9d697b GCC doesn't need CDECL on variables
svn path=/trunk/; revision=35790
2008-08-30 07:11:57 +00:00
Timo Kreuzer
dcae209a08 Change DC and DC_ATTR members from MATRIX_S and EFLOAT_S, which are explicit fpu emulation types, instead use MATRIX and FLOATOBJ which are the class types. Plug in new FLOATOBJ api and remove old fpu using version. Implement XFORMOBJ api using FLOATOBJ. Remove most of the fpu using code from win32k.
svn path=/trunk/; revision=35779
2008-08-30 01:01:52 +00:00
Johannes Anderwald
86fffd0e4a - add INetConnectionProperty interface
svn path=/trunk/; revision=35759
2008-08-29 14:12:34 +00:00
Pierre Schweitzer
f381a715d2 Synced riched20 with Wine HEAD
svn path=/trunk/; revision=35728
2008-08-28 10:43:26 +00:00
Johannes Anderwald
f346cab83f - Add netcon header
svn path=/trunk/; revision=35717
2008-08-28 00:07:30 +00:00
Timo Kreuzer
7191a6d896 Merge MMerge 34969 from ros-amd64-bringup branch:
- Fix parameter types of NtQuery/SetSystemInformation, ExInitialize(N)PagedLookasideList, KeBugCheckWithTf, IoGetstackLimits
- Use ALIGN_UP_POINTER for a pointer
- Fix pointer to ULONG cast

svn path=/trunk/; revision=35715
2008-08-27 22:40:17 +00:00
Johannes Anderwald
0a12af7eab - Add constants
svn path=/trunk/; revision=35700
2008-08-27 15:19:40 +00:00
Timo Kreuzer
57164f6854 Merge 34717 from ros-amd64-bringup branch:
- Fix prototypes of _findfirst, _findnext, _findclose, _findfirsti64, _findnexti64 _wfindfirst, _wfindnext, _wfindfirst64, _wfindnext64, strndup, 
- Fix a number of pointer to int casts

svn path=/trunk/; revision=35695
2008-08-27 03:59:24 +00:00
Johannes Anderwald
33a2cd56f6 - Readd undocumented constants as commdlg needs them
svn path=/trunk/; revision=35675
2008-08-26 16:01:13 +00:00
Johannes Anderwald
050ca45f90 shell32 update (1/2)
- The Fonts Shell Folder && Admin Shell Folder GUID is not documented in shlguid.h
- Fix api declaration of SHCreateStdEnumFmtEtc, GetFileNameFromBrowse, SHCreateDirectory, SHCreateDirectoryExA, SHCreateDirectoryExW, Dad_AutoScroll, CDefFolderMenu_Create2, SHChangeNotifyRegister
- Fix EXP_DARWIN_LINK && OPENASINFO structure
- Remove CSIDL_FOLDER_MASK undocumented shellview ids

svn path=/trunk/; revision=35673
2008-08-26 15:50:17 +00:00
Timo Kreuzer
c9b3cf161b Merge 34739 - 34769, 34796 - 34905, 34916 - 34967, 34970 - 35135, 35167, 35325, 35326, 35443 - 35506, 35510 - 35546, 35587, 35616,
35644 from ros-amd64-bringup branch:

- Update AMD64 intrinsic Interlocked functions
- Add _InterlockedExchange64 to intin_x86.h
-Fix definitions of IsBadHugeReadPtr, IsBadHugeWritePtr, IsBadReadPtr, IsBadStringPtrA, IsBadStringPtrW, IsBadWritePtr and SetProcessWorkingSetSize
- Define CONTEXT and XMM_SAVE_AREA32, taken from WINE
- Include _M_AMD64 for defintitions in ioaccess.h
- Add Interlocked intrinisc definitions for AMD64 platform
- Add KI_USER_SHARED_DATA and KeGetCurrentIrql() prototype to winddh
- Fix prototypes for KfAcquireSpinLock, KfReleaseSpinLock, KeAcquireInStackQueuedSpinLock and KeReleaseInStackQueuedSpinLock on amd64
- Fix rotl declaration, add mysteriously missing rotr.
winnt.h:
- Fix CONTEXT_AMD64 and friends, add various constants.
- Define RUNTIME_FUNCTION, RtlCaptureContext, RtlRestoreContext, RtlAddFunctionTable, RtlInstallFunctionTableCallback, RtlDeleteFunctionTable.
- Fix definitions for EXCEPTION_RECORD and friends to support amd64.
- Define IMAGE_THUNK_DATA64 and related constants.
- Define IMAGE_TLS_DIRECTORY64 and related constants.
- Remove WINEisms
- Remove multiple declarations and minor fixes.
- Fix KESEG0_BASE for amd64
- Fix definition for NdisCopyLookaheadData on amd64
- Only add function prototypes if NO_INTERLOCKED_INTRINSICS is defined
- Move the inlined InterlockedAnd/Or from rtl to winbase.h and rename it to InterlockedAnd/Or_Inline
- Fix TreeView_EnsureVisible macro.
- Add missing 64 bit intrinsic Interlocked functions
- Fix _InterlockedDecrement64
- Fix InterlockedExchangeAddSizeT
- Fix __writecrx instrinsics
- Fix ExQueryPoolBlockSize prototype
- Make KI_USER_SHARED_DATA and IMAGE_ORDINAL_FLAG64 a ULONGLONG
- Fix definition if IMAGE_OPTIONAL_HEADER64
- Add KPCR structure
- Add __readcrx intrinsics
- Ad some definitions to winddk.h
- Add a field for a DbgPrint function pointer to the ROS_LOADER_PARAMETER_BLOCK for early debug prints in ntoskrnl
- Update KPCR and KIPCR
- Add KeGetPcr() and update KeGetCurrentProcessorNumber 
- Fix SECURITY_DESCRIPTOR_RELATIVE and KDPC_DATA
- Implement byteswap intrinsics
- Add macro definitions for KeQuerySystemTime, KeQueryTickCount and KeQueryInterruptTime to ddk
- Add NtCurrentTeb inline function
- Update amd64 prototypes for KeGetCurrentIrql, KfRaiseIrql, KfLowerIrql, KeRaiseIrqlToDpcLevel, KeRaiseIrqlToSynchLevel, KeLowerIrql, KeRaiseIrql
- Implement __readcr8, __writecr8, __lidt and __sidt intrinsics.
- Implement KeGetCurrentIrql as intrinsic.
- Make KeGetCurrentIrql, KeLowerIrql, KfRaiseIrql, KeRaiseIrql, KeRaiseIrqlToDpcLevel and KeRaiseIrqlToSynchLevel intrinsics as in the WDK 2008.
- Fix _interlockedbittest intrinsics
- Fix __readmsr and __writemsr on amd64
- Fix __readgsqword, it was using a long internally. Add volatile keyword to segment addressing intrinsics. Add "memory" to clobber list on all those that do write.
- Merge __readcr and __writecr x86 / x64 definitions, because they are the same. Implement __readdr and __writedr for x64.
- __readcr3() returns an unsigned __int64, fix x86 MmGetPageDirectory accordingly.


svn path=/trunk/; revision=35646
2008-08-25 21:57:13 +00:00
Timo Kreuzer
fac43bb581 Merge merge 34713 from ros-amd64-bringup branch:
fix NtCurrentTeb()

svn path=/trunk/; revision=35639
2008-08-25 19:01:09 +00:00