Commit Graph

3330 Commits

Author SHA1 Message Date
Michael Günnewig c783c20288 - Fixed memory leak in AVISaveOptions.
- Implemented AVISaveVW method.
- Semi-stub implementation for CreateEditableStream method.
- Added support for creation of interleaved AVI files.
- Fixed creation of index table in AVI files.
- Added declaration for IAVIStreaming interface.
- Added some more macros.
- Fixed some minor bugs.
2003-07-02 00:38:57 +00:00
Alexandre Julliard 4433f15543 Add strmif.h to the headers included in libuuid.
Fixed a few header conflicts.
2003-07-01 04:33:35 +00:00
Alexandre Julliard 09242a8ea6 Add #ifdefs around forwards and interfaces like MIDL does. 2003-07-01 03:43:09 +00:00
Eric Pouech 675b75597b - removed next & prev fields from WINE_MODREF and implement instead
the three linked lists in LDR_MODULE
- added PEB_LDR_DATA structure to PEB
- removed a couple of no longer needed global & static variables
2003-07-01 03:38:56 +00:00
Raphael Junqueira a3dbd7e2c7 - some cleanups and fixes on d3d8 and d3d9 headers
- a lot of stubs for d3d9.dll
2003-07-01 01:09:17 +00:00
Alexandre Julliard 217fdab78f Implemented NtDelayExecution and make Sleep call it.
The handle count must not be 0 in NtWaitForMultipleObjects (spotted by
Troy Rollo).
2003-06-30 21:00:15 +00:00
Robert Shearman 7c8b85a222 - Added DShow headers.
- Added needed const's in FilterGraph implementation.
2003-06-30 20:24:52 +00:00
Marcus Meissner 85147ee96d Added PF_PAE_ENABLED and PF_XMMI64_INSTRUCTIONS defines.
Detect them and 3DNOW and XMMI_INSTRUCTIONS for Linux.
2003-06-30 18:28:08 +00:00
Raphael Junqueira b351e888c0 Added DirectPlay8 headers. 2003-06-30 18:26:13 +00:00
Alexandre Julliard 0643acd576 Removed Wine-specific definition from exported header (spotted by
Steven Edwards).
2003-06-27 22:24:23 +00:00
Shachar Shemesh 409374d914 Implementation of the reordering algorithm by calling ICU's reordering
functions.
2003-06-27 20:47:16 +00:00
Dmitry Timoshkov 85d4281616 Implement LCMapString using unicode collation tables.
Move CompareString and LCMapString to dlls/kernel/locale.c.
2003-06-27 19:02:23 +00:00
Alexandre Julliard 4cb212063b Moved some of the process functions to dlls/kernel.
Removed kernel dependencies from sysdeps.c and moved it to dlls/ntdll.
2003-06-27 04:08:04 +00:00
Eric Pouech 9bd4f6bf15 - made async.h ready for use in ntdll: replaced all calls to kernel32
functions with ntdll equivalent
- replaced status setter/getter for wine async structures with direct
  access to a (now included) IO_STATUS_BLOCK structure
