Commit graph

37094 commits

Author SHA1 Message Date
KJK::Hyperion 84833730d0 modified include/crt/_mingw.h
No "restrict" support in Visual C++ (and __restrict isn't the same thing)

modified   include/crt/stdarg.h
   Really fix stdarg.h this time

modified   include/crt/wchar.h
modified   include/psdk/dde.h
modified   include/psdk/mmsystem.h
modified   include/psdk/prsht.h
modified   include/psdk/rpcndr.h
modified   include/psdk/shellapi.h
modified   include/psdk/winbase.h
modified   include/psdk/wincon.h
modified   include/psdk/wincrypt.h
modified   include/psdk/windef.h
modified   include/psdk/wingdi.h
modified   include/psdk/winioctl.h
modified   include/psdk/winnetwk.h
modified   include/psdk/winnls.h
modified   include/psdk/winnt.h
modified   include/psdk/winperf.h
modified   include/psdk/winsmcrd.h
modified   include/psdk/winsock2.h
modified   include/psdk/winspool.h
modified   include/psdk/winuser.h
modified   include/psdk/wtypes.idl
modified   include/reactos/mingw-w64/internal.h
modified   include/reactos/mingw-w64/oscalls.h
   Disable some unavoidable warnings in Visual C++

modified   include/psdk/poppack.h
modified   include/psdk/pshpack1.h
modified   include/psdk/pshpack2.h
modified   include/psdk/pshpack4.h
modified   include/psdk/pshpack8.h
modified   include/psdk/pshpck16.h
modified   include/psdk/windows.h
modified   include/psdk/winsock2.h
   Check that defines are defined before testing their value

modified   include/psdk/rpcasync.h

modified   include/psdk/rpcdce.h
   Visual C++ doesn't support functions without a prototype anymore, and RPC_AUTH_KEY_RETRIEVAL_FN has a documented prototype anyway

modified   include/psdk/winnt.h
   WIN32_WINNT -> _WIN32_WINNT

svn path=/trunk/; revision=41434
2009-06-17 11:18:51 +00:00
Kamil Hornicek 7e8ae7ca6b - correct fix, also free the allocated buffer
svn path=/trunk/; revision=41433
2009-06-17 11:08:00 +00:00
Kamil Hornicek 8519197da3 - sync quartz with Wine 1.1.23
svn path=/trunk/; revision=41432
2009-06-17 10:31:16 +00:00
Kamil Hornicek eba7cda7a0 - kill warnings
svn path=/trunk/; revision=41431
2009-06-17 10:10:15 +00:00
KJK::Hyperion c7664e0070 Fix (?) build
svn path=/trunk/; revision=41430
2009-06-17 02:22:39 +00:00
KJK::Hyperion 8f85d133fc modified include/crt/stdarg.h
modified   include/crt/vadefs.h
   Our headers suck so hard. More Visual C++ compatibility

svn path=/trunk/; revision=41429
2009-06-17 02:18:13 +00:00
Stefan Ginsberg 792cd5130f - Replace "VOLATILE" with "volatile"
svn path=/trunk/; revision=41428
2009-06-16 22:20:27 +00:00
Christoph von Wittich eab042b178 attempt to convert most of this mess into something which at least look like C code
svn path=/trunk/; revision=41427
2009-06-16 21:12:47 +00:00
Dmitry Chapyshev 5cb17513e9 - Stub-implement NhGetInterfaceNameFromDeviceGuid and SetIpForwardEntryToStack. Fixes taskmgr (from windows) crash on network page
svn path=/trunk/; revision=41426
2009-06-16 19:10:29 +00:00
Dmitry Chapyshev 67a72b93d5 - Revert last wine sync for imagelist
See issue #4304 for more details.

svn path=/trunk/; revision=41425
2009-06-16 19:05:42 +00:00
Dmitry Chapyshev 92162113ce - Add Symbol font from Wine
svn path=/trunk/; revision=41424
2009-06-16 15:41:29 +00:00
Dmitry Chapyshev 974602eb54 - Add ntlanman.dll (not implemented)
svn path=/trunk/; revision=41423
2009-06-16 15:38:45 +00:00
Johannes Anderwald 2a1067133d - SetupDiOpenClassRegKeyExW should ERROR_INVALID_CLASS when it fails
- TODO: NtOpenKey should fail when acessMask == 0 and a registry path is passed

svn path=/trunk/; revision=41422
2009-06-16 08:04:08 +00:00
KJK::Hyperion 66128d2725 modified dll/win32/srclient/srclient_main.c
What the hell, Arch Blackmann? <windef.h>, <winbase.h> and <winnls.h> are not meant to be included directly. Include <windows.h> instead

modified   drivers/video/font/ftfd/rosglue.c
   Move standard C includes before Windows includes, so the required types are defined beforehand 

modified   include/crt/_mingw.h
   Re-add Visual C++ support
   va_list is not a built-in type, it does not belong in _mingw.h
   Do not include intrin.h (screw you, Arch)
   Removed definition of _USE_32BIT_TIME_T ("ROS HACK!")

modified   include/crt/conio.h
modified   include/crt/stdio.h
modified   include/crt/wchar.h
   Pull in va_list from stdarg.h

modified   include/crt/mingw32/intrin.h
modified   include/crt/mingw32/intrin_arm.h
modified   include/crt/mingw32/intrin_x86.h
   intrin.h defines size_t and uintptr_t
   The _real_, ultimate magic incantation for inline functions is extern __inline__ __attribute__((__always_inline__,__gnu_inline__))
   Fix __addfsbyte, __addfsword

added      include/crt/msc
added      include/crt/msc/intrin.h
   Ported our intrin.h to Visual C++

modified   ReactOS-arm.rbuild
modified   ReactOS-i386.rbuild
   ROS HACK!s belong in the project definition

modified   ReactOS-generic.rbuild
   Compiler-specific include directories

svn path=/trunk/; revision=41421
2009-06-16 00:24:26 +00:00
Johannes Anderwald 541c10e66b - TerminateProcess requires a valid handle
- Should fix 2 kernel32' winetests

svn path=/trunk/; revision=41420
2009-06-15 22:16:49 +00:00
Christoph von Wittich 4f60737693 fix warnings (untested)
svn path=/trunk/; revision=41419
2009-06-15 15:04:56 +00:00
Timo Kreuzer 16a8959547 - Fix definition of RTL_HANDLE_TABLE_ENTRY
- Fix check in RtlFreeHandle and add a DPRINT
- Fixes the last ntdll:rtl winetest

svn path=/trunk/; revision=41418
2009-06-15 14:49:31 +00:00
Kamil Hornicek adfe334f22 - import dmusic from Wine, it's mostly stubs but it should be enough for now
svn path=/trunk/; revision=41417
2009-06-15 13:52:04 +00:00
Aleksey Bragin 098b2bd1c3 - Don't reinitialize in case of error. Fixes a "DPC > 1 sec" problem related to an infinite loop in usbdriver.
svn path=/trunk/; revision=41416
2009-06-15 13:48:55 +00:00
Aleksey Bragin da98481109 - Fix NULL pointer access in an error branch inside hub_clear_port_feature_completion(). Thanks to Christoph for testing.
svn path=/trunk/; revision=41415
2009-06-15 13:30:50 +00:00
Dmitry Chapyshev 29a53f8889 - Add target process reference/dereference in ProcessLdtInformation/ProcessWorkingSetWatch/ProcessWx86Information cases of NtQueryInformationProcess.
svn path=/trunk/; revision=41414
2009-06-15 07:05:19 +00:00
Dmitry Gorbachev ba2bee71f3 Dutch translation of NetID DLL by Oscar van Egmond. Bug #4606.
svn path=/trunk/; revision=41413
2009-06-14 18:36:35 +00:00
Dmitry Chapyshev 4c6f38272b - Fix one "kernel32_winetest mailslot" test
svn path=/trunk/; revision=41412
2009-06-14 17:44:22 +00:00
Dmitry Chapyshev 94ddb22266 - Fix one "kernel32_winetest thread"
svn path=/trunk/; revision=41411
2009-06-14 16:51:48 +00:00
Christoph von Wittich 0cd158c9c5 add missing include guard
svn path=/trunk/; revision=41410
2009-06-14 15:33:12 +00:00
Sylvain Petreolle 0328a24e07 Cleanup GetAdaptersAddresses.
Add GetIfTable2 and GetIfEntry2 stubs
based on janderwald patch

svn path=/trunk/; revision=41409
2009-06-14 14:10:32 +00:00
Sylvain Petreolle 19a59aa438 Add needed defines for Vista network api
svn path=/trunk/; revision=41408
2009-06-14 14:09:01 +00:00
Dmitry Chapyshev d5a6633583 - Add SectionHandle probing
svn path=/trunk/; revision=41407
2009-06-14 08:57:25 +00:00
Dmitry Chapyshev a72b50ba4d - Add probing of the result buffer
- Add missing target process reference/dereference in MemorySectionName case of NtQueryVirtualMemory. Fixes 2 "psapi_winetest" failures.

svn path=/trunk/; revision=41406
2009-06-14 08:30:22 +00:00
Cameron Gutman 7c65e049ea - Implement NdisIMGetBindingContext and NdisIMGetDeviceContext
svn path=/trunk/; revision=41405
2009-06-14 05:42:30 +00:00
Sylvain Petreolle 14be0d32cb Fix 2 kernel32:environ tests.
The GetComputerNameEx ComputerNameDnsDomain tests can't succeed if we have no domain,
as the function succeeds querying a zero length domain into a zero length buffer.

svn path=/trunk/; revision=41404
2009-06-13 15:33:33 +00:00
Dmitry Gorbachev ca19857e83 Lowercase STATIC and CONST. Fixes build with DBG but without KDBG.
svn path=/trunk/; revision=41403
2009-06-13 15:28:33 +00:00
Dmitry Chapyshev df5470127f - Fix 5 winetests for CreateProcessA/W
svn path=/trunk/; revision=41402
2009-06-13 12:24:51 +00:00
Cameron Gutman a06e09c9ea - Header cleanup
svn path=/trunk/; revision=41401
2009-06-13 05:51:44 +00:00
Cameron Gutman 78f0b85fae - Implement NdisIMCopySendPerPacketInfo and NdisIMCopySendCompletePerPacketInfo
svn path=/trunk/; revision=41400
2009-06-13 05:37:16 +00:00
Cameron Gutman 166fb4de72 - Implement NdisGeneratePartialCancelId
svn path=/trunk/; revision=41399
2009-06-13 05:25:54 +00:00
Timo Kreuzer 240637d7ec Patch by Olaf Siejka (caemyr gmail com):
add stubs for unimplmented cases in ScsiPortNotification

svn path=/trunk/; revision=41398
2009-06-12 22:31:02 +00:00
Dmitry Gorbachev ad59e09b0e Fix bug #4558 ("buildno" is not compatible with SVN 1.6).
svn path=/trunk/; revision=41397
2009-06-12 21:42:32 +00:00
Dmitry Chapyshev 829df8eb70 - Revert r41390
svn path=/trunk/; revision=41396
2009-06-12 17:54:51 +00:00
Dmitry Chapyshev 0bf97bff06 - Revert r41389
svn path=/trunk/; revision=41395
2009-06-12 17:42:34 +00:00
Dmitry Chapyshev ae25fbb981 - Fix build
svn path=/trunk/; revision=41394
2009-06-12 17:14:42 +00:00
Timo Kreuzer fc918eb5ac ChangeDisplaySettingsExA: don't leak the memory for the converted DEVMODEW
svn path=/trunk/; revision=41393
2009-06-12 16:52:31 +00:00
Dmitry Chapyshev e4ae303e4a - Verify user32 export list with Win 2k3 R2
svn path=/trunk/; revision=41392
2009-06-12 15:54:25 +00:00
Dmitry Chapyshev 1b75d3dfa3 - Add job limit flags (based on MSDN info)
svn path=/trunk/; revision=41391
2009-06-12 15:49:16 +00:00
Dmitry Chapyshev 3f9540dadd - Set high priority class for winlogon.exe
svn path=/trunk/; revision=41390
2009-06-12 15:44:21 +00:00
Dmitry Chapyshev c8e1416240 - Start services.exe and lsass.exe with above normal priority class
svn path=/trunk/; revision=41389
2009-06-12 15:41:26 +00:00
Cameron Gutman 7b18ba471e - Implement NdisCancelSendPackets
svn path=/trunk/; revision=41388
2009-06-11 23:53:23 +00:00
Stefan Ginsberg 4d52a6e737 - MINIPORT_CONFIGURATION_CONTEXT must be allocated from nonpaged pool as it contains a spinlock
svn path=/trunk/; revision=41387
2009-06-11 23:45:59 +00:00
Stefan Ginsberg 5bd2bdcaec - PnpInit: Allocate IopBusTypeGuidList from nonpaged pool as it contains a fast mutex.
- MsqCreateMessageQueue: Allocate the message queue from nonpaged pool as it contains a mutex.

svn path=/trunk/; revision=41386
2009-06-11 23:36:51 +00:00
Dmitry Chapyshev d44cbb4ee0 2 == MEMORY_PRIORITY_FOREGROUND
0 == MEMORY_PRIORITY_BACKGROUND

svn path=/trunk/; revision=41385
2009-06-11 15:37:43 +00:00