- since we now have a IO_STATUS_BLOCK in async_private, we no longer
  need in most of the user (derivated) structures a field for
  LPOVERLAPPED (it's stored as the IO_STATUS_BLOCK)
- rewrote the async.h users accordingly
- implemented ntdll.Nt{Read|Write}File and let
  kernel32.{Read|Write}File(Ex)? use those new ntdll functions
- rewrote smb read/write interfaces to be more ntdll stylish (no
  overlapped yet)
2003-06-26 02:08:17 +00:00
Eric Pouech 6235e9359c Added dbghelp.h header. 2003-06-26 02:06:40 +00:00
Eric Pouech 583bb3fd3e - started implementing ntdll.NtDeviceIoControlFile and made
kernel32.DeviceIoControl call it
- changed cdrom ioctl function's prototype to stick to
  ntdll.NtDeviceIoControlFile signature
2003-06-24 19:28:21 +00:00
Raphael Junqueira d9df64609b d3d9 headers are better when they build. 2003-06-24 19:26:51 +00:00
Eric Pouech f6a70969e1 - start moving a few file related functions from files/file.c to
dlls/kernel subdir (also splitting 16bit APIs in a separate file)
- implemented ntdll.Nt{Lock|Unlock}File, and made use of those for the
  kernel32 equivalent
- implemented a few information classes in NtQueryInformationFile and
  NtSetInformationFile (still lots of missing classes)
- enhanced the get_file_info server request in order to implement
  correctly NtQueryInformationFile (change time & file alloc size)
- rewrote registry loading to comply with latest changes
2003-06-24 02:32:01 +00:00
Ulrich Czekalla b2df5f9f19 - use global atoms for the format ids
- add timeout when calling XCheckTypedWindowEvent
- fix broken IsClipboardFormatAvailable; it tried to do a trick with
  EnumClipboardFormats by making incorrect assumptions
- in X11DRV_IsClipboardFormatAvailable do a quick exit if no one owns
  the selection
- add 1 second *minimum* time lapse between XSelectionOwner calls
- sync clipboard ownership between different wine processes
- prevents apps from getting into wierd state where they thought they
  didn't own the selection but they did and as a result queried
  themselves for available selection data
2003-06-23 23:02:02 +00:00
Huw Davies c23f8578c3 Don't enable client side fonts unless we have at least one non-symbol
font installed - this avoids a nasty Wingdings only scenario.
Add the ability to perform font replacements, this essentially lets
you give a second name to a font family so that familyA gets
enumerated as familyB too.
If we encounter two copies of the same font then use the one with the
larger version number.

Dmitry Timoshkov <dmitry@codeweavers.com>
Move GetTextCharsetInfo implementation to the font driver.
2003-06-23 20:51:06 +00:00
Mike McCormack 10c3764058 Record SetWorldTransform and ModifyWorldTransform in enhanced
metafiles.
2003-06-23 19:46:56 +00:00
Michael Günnewig 9f67cfef42 - Fixed some signed/unsigned mismatches.
- Fixed bugs in AVISaveOptions dialog handling.
- Fixed bug in AVIFILE_LoadFile -- now check for more than
  MAX_AVISTREAMS streams in file.
- Implemented AVIMakeFileFromStreams and AVISaveVA method.
- Added IAVIEditStream interface.
- Implemented EditStream* methods.
- Added stubs for AVISaveVW, CreateEditableStream.
- Added stubs for clipboard handling.
2003-06-23 18:10:06 +00:00
Eric Pouech a86a289420 In console input record queue, replace semaphore with a manual reset
event, so that we get correct behavior in synchronization handling.
2003-06-23 03:37:14 +00:00
Kusanagi Kouichi c782721943 Added ListView_GetItemText macro. 2003-06-23 03:35:19 +00:00
Eric Pouech 412d37f6e6 - adapted kernel32 so that it no longer (directly) manages console
handles as wineserver handles
- console input handle object is no longer waitable (input record
  synchronisation is now implemented as a simple semaphore), and removed
  FD_TYPE_CONSOLE from fd types in wineserver
- console handles now always have their two lower bit set so one can
  distinguish a console handle from a kernel object handle
- implemented some undocumented kernel32 console related APIs
  (CloseConsoleHandle, GetConsoleInputWaitHandle, OpenConsoleW,
  VerifyConsoleIoHandle, DuplicateConsoleHandle)
- allowed a few kernel32 APIs to take console pseudo-handles
  (FlushFileBuffer, GetFileType, WaitFor*Object*)
- simplified the console inheritance at process creation
- in console tests, no longer create a console if one already exists
2003-06-21 02:07:10 +00:00
David Hammerton 852c7ae404 - implemented support for https protocol
- fixes to the http protocol
2003-06-20 23:26:56 +00:00
Alexandre Julliard 4ee8290b96 Added checks for ICU libraries (based on a patch by Shachar Shemesh). 2003-06-20 21:38:10 +00:00
Robert Shearman 499cfcaf86 Added typedef for COLORREF. 2003-06-20 21:30:37 +00:00
Raphael Junqueira 9a401a0b18 Added d3d9 headers. 2003-06-20 21:28:34 +00:00
Eric Pouech b53b5bcb50 - fixed a couple of bugs in ntdll environment functions (one in trace,
the other one in environment variable expansion)
- the process parameters, when passed thru wineserver, are now fully
  handled in ntdll, they are stored in the RTL_USER_PROCESS_PARAMETERS
  structure.
- later on in kernel32 loading sequence, those parameters are copied
  into STARTUPINFO shadow structures
- later modification to those paramters are now reflected to the
  RTL_USER_PROCESS_PARAMETERS structure (and STARTUPINFO is kept
  untouched) (for example, StdHandle setting) (Win 2k behaves like this)
- ENVDB has been removed
- command line inheritance (from unix command line) is now purely in ntdll
- all kernel32 environment functions now rely on their ntdll counterparts
- goodies: input/output handle inheritance while asking for a detached
  console is better handled; a few more kernel32 environment tests now
  pass ; silenced a valgrind warning in process creation
2003-06-18 03:23:22 +00:00
Raphael Junqueira c405019ee5 - DInput WideChar classes support. This time all dinput versions have
widechar classes.
- fix a stupid bug in callback handling caught by Lionel.
- add some forgotten IID on class factory (better if we want to active
  the code)
- many cleanups on COM Macros (don't need A and W variants as they are
  the same)
2003-06-16 20:22:13 +00:00
736ff98510 Added AddAccessAllowdAceEx, AddAccessDeniedAceEx, GetAclInformation. 2003-06-16 19:44:06 +00:00
Eric Pouech 2e5cdf95da Implemented:
- RtlDoesFileExists_U as a stub
- RtlDosSearchPath_U
2003-06-16 01:24:30 +00:00
Juan Lang c5e856a300 Use iphlpapi to enumerate LAN adapters.
Add names to NetBIOS transports, and eliminates loopback adapters from
enumerated LAN adapters.
2003-06-16 01:23:20 +00:00
Jukka Heinonen ae906923a1 Remove SIGALRM handler.
Reserve TEB field for DPMI virtual interrupt flag.
2003-06-16 01:18:26 +00:00
Lionel Ulmer 6551965003 Make the header in-line with current ICOM naming conventions. 2003-06-16 01:17:10 +00:00
Alexandre Julliard 693bbd79b6 Make it possible to retrieve an inheritable handle in open_named_pipe
(spotted by Uwe Bonnes).
2003-06-14 01:31:56 +00:00
Christian Costa 77c00c9555 Make dinput8 behaviour more correct for mouse and keyboard.
Fix small bug when keyboard buffer overflows.
Use DI_OK instead of 0 for returned values.
2003-06-13 18:55:41 +00:00
Francois Gouget c8ad3cb75c Add stubs for RasDeleteSubEntry* (new in WinMe/WinXP).
Add prototypes for RasDeleteEntry* and RasDeleteSubEntry* in ras.h.
2003-06-13 18:52:36 +00:00
Yorick Hardy 1b3755e308 Include time.h instead of sys/time.h. 2003-06-13 18:07:25 +00:00
Lionel Ulmer 1fa9624682 Stubbed some interfaces for the FilterGraph CLSID. 2003-06-13 18:06:44 +00:00
Eric Pouech 1bb3859ece Added support for overlapped ioctl requests (and a few other
cosmetics).
2003-06-13 16:33:50 +00:00
Francois Gouget 39e2a19bc8 Add a stub for CompareSecurityIds (new in WinXP). 2003-06-13 16:29:36 +00:00
Robert Shearman 7aae1b79d9 - Support a few more flags
- Rewrite the enumeration loop
- Support non-desktop root
- Silence harmless and implemented debug messages
2003-06-06 18:09:38 +00:00
Antonio Larrosa Jiménez 8abbc40e51 Added CLOCKS_PER_SEC. 2003-06-04 20:24:16 +00:00
Jukka Heinonen f07dfff17b Migrate most int21 ioctl routines to winedos.
Migrate int21 set drive routine to winedos.
2003-06-04 20:17:52 +00:00
Yorick Hardy 78b38a114c Include sys/time.h for struct timeval definition. 2003-06-04 20:15:39 +00:00
Jason Edmeades 350aa2dcc4 Fill in lots of unimplemented render states. 2003-06-04 20:10:43 +00:00
Alexandre Julliard 6bc5091160 Start to make use of the proper PEB structure for process
information.
2003-05-22 03:44:01 +00:00
Mike McCormack 88090b47a6 Remove code that starts wineshelllink, instead create a windows
compatible shortcut (*.lnk) file. After creating that file, start a
link processor (winemenubuilder) on it, which reads it back then calls
wineshelllink.
Rework CreateStreamFromFile to create an IStream object that is
writeable.
2003-05-21 18:50:53 +00:00
Alexandre Julliard 7c836cf954 Moved a couple of 16-bit module functions from to loader/ne/module.c. 2003-05-21 18:32:17 +00:00
Mike McCormack 399967c10d Implemented GdiComment for enhanced metafiles. 2003-05-21 18:28:49 +00:00
Eric Pouech b350438074 Implemented NtQueryObject and NtSetInformationObject for the
ObjectDataInformation class.
2003-05-20 19:20:42 +00:00
Yorick Hardy b133454a2e Implemented GetSystemInfo on NetBSD. 2003-05-20 17:48:40 +00:00
Eric Pouech c00a4473bd Implement anonymous pipes on top of named pipes. 2003-05-20 04:32:53 +00:00
Eric Pouech 4c591d4ef3 Implemented timer related functions in ntdll and make the kernel32
functions use them.
2003-05-20 04:00:42 +00:00
Alexandre Julliard c7a51eec43 Only create the 16-bit dummy module when we need really it. 2003-05-20 02:32:26 +00:00
Alexandre Julliard 9747a103b5 Added value for default Unix codepage to all the locale definitions. 2003-05-20 02:20:48 +00:00
Dmitry Timoshkov 37d3996355 Expect multiple DNS_ flags.
Partially implemented DdeEnableCallback.
Call a callback with XTYP_CONNECT_CONFIRM after an accepted
XTYP_CONNECT.
Added traces, clarify data types, other cosmetics.
2003-05-19 23:27:16 +00:00
Yorick Hardy c26b7dbad9 Added the implementation for CDROM_GetIdeInterface on NetBSD. 2003-05-19 21:46:09 +00:00
Robert Shearman 5e7ba03616 Fix value of IID_IShellFolder2. 2003-05-19 21:39:29 +00:00
Huw Davies fa28b5eac2 GetRandomRgn(...,1) returns the current clipping rgn.
Moved GetRandomRgn and the MetaRgn functions to objects/clipping.c.
2003-05-19 19:03:19 +00:00
Alexandre Julliard d0af123a41 Catch broadcast window handles in functions that are implemented using
SendMessage.
2003-05-19 19:00:02 +00:00
Stefan Leichter 053b839179 Fixed DECIMAL_SETZERO
Removed a workaround for the former problem.
2003-05-16 20:13:50 +00:00
Alexandre Julliard c963e25c0e Get rid of the 32-bit user signal proc since we always run builtin
USER now.  Moved USER module cleanups to the 16-bit signal proc.
2003-05-15 23:11:00 +00:00
Mike McCormack ef8b94622a - rewrite of the named pipe code
- allow NtFileFlushBuffers to wait
- allow DisconnectNamedPipe to invalidate client cached fd
- fix the pipe test now that one extra test passes
2003-05-15 04:22:45 +00:00
Eric Pouech 35d5d06ac9 Implemented RtlDosPathNameToNtPathName_U, RtlGetCurrentDirectory_U,
RtlGetFullPathName_U and RtlSetCurrentDirectory_U (the last one
partially as we can't test whether a path exists or not).
2003-05-15 04:20:42 +00:00
Alexandre Julliard adb532903c Rewrote module TLS support and moved it to ntdll. 2003-05-14 19:51:14 +00:00
Alexandre Julliard 0b34697abb Made INSTR_EmulateInstruction return the exception code.
Don't allow intXX instructions from 32-bit code (based on a patch by
Jukka Heinonen).
2003-05-14 19:41:16 +00:00
Dimitrie O. Paun 0d14cae465 Add missing ENDSESSION_LOGOFF define. 2003-05-14 19:31:00 +00:00
Alexandre Julliard e1147baa00 Use a different magic for memory DCs and get rid of the DC_MEMORY
flag.
2003-05-13 23:56:12 +00:00
Mike McCormack 98e5e7705a Implemented SetMessageExtraInfo. 2003-05-13 23:36:01 +00:00
Eric Pouech b124fa9617 Implemented RtlExpandEnvironmentStrings_U and fixed an incorrect
behavior in RtlQueryEnvironmentString.
2003-05-13 04:45:50 +00:00
Juan Lang 38fa5ad1bc Added an implementation of iphlpapi.dll; most Get* functions
introduced through Win98 are included.
2003-05-13 03:32:20 +00:00
Dimitrie O. Paun d93f0814aa Add prototype for __WSAFDIsSet. Fix syntax error. 2003-05-13 00:37:36 +00:00
Robert Shearman 98747abd75 - Implement a few more cases in PropVariantClear.
- Partially implement PropVariantCopy.
- Implement FreePropVariantArray.
2003-05-13 00:32:43 +00:00
Dmitry Timoshkov 49fef46967 Added definition of SS_USERITEM. 2003-05-12 03:23:15 +00:00
Mike McCormack 6d3b14b581 Added stubs for CertSaveStore and CertEnumCertificatesInStore. 2003-05-12 03:21:45 +00:00
Alexandre Julliard d9bab57477 Added support for calling the TLS callback functions. 2003-05-08 04:13:26 +00:00
Pierre d'Herbemont bf01f050df Add Dar, Dsisr and Trap registers for the PowerPC CONTEXT structure. 2003-05-08 03:48:08 +00:00
Eric Pouech 2d758c6444 Implemented a bunch of environment related NTDLL APIs. 2003-05-08 03:47:00 +00:00
Alexandre Julliard ce4d111cd8 Moved the EnumResource* functions to the kernel dll, and fixed their
prototypes.
2003-05-07 03:21:26 +00:00
Thomas Mertes d628d125ab Implement RtlDuplicateUnicodeString, RtlFindCharInUnicodeString,
RtlInitUnicodeStringEx.
Documentation updates for RtlInitAnsiString, RtlInitString,
RtlInitUnicodeString, RtlAnsiStringToUnicodeString and
RtlOemStringToUnicodeString.
2003-05-06 18:27:40 +00:00
Adam Gundy 06d610ec9b Check the mask flags in the item structure to determine how much
memory to read/write.
2003-05-02 20:14:33 +00:00
Alexandre Julliard e1a9b10f51 Moved the wpp library from tools/ to libs/.
Create symlinks to the various libraries in the libs directory.
2003-05-01 03:16:21 +00:00
Robert Shearman f0025e2adc - Implemented RtlAddAccessAllowedAce, RtlAddAccessDeniedAce,
RtlAddAce, RtlValidAcl.
- Added the corresponding functions in advapi32.
- Grouped the ACL functions in advapi32.
2003-05-01 00:29:26 +00:00
Steven Edwards e426e9a785 Fix for building lzexpand with Mingw or MS_VC++ includes 2003-04-30 17:15:06 +00:00
Alexandre Julliard 424202bd9a Moved most of the kernel resource APIs to dlls/kernel. 2003-04-30 00:53:23 +00:00
Alexandre Julliard 86666c51e2 Implemented ntdll resource functions. 2003-04-29 23:00:48 +00:00
Robert Reif e743e091ed Added partial property set support which is used by dxdiag.exe. 2003-04-29 22:49:52 +00:00
Dimitrie O. Paun 846f253d1e Indentation fixes. 2003-04-27 20:36:08 +00:00
Alexandre Julliard fedc411743 Moved the functionality of starting Win16 and DOS programs from the
common process startup into a separate winevdm application.
2003-04-27 00:47:58 +00:00
Alexandre Julliard 69361e08b9 Moved x11drv.h to dlls/x11drv. 2003-04-22 04:05:08 +00:00
Eric Pouech b6338878a8 Moved kernel32.FlushFileBuffers to ntdll.NtFlushBuffersFile. 2003-04-22 04:04:17 +00:00
Alex Pasadyn 330179f956 Implemented EnumDisplaySettings* and ChangeDisplaySettings*. 2003-04-22 00:15:48 +00:00
Alexandre Julliard 2e12d33dfd Removed no longer needed uses of LDPATH. 2003-04-21 23:54:05 +00:00
Jukka Heinonen 013f89465c Moved dosconf.c to winedos. 2003-04-21 23:22:53 +00:00
Alexandre Julliard db89a54bf4 Check for struct option independently of the getopt_long check. 2003-04-20 02:56:14 +00:00
Maxime Bellengé 2e9f3d844c Added resource strings for language groups. 2003-04-19 20:22:19 +00:00
Rolf Kalbermatter a25967c92a Reimplement SHFileOperation in Unicode, based on the work of Dietrich
Teickner.
2003-04-19 20:09:09 +00:00
Ove Kaaven 381e64758b Dummy RPC exception macros. 2003-04-19 20:06:58 +00:00
Vincent Béron 5d730664da Terminate the lfind inline function. 2003-04-19 02:48:10 +00:00
Alexandre Julliard 9aee7c605d Yet another attempt at fixing the htonl functions. 2003-04-17 02:47:17 +00:00
Alexandre Julliard 1b41cdf3d1 Fixed alloca handling the way mingw does it (reported by Vincent
Béron).
2003-04-17 02:40:21 +00:00
Rolf Kalbermatter 468494cb83 Implemented ILGetDisplayNameExA and ILGetDisplayNameExW and call them
from ILGetDisplayNameAW and ILGetDisplayNameExAW.
2003-04-17 02:18:33 +00:00
Alexandre Julliard d6da1f33ab Implemented RtlIsNameLegalDOS8Dot3 (based on a patch by Eric Pouech).
Implemented RtlUpcaseUnicodeStringToCountedOemString.
2003-04-16 23:15:29 +00:00
Rein Klazes 5737fe6d18 Fix the ListView_SetItemState macro. 2003-04-16 23:08:10 +00:00
Alexandre Julliard 96af8c2ff5 Fixed gcc varargs macro syntax (reported by Gabriele Giorgetti). 2003-04-14 21:42:57 +00:00
Vincent Béron 3b11910362 Include shlguid.h from shlobj.h.
Expose IShellLink to Winelib apps.
2003-04-13 01:05:31 +00:00
Vincent Béron a79c96039d Define some additional constants. 2003-04-13 01:05:17 +00:00
Christian Costa 9ba17d4427 Added some defines to d3d8 header. 2003-04-13 01:02:52 +00:00
Alexandre Julliard aa94a5ad1a Implemented RtlDetermineDosPathNameType_U and RtlIsDosDeviceName_U. 2003-04-12 00:10:13 +00:00
Alexandre Julliard 2d5519f15c The com_interface attribute is not needed on derived classes.
Removed the ICOM_CTHIS* macros.
2003-04-12 00:09:14 +00:00
Alexandre Julliard aa89eccc71 Added support for generating dependencies for idl files. 2003-04-11 00:38:56 +00:00
Alexandre Julliard aae3cb61cd Simplified COM interface declarations, removing the need to define
both an xxx_METHODS and an xxx_IMETHODS macro.
2003-04-11 00:31:02 +00:00
Alexandre Julliard 55379110c5 Get rid of the ICOM_CALL macros. 2003-04-10 21:13:58 +00:00
Alexandre Julliard f00c46f030 Use a more compatible technique to declare COM interfaces methods,
using Microsoft's STDMETHOD macros instead of the Wine-specific
ICOM_METHOD ones.
2003-04-10 00:19:24 +00:00
Vitaliy Margolen da7d5ac699 Added more extended error codes. 2003-04-09 23:33:50 +00:00
Juraj Hercek 690f89a675 Fixed tagLVDISPINFO definition. 2003-04-08 20:49:01 +00:00
Rok Mandeljc 3dec4c5219 Added stubs for dpnhpast and for all the dmusic dlls. 2003-04-08 03:56:04 +00:00
Thomas Mertes 0ce4826eee Implemented RtlRandom, RtlAreAllAccessesGranted,
RtlAreAnyAccessesGranted, RtlCopyLuid, RtlEqualLuid, RtlMapGenericMask
and RtlCopyLuidAndAttributesArray.
Documentation updates for RtlExtendedMagicDivide, RtlUniform,
RtlUnicodeStringToAnsiString, RtlAppendAsciizToString,
RtlAppendStringToString, RtlAppendUnicodeToString and
RtlAppendUnicodeStringToString.
2003-04-08 00:55:36 +00:00
Alexandre Julliard f130f8099a Added possibility to filter relay traces based on the module that
called the function. Cleaned up a few traces.
2003-04-07 23:27:54 +00:00
Alexandre Julliard 088bcf9ca5 Implemented NtQueueApcThread, and changed the server APC interface to
always take 3 parameters.
Implemented a number of other ntdll thread functions, and use them
from the kernel ones.
2003-04-04 22:26:34 +00:00
Mike Hearn ceb86a90f8 - Map winsock sockopts to the POSIX equivalents for IP multicast.
- Remap winsock1 constant values to winsock2 using a forwarder
  function.
- Change a FIXME to a TRACE, it appeared to be simply reporting
  progress.
2003-04-04 22:04:47 +00:00
Alexandre Julliard 39f73ddeaa Merged PE_InitDLL into MODULE_InitDLL.
Fixed a few traces.
2003-04-04 19:50:17 +00:00
Alexandre Julliard 56b5e0862c Remove the Wine-specific EXCEPTION_CRITICAL_SECTION_WAIT define. 2003-04-04 19:41:31 +00:00
Alexandre Julliard 15f0ac352b Yet another hack to try to make this file compile in all
circumstances.
2003-04-04 19:32:18 +00:00
Dimitrie O. Paun 961afa2ab6 Add a few missing BN_* constants. 2003-04-04 19:31:41 +00:00
Robert Reif acd4bc0d64 Added a few missing DX8 definitions. 2003-04-03 18:02:39 +00:00
Alexandre Julliard 6a9cea957a Added --with-nptl configure option and necessary changes to support
running on top of NPTL threads.
2003-04-03 02:54:54 +00:00
Alexandre Julliard 3200c02b9c Don't bother checking for the errno function, simply define all of
them.
2003-04-02 23:27:46 +00:00
Alexandre Julliard 462172a3d6 Added abs_time_t structure to the server protocol, and added a dump
routine for it that displays the relative timeout to make timeout
values easier to interpret.
2003-04-02 22:48:59 +00:00
Dimitrie O. Paun 6cd88fe697 Add spawnvp to the portability lib. 2003-04-02 05:20:12 +00:00
Alexandre Julliard c44555bb37 Added support for marking heap blocks as inaccessible/uninitialized if
valgrind is installed, based on a patch by Adam Gundy.
2003-04-02 01:42:06 +00:00
Alexandre Julliard 9ee2413700 Handle htonl() and friends like select(), this will hopefully avoid
conflicts with Unix headers.
2003-04-02 01:38:42 +00:00
Andreas Mohr 114b667f41 Some spelling and formatting fixes. 2003-04-02 01:23:43 +00:00
Alexandre Julliard 6f7a204466 Added SYSDEPS_GetUnixTid to return the Unix thread id to send to the
server.
2003-04-01 04:39:35 +00:00
Rolf Kalbermatter b2d39ea5f0 Moved prototype for SHBindToParent() to shlobj.h. 2003-04-01 04:35:54 +00:00
Alexandre Julliard 06a8c1203f Portability fixes. 2003-04-01 00:12:50 +00:00
Alexandre Julliard c45bbad3d6 Use _spawnvp to replace fork for non-Unix platforms. 2003-04-01 00:12:02 +00:00
Dmitry Timoshkov 2d55e0484c Fix some problems found while compiling and linking Wine under
Cygwin.
2003-03-31 23:58:27 +00:00
Alexandre Julliard 70c47b668f Try to make winsock.h more portable (based on a patch by Francois
Gouget).
2003-03-31 23:56:35 +00:00
Alexandre Julliard fbef57c0ce Moved WaitForMultipleObjects to ntdll (based on a patch by Eric
Pouech).
Added NTDLL_get_server_timeout function to compute ntdll-style
timeouts and adapted the timer code to use it.
2003-03-31 01:37:04 +00:00
Alexandre Julliard 91deba1d5e Clear the entire request, not just the end, in case it contains
padding bytes.
2003-03-30 03:08:52 +00:00
Jukka Heinonen 6f6eb82dfc Add prototype for GetCompressedFileSize. Move some int21 functions to
winedos. Improve file attribute functions.
2003-03-30 03:04:37 +00:00
Dimitrie O. Paun 45247de05b Fix errno linkage when compiling in C++. 2003-03-28 19:31:12 +00:00
Alexandre Julliard 5537dbbf40 Replaced WINE_CHECK_STRUCT_MEMBER autoconf macro by the standard
AC_CHECK_MEMBERS. Added check for si_fd in siginfo_t.
2003-03-28 00:36:12 +00:00
Alexandre Julliard 3e588e3a57 Implemented file change notifications, based on a patch by Mike
McCormack.
2003-03-26 23:41:43 +00:00
Alexandre Julliard b59bf98b93 Moved errno_location support to sysdeps.c. 2003-03-26 01:33:48 +00:00
Alexandre Julliard 98f020234c Use aliases instead of #defines for the varargs functions when using
gcc.
2003-03-26 01:29:56 +00:00
Eric Pouech 1c7afd87f6 - no longer using kernel32's APIs but ntdll's
- BUILTIN32_dlopen now properly returns NTDLL style status codes
2003-03-26 01:25:19 +00:00
Maxime Bellengé 95bf7df1d7 Stubs for EnumSystemLanguageGroups{A|W}. 2003-03-26 01:22:57 +00:00
Alexandre Julliard 8d7b8e573f Portability fixes. 2003-03-23 20:11:45 +00:00
Alexandre Julliard 8d361bd41c Properly initialize keyboard auto-repeat for all X connections. 2003-03-23 20:07:55 +00:00
Dimitrie O. Paun 4fd679b0eb Comment out unneeded extensions. 2003-03-23 20:03:48 +00:00
Christian Costa f814cf87af Make use of .half and/or .asciiz assembler keywords when necessary. 2003-03-23 00:18:26 +00:00
Madhura Sahasrabudhe 992d1b998a Changed the macros in the msvcrt headers to static inline functions. 2003-03-22 21:15:41 +00:00
Alexandre Julliard 3dc1f2dff3 Changed the SET_AX etc. macros to not return a value. 2003-03-22 21:12:27 +00:00
Alexandre Julliard a8497bd037 Make a distinction between the thread Unix pid and the process wide
pid for platforms that use both.
2003-03-22 21:00:09 +00:00
Thomas Mertes c83aa0d311 - Implement RtlDowncaseUnicodeString, RtlUniform, iswdigit, iswlower,
iswspace, iswxdigit.
- Fixed RtlInt64ToUnicodeString and RtlIntegerToUnicodeString.
- According to tests RtlAppendUnicodeStringToString leaves the
  destination unchanged when the source length is 0 (FIXED).
- Documentation updates in RtlExtendedMagicDivide,
  RtlLargeIntegerToChar, RtlInt64ToUnicodeString, RtlUpperChar,
  RtlUpperString, RtlUpcaseUnicodeChar, RtlCharToInteger,
  RtlIntegerToChar, RtlUnicodeStringToInteger,
  RtlIntegerToUnicodeString, _ultoa, _ltoa, _itoa, _ui64toa, _i64toa,
  _atoi64, _ultow, _ltow, _itow, _ui64tow, _i64tow, _wtol, _wtoi,
  _wtoi64.
2003-03-22 00:20:58 +00:00
Alexandre Julliard 6a26e3f7ac Split signal blocking code out of SIGNAL_Reset into SIGNAL_Block.
Added SIGTERM handler.
2003-03-21 23:45:26 +00:00
Alexandre Julliard 25fe361010 Added 'wine' prefix to libwine_unicode exports. 2003-03-21 21:30:51 +00:00
Eric Pouech 69dc0d93d5 Removed no longer needed MODREF.find_export field. 2003-03-21 21:27:16 +00:00
Rok Mandeljc 2d04be72f7 Stub implementation of the dmusic dll. 2003-03-21 00:42:38 +00:00
Eric Pouech 051f87150f - implemented LdrQueryProcessModuleInformation
- rewrote VERSION_GetLinkedDllVersion() with this new function instead
  of accessing directly the modref list
2003-03-21 00:34:36 +00:00
Alexandre Julliard 9612383678 Moved [efg]cvt functions to msvcrt and fixed them to use a per-thread
buffer.
2003-03-20 23:47:25 +00:00
Alexandre Julliard 195574e2d8 Added memcpy_unaligned to libwine_port. 2003-03-20 23:44:36 +00:00
Alexandre Julliard 7463af6b2f Added sprintfW and vsprintfW. 2003-03-20 23:40:41 +00:00
Eric Pouech 19e050eb6f Moved WINE_MODREF.flags to WINE_MODREF.ldr.Flags, and make use of the
same flags values as Win2000.
2003-03-20 23:40:08 +00:00
Alexandre Julliard 108a69bd2f Moved interlocked functions to libwine_port. 2003-03-20 22:06:16 +00:00
Eric Pouech f94c8b85b9 Move some fields (refCount, tls_index and module) from WINE_MODREF to
LDR_MODULE.
2003-03-20 22:05:26 +00:00
Alexandre Julliard 2ee8b5bb13 Replaced mkstemp by mkstemps from libiberty.
Removed a couple of unnecessary portability functions.
2003-03-20 21:07:49 +00:00
Eric Pouech 9b79d698b2 Moved the module loading/unloading code and the remaining needed
static variables to ntdll.
2003-03-20 04:55:59 +00:00
Alexandre Julliard 500a2f95f7 Partially implemented LdrLock/UnlockLoaderLock. 2003-03-20 04:29:21 +00:00
Alexandre Julliard 7ac91c7401 Added getopt routine to libwine_port (based on a patch by Dimitrie
O. Paun).
2003-03-19 22:44:55 +00:00
Alexandre Julliard b1095da50c Fixed bug that could cause SendMessage to return too early in certain
cases.
2003-03-19 00:12:17 +00:00
Alexandre Julliard 6da4c275ca Implemented Rtl*ByteSwap() functions, based on a patch by Jon
Griffiths.
2003-03-19 00:09:57 +00:00
Jon Griffiths ccf2f6162b Correct the agument count for RtlInitializeGenericTable().
Fix my own brown paper bag in RtlFillMemoryUlong().
RtlGetNtVersionNumbers() should never return < 5.
Remove RtlCopyMemory(), its not an ntdll export.
Implement RtlCompareMemoryUlong(), RtlComputeCrc32().
Documentation updates.
2003-03-18 20:12:07 +00:00
Alexandre Julliard 02c0b9c5dc Fixed a few function pointer typedefs. 2003-03-18 19:59:47 +00:00
Eric Pouech 84d1a8ff8c - added LDR_MODULE structure to WINE_MODREF and made dummy filling of
this structure
- implementation of LdrFindEntry
- implementation of GetModuleFileName[AW] on top of LdrFindEntry
2003-03-18 18:29:13 +00:00
Alexandre Julliard ce61349334 Implemented file locking functions (partly based on my old Corel
patch). Added a few regression tests.
2003-03-18 05:04:33 +00:00
Dimitrie O. Paun 76883a8cb6 Define the u_{char,short,int,long} in msvcrt/sys/types.h for Unix
compatibility (needed by winsock.h as well).
2003-03-17 21:22:34 +00:00
Jon Griffiths 42418f8c1d Added prototypes for the Remote Shutdown Api calls. 2003-03-17 21:21:15 +00:00
Paul Rupe ae379a44fd Add CSIDL_PROFILES. Improved logging for non-existent CSIDL values. 2003-03-17 04:42:45 +00:00
Alexandre Julliard f602ec661d Properly import basetsd.h and guiddef.h. 2003-03-16 23:54:18 +00:00
Jon Griffiths b7258b2cbe Add some missing types needed for the upcoming ocidl.idl.
Add missing variant types.
Correct the definition of DECIMAL type.
2003-03-15 22:24:26 +00:00
Jon Griffiths ab9bb9c1f1 Add some missing prototypes. 2003-03-15 19:41:03 +00:00
Jon Griffiths 7cf70d79c3 Really get rid of debug code/strings if we're building without them. 2003-03-15 19:39:37 +00:00
Jon Griffiths 7c6ebddd74 Protect the TEXTMETRIC struct from redefinition. 2003-03-15 19:35:52 +00:00
Robert Reif 89b469fefe Added support for multiple direct sound devices. 2003-03-15 00:54:11 +00:00
Eric Pouech 32872b1a57 - implementation of LdrLoadDll out of loader/module.c
- in impacted functions, ensure that we only use ntdll functions
- for internal loading, start using NTDLL style for error reporting
- making use of new LdrLoadDll
2003-03-14 05:01:20 +00:00
Eric Pouech 1efa50e47e - implementation of LdrUnloadDll out of loader/module.c
- in impacted functions, ensure that we only use ntdll functions
- making use of new LdrUnloadDll
2003-03-14 04:00:52 +00:00
Dmitry Timoshkov ad068bc0c2 Move vsnwprintf implementation to libwine_unicode, export snprintfW
and vsnprintfW from there, forward MSVCRT and NTDLL functions to
libwine_unicode.
2003-03-12 22:30:16 +00:00
Tony Lambregts 8cf24b7d80 Add flags for RegRestoreKey. 2003-03-12 20:14:35 +00:00
Eric Pouech f3a73ef7af - implemented LdrGetProcedureAddress and made use of it for
GetProcAddress
- implemented LdrGetDllHandle and made use of it in GetModuleHandle
- removed MODULE_DllThreadDetach from loader/module.c (should have
  been removed in a previous patch)
2003-03-06 23:41:37 +00:00
Robert Reif 998f56e02e Fixed a FIXME for full duplex. 2003-03-06 22:44:38 +00:00
Eric Pouech d4fcc4bd06 Removed SO loading type. 2003-03-05 02:50:25 +00:00
Alexandre Julliard d04ccb8ebe Use SIGUSR1 instead of SIGSTOP to suspend threads. 2003-03-04 22:18:43 +00:00
Eric Pouech 7d6096480a - added Ldr* information to include/winternl.h
- exported a few functions/global vars from module.h while we move
  code from loader/module.c to dlls/ntdll/loader.c
- implemented LdrShutdownProcess, LdrShutdownThread and
  LdrDisableThreadCalloutsForDll (and made use of them)
2003-03-04 04:36:56 +00:00
Robert Reif f851a860fc Capture thread checks queue for more headers before giving error.
Capture driver work started.
2003-03-04 02:11:21 +00:00
Alexandre Julliard 551797bc57 Properly save/restore %gs register across 16-bit calls. 2003-02-27 21:11:13 +00:00
Alexandre Julliard 7e92c9af7b Replaced most uses of the auto-generated glue code by explicit calls
to WOWCallback16Ex.
2003-02-27 21:09:45 +00:00
Alexandre Julliard ce13153821 Moved LDT selector allocation routines to libwine.
Added support for correct locking of all LDT operations.
Added separate functions to manipulate the %fs selector, which allows
using a global GDT selector on recent Linux kernels.
2003-02-26 20:34:45 +00:00
Jukka Heinonen f498d4b8fb Move controller info and state/functionality info initialization to
winedos. Convert many incorrectly static fields into dynamic
fields. Fix vesa mode reporting and realloc memory block consistency
checks.
2003-02-26 05:02:54 +00:00
Mike Hearn 7aa04f2744 Implemented GlobalMemoryStatusEx(). 2003-02-26 04:35:36 +00:00
Mike Hearn 37f08173b5 Add some OLECMDIDs present in MS headers. 2003-02-26 04:34:04 +00:00
Alexandre Julliard 77c8b1dc2b Pass the pid of the new process in the new_process request, don't
depend on the parent pid to find the startup info.
2003-02-24 20:51:50 +00:00
Robert Reif bc362fd348 Added definitions for DirectSoundFullDuplex and moved some GUIDs
around.
2003-02-24 20:37:50 +00:00
Jukka Heinonen 54f377c6c5 Move resize memory block to winedos and make it resize in place and
work correctly even when trying to allocate too much memory.
2003-02-19 22:11:04 +00:00
Thomas Mertes f4757bb631 - Implement RtlCharToInteger, RtlExtendedMagicDivide, RtlUpperChar,
RtlInt64ToUnicodeString, RtlIntegerToChar, RtlIntegerToUnicodeString,
  RtlLargeIntegerToChar, RtlUnicodeStringToInteger and
  RtlUpcaseUnicodeChar.
- Use toupperW instead of toupper in RtlCompareUnicodeString.
2003-02-19 03:39:46 +00:00
Alberto Massari 8cded56db3 - the first argument in several Unicode functions was an ASCII string
instead of a Unicode one
- added more macro definitions
2003-02-19 03:39:12 +00:00
Ove Kaaven 97b4e6ff75 "Implemented" IID_BS_* macros. 2003-02-19 03:38:07 +00:00
Robert Reif 6041ff301e Added/fixed some definitions for direct sound capture. 2003-02-14 23:57:27 +00:00
Alexandre Julliard 80774de724 Authors: Mike McCormack <mike@codeweavers.com>, Huw Davies <huw@codeweavers.com>
- make world transforms work in EMFs
- fix declaration of GDICOMMENT_* macros
- refuse to load unaligned EMFs
- fix SetWinMetaFileBits
2003-02-14 23:30:27 +00:00
Uwe Bonnes 51e4839fb0 Separate "Enumerate Hardware Addresses" as function, as other netapi32
function need it.
Implemented level 0 of NetWkstaTransportEnum.
2003-02-14 23:29:24 +00:00
Alexandre Julliard cf27a7fa3b Changed fd operations to take a struct fd instead of a struct object.
Removed get_file_info function from object operations.
Added get_device_id request to avoid abusing get_file_info.
2003-02-14 20:27:09 +00:00
Warren Baird 93a8687efc Added BYTE explicit casts in RGB macro definition. 2003-02-12 01:15:27 +00:00
Jukka Heinonen 101f91d9df Reorganize IOCTL handling.
Move ASPI hooking to winedos.
Move some miscellaneous functions to winedos.
Remove unnecessary exports from winedos dll.
2003-02-11 22:22:50 +00:00
Dimitrie O. Paun f3cd07f033 Add missing ListView_SetItemCount declaration. 2003-02-11 22:15:22 +00:00
Rolf Kalbermatter d11efe88b9 Change SHCreateDirectory and Win32DeleteFile to be Unicode or ANSI depending
on OS version. Add ShCreateDirectoryEx API.
2003-02-01 00:41:30 +00:00
Andrew John Hughes 6f929659bd Extended SetSystemPaletteUse to deal with error conditions. 2003-02-01 00:36:38 +00:00
Alexandre Julliard 772517739e No longer used. 2003-01-31 03:24:59 +00:00
Andrew John Hughes f1028ea28b - DeviceCapabilities16 now calls PSDRV_DeviceCapabilities.
- ExtDeviceMode16 now calls PSDRV_ExtDeviceMode.
- Extended switch statement in DeviceCapabilities to handle new
  options.
- Added comments to functions.
2003-01-31 03:24:33 +00:00
Ove Kaaven 882fc0383f Some RPC definitions. 2003-01-31 03:21:11 +00:00
Andrew John Hughes 1f7dbca935 Provide stub implementations of GetTypeByNameA and SetServiceA. 2003-01-30 00:23:39 +00:00
Dimitrie O. Paun d61e43ca30 Remove writable-strings support. 2003-01-30 00:19:14 +00:00
Alexandre Julliard 49a013cdd3 When using desktop mode attach all thread inputs together, so that
keyboard focus works properly.
2003-01-28 00:34:07 +00:00
Andreas Mohr 056d2a4421 "InternetAutoDial" should be "InternetAutodial". 2003-01-28 00:17:15 +00:00
Alexandre Julliard 29419b13c9 Removed a couple of extra semicolons. 2003-01-24 00:49:32 +00:00
Matthew Davison 316473d239 Remove the HEAP_strdupAtoW macro. 2003-01-23 23:07:56 +00:00
Alexandre Julliard 8b6a21950d Create an X input context for each top-level window. 2003-01-23 01:28:12 +00:00
Marcus Meissner d0372b4e6e Fixed ICOM_CALLs for IFont_xx methods.
Added IPersistPropertyBag, IPersistStreamInit interfaces with stubs.
Implemented IDispatch::Invoke for the used DISPIDs.
2003-01-23 01:23:59 +00:00
Rolf Kalbermatter 49e1b69172 Change SHChangeNotify to be Unicode and ANSI indifferent, as the type
of parameters is really defined by uFlags parameter.
2003-01-21 19:36:24 +00:00
Marcus Meissner 4a46348a9c Changed MONITORINFOEXA,W definition to the one in MSDN which does not
cause gcc 3.3 warnings.
2003-01-21 00:29:31 +00:00
John K. Hohm 2db37e20cd Added optional OLESelfRegister to wine_common_ver.rc, used in
dlls/comcat.
2003-01-20 23:24:43 +00:00
Alexandre Julliard c5abf54be1 Fixed typo. 2003-01-15 03:32:22 +00:00
Alexandre Julliard d1e46c5d5b Define __stdcall in msvcrt/process.h if windef.h hasn't been included. 2003-01-15 03:31:49 +00:00
Jeroen Janssen 95209b3937 Fixed wine_ldt_copy importing on cygwin. 2003-01-15 00:44:00 +00:00
Steven Edwards be514b908e Check for vsnprintf and _vsnprintf, and define vsnprintf with
_vsnprintf if needed.
2003-01-14 19:35:03 +00:00
Robert Shearman bda22de541 - Add some stubs.
- Implement kernel32.FatalExit.
2003-01-13 20:44:13 +00:00
Alexandre Julliard b69389520c Added configure check for regex.h. 2003-01-13 18:41:40 +00:00
Dimitrie O. Paun 695c2bbde6 Define the (old name) struct stat, it is used by programs using the
old names.
2003-01-13 18:31:53 +00:00
Dimitrie O. Paun df9537eaef Use inline functions instead of macros to avoid problems in C++.
Inline functions respect scope, whereas macros don't.
Define umask in sys/stat.h, and mode_t in sys/types.h.
2003-01-11 22:49:54 +00:00
Dimitrie O. Paun 3fd4087dde Define qsort and bsearch in stdlib.h. 2003-01-11 20:54:19 +00:00
Dimitrie O. Paun 4d28cc880d Add dirent.h header for Unix/mingw compatibility. 2003-01-11 20:54:06 +00:00
Dimitrie O. Paun 651f32fb50 Add unistd.h files for mingw/Unix compatibility. 2003-01-10 01:47:48 +00:00
Dmitry Timoshkov 682698a498 Change types of WPARAM, LPARAM and LRESULT according to MS SDK definitions. 2003-01-10 01:45:13 +00:00
Marcus Meissner 728bedcfc6 Added GIF decompressor support to OLE Automation IPictures. 2003-01-09 06:04:33 +00:00
Eric Pouech fa8b85aa5c Set the edition mode as a specific attribute, not an extension of the
console mode.
2003-01-09 06:01:32 +00:00
Alexandre Julliard 8004dec6c9 Regenerated with latest widl. 2003-01-09 01:10:14 +00:00