Commit Graph

785 Commits

Author SHA1 Message Date
Francois Gouget f82a723a43 The COM virtual tables must use the
'ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE' macro to provide padding in C++.
2000-01-30 02:55:16 +00:00
Andreas Mohr 8cd93514f0 - add some documentation items
- fix some spelling
- fix some warnings
2000-01-29 21:12:58 +00:00
Andreas Mohr 1fe93345c4 - support for reading labels and serial nums from device
- "reasonable" misc/cdrom.c device handling
- much improved audio CD support
- serial number overwrite bug fix
- spelling fixes
2000-01-29 21:11:47 +00:00
Andreas Mohr 027187df65 Added SETUPX dll. 2000-01-29 21:09:02 +00:00
Patrik Stridvall fb32c7bb38 Fixed minor issues found by winapi_check. 2000-01-29 21:02:19 +00:00
Marcus Meissner d40170d20c Implemented ImageList_Read (not 100% correct in regarding to setting
the bitmap).
Filled out unknown members of ILHEAD.
Started reordering IMAGELIST to make it Windows binary compatible.
2000-01-29 21:00:25 +00:00
Marcus Meissner 8b466e0ce8 nIconIndex == -1 should return nr of available icons, not 0. 2000-01-29 20:59:31 +00:00
Alexandre Julliard 0dd3655fd0 Removed debugstr.h. 2000-01-29 19:49:58 +00:00
Juergen Schmied 6a9f1906a5 Small fix. 2000-01-27 05:39:44 +00:00
Alexandre Julliard 3d678afc4c Dynamically load version.dll in MMDRV_GetDescription32. 2000-01-26 02:36:43 +00:00
Alexandre Julliard 8c7f7e4df9 Use a linked list instead of a DPA for the hook list. 2000-01-26 02:25:44 +00:00
Gerard Patel 617f6908de Returns an error if trying to write to a stream opened for read. 2000-01-26 02:04:44 +00:00
Alexandre Julliard fee65e4672 Don't crash when ObjectAttributes is NULL. 2000-01-26 01:39:51 +00:00
Alexandre Julliard eafa391081 Use argv[0] to locate the server executable. 2000-01-25 21:19:58 +00:00
Alexandre Julliard cb1fc735f0 Changed the server to return STATUS_* error codes. 2000-01-24 21:58:06 +00:00
Alexandre Julliard 2646fb6047 Built a complete translation table for RtlNtStatusToDosError. 2000-01-24 20:59:45 +00:00
Alexandre Julliard 54dc94ebf8 Merged dlls/ver into dlls/version. 2000-01-23 22:56:08 +00:00
Juergen Schmied 02d45e52c5 - implementation of RtlReg* (read access), RtlEvent*, RtlSemaphore*,
NtAllocateLocallyUniqueId
- implementation or stubs for NtAccessCheck, NtSetSecurityObject,
  RtlClearBits, RtlEqualPrefixSid, RtlFindClearBits,
  RtlFormatCurrentUserKeyPath, RtlGetControlSecurityDescriptor,
  RtlIdentifierAuthoritySid, RtlImpersonateSelf, RtlInitializeBitMap,
  RtlInitializeGenericTable, RtlMakeSelfRelativeSD,
  RtlPrefixUnicodeString, RtlSetBits, RtlUnicodeToMultiByteN,
  RtlUpcaseUnicodeStringToOemString, RtlUpcaseUnicodeToOemN,
  RtlValidSid, RtlxUnicodeStringToOemSize
- corrected most RtlString* functions, added documentation
- more fixes and partial implementations
2000-01-23 22:35:33 +00:00
Marcus Meissner 9837b598bc Replaced some weird C constructs (char[]="" ) with more compatible ones.
Added another NULL ptr check in _OnOpen.
2000-01-23 22:30:22 +00:00
Alexandre Julliard de07869657 Moved winsock implementation to dlls/winsock. 2000-01-23 22:07:15 +00:00
Marcus Meissner bade58f2d2 Added *.spec.c, *.spec.glue.s, *.glue.c to .cvsignore that need them. 2000-01-23 22:00:06 +00:00
Dmitry Timoshkov d1e3d8d841 Replaced LocalToWideChar() by lstrcpynAtoW(), WideCharToLocal() by
lstrcpynWtoA().
2000-01-23 03:21:14 +00:00
Marcus Meissner 317c9d0ff6 Implemented (Register|Get|Revoke)ActiveObject from the docs. 2000-01-23 03:15:25 +00:00
Alexandre Julliard 681c75bf17 Added debugstr_guid function and used it to replace
WINE_StringFromCLSID in all debugging messages.
2000-01-18 05:09:49 +00:00
Uwe Bonnes d0b0dbdc17 Always initialize lpWaveHdr->lpNext to NULL.
Don't fail on strange fragment sizes.
2000-01-18 01:09:45 +00:00
Gerard Patel 18a1126687 Rounds to the lowest integer, not the nearest. 2000-01-17 22:21:56 +00:00
Juergen Schmied 927525a9b3 If there is enough space in the buffer and the type is REG_SZ and the
string is not 0-terminated RegQueryValue and RegEnumValue are appending a 0.
2000-01-15 23:38:49 +00:00
Eric Pouech 4f81c3ea30 Replaced Wine specific DRIVER_GetType by a correct implementation of
GetDriverFlag.
2000-01-15 22:29:32 +00:00
Todd T. Fries f84e8eaf8a Add HAVE_SOUNDCARD_H to support OpenBSD. 2000-01-15 22:19:56 +00:00
Marcus Meissner bc3ab4c541 Implemented OleRun. 2000-01-15 22:14:20 +00:00
Alexandre Julliard afa4315507 Removed a dependency between oleaut32 and comctl32. 2000-01-12 05:01:02 +00:00
Peter Hunnisett 10c1532b41 Fix problem with initialization (reported by Andreas Mohr). 2000-01-12 04:56:13 +00:00
Alex Priem 504cfe51d3 InfoPtr checking mixed up WM_DESTROY and WM_CREATE. 2000-01-12 04:55:27 +00:00
Patrik Stridvall 7b0a088f5a Non-Linux compile fix. 2000-01-09 21:42:42 +00:00
Juergen Schmied f94761b873 Corrected behaviour of RegOpenKey in case of failure. 2000-01-09 21:10:18 +00:00
Alexandre Julliard 74e4a28a34 Built-in DLLs resources are now specified in spec file.
Removed unnecessary flags in built-in DLLs tables.
2000-01-09 04:20:31 +00:00
Bradley Baetz ce80647898 Fixed race condition between app and wine in WAVE_mciPlay. 2000-01-09 02:38:24 +00:00
David Elliott 8b8a3438e2 Removed malloc/free hack and replaced with HeapAlloc/HeapFree throughout code.
Added critical section around code dealing with global variables.
Added a few comments about how ASPI is supposed to work.
Copy sense info into the correct place (right after the fixed 16-byte CDB).
Now returns target status (many Windows apps won't even look at the
sense are unless they get an error code).
Added SC_ABORT_SRB FIXME.
Added SC_GET_DISK_INFO place holder for clarity.
Updated Linux SG interface structure to include new kernel 2.2
status fields.
2000-01-08 22:25:02 +00:00
Marcus Meissner 6e8fe72edf The new filedialog stuff does not handle template. So do not call if
there are any.
2000-01-08 22:23:12 +00:00
Patrik Stridvall 3e1be2679a Fixed some issues found by winapi_check. 2000-01-08 22:21:15 +00:00
Ulrich Weigand f030d7527a Fixed alignment problem with VERSION_INFO members. 2000-01-08 22:19:46 +00:00
Alex Priem f1a3f1752d - When processing WM_PAINT messages, the treeview might sometimes use
the wrong hdc. Fixed.
- Better checking for TREEVIEW_INFO *infoPtr=NULL.
  Similar to code in toolbar.c
- Other small fixes (subclassed edit control).
2000-01-05 01:48:56 +00:00
Adam Sacarny d2304aa893 Fix for compilers that don't support 'long long' (From Ove Kaaven). 2000-01-05 01:42:13 +00:00
Eric Pouech 282377824d Added more MIDI messages 16<=>32 mapping.
Fixes some bugs in buffers handling and index for MAPPER.
2000-01-04 01:04:48 +00:00
Eric Pouech a5bad1034e Put back visible minimum timer resolution to 1 ms.
Decorrelate the service thread resolution from the user required timer
& visible minimum resolutions.
Removed the Callback.TimeFuncProc entry.
2000-01-04 00:57:11 +00:00
Bradley Baetz 6797d74415 Convert mmio to allow the use of 32 bit mmio procedures. 2000-01-04 00:54:18 +00:00
Juergen Schmied 6d17c61096 Small fixes. 2000-01-04 00:33:56 +00:00
Patrik Stridvall 6afc68aabd Fixed some issues found by winapi_check. 2000-01-04 00:32:38 +00:00
Alexandre Julliard b7c84d3b22 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Implemented WM_SIZE message support. Optimized drawing to use
precalculated size values rather than recalculating during each call
of MONTHCAL_Refresh.
2000-01-04 00:30:21 +00:00
Eric Pouech 0adb3c23ad Use a uniform naming scheme for driver modules. 2000-01-04 00:27:39 +00:00
Eric Pouech ba2a9a06ef Added support for WODM_BREAKLOOP message. 2000-01-04 00:25:57 +00:00
Eric Pouech 1bf5dea29a Removed extraneous ERR message. 2000-01-04 00:25:39 +00:00
Eric Pouech 507950c461 Added support for MCI_INFO_COPYRIGHT and MCI_INFO_NAME. 2000-01-04 00:25:22 +00:00
Andreas Mohr 06b3475048 Added spec entry for _itoa. 2000-01-04 00:24:38 +00:00
Andreas Mohr caad1d8e9d - prevent mem leak of CRTDLL_acmdln_dll
- better argument parsing
- last xargv entry has to be NULL
- return value is environment pointer instead of NULL
- added a spec entry for bsearch()
2000-01-04 00:22:46 +00:00
Alexandre Julliard 6f715732e7 Make use of automatic ordinal allocation. 2000-01-01 22:06:18 +00:00
Alexandre Julliard 81ee21ddff Cosmetics. 1999-12-27 05:26:00 +00:00
Francois Gouget baa9bf9a23 Buffer overflows and strncpy fixes. 1999-12-27 05:24:06 +00:00
Alexandre Julliard 8a3edf9b5a Fixed/commented out duplicate entry point names. 1999-12-26 23:12:38 +00:00
Francois Gouget e73b8b84ba Wrapped some strings in a debugstr_* call.
Replaced some calls to debugstr_{a,w} by debugstr_{a,w}n.
Removed redundant 'L's for Unicode strings.
Tried to harmonize the traces a little bit.
1999-12-26 00:40:37 +00:00
Francois Gouget f3ca842678 FILEDLG95_HandleCustomDialogMessages:
- for the three handled messages we must return the required buffer size
- for CDM_GETFILEPATH paths like "dir\file" were handled incorrectly
- fixed multiple potential buffer overflows.
FILEDLG95_OnOpen: fixed a use of strncpy without '\0'.
FILEDLG95_SHELL_NewFolder: the size of lpstrCaption was incorrect
leading to a buffer overflow.
1999-12-26 00:34:23 +00:00
Francois Gouget 7e5f828b12 Better support very long strings by avoiding to copy them in a fixed
size buffer (one exception partly remains: callback strings).
Raise the buffer size to 512 characters.
Merge the handling of item 0 and other items together in GetItemA to
reduce code duplication.
1999-12-25 22:57:17 +00:00
Marcus Meissner bac7be750b Cast the unsigned int to signed, or NEAR_MATCH will not work. 1999-12-25 22:55:40 +00:00
Eric Pouech f919cf3a41 Fixed some bogus values in MCI_STATUS handling (position & length of tracks).
Added support for MCI_INFO on MEDIA_UPC & MEDIA_IDENTITY commands.
1999-12-25 22:54:11 +00:00
Huw D M Davies f35356db11 DPA_DeletePtr was resizing the array to a too small size. 1999-12-25 22:51:53 +00:00
Francois Gouget cb9c964952 Modified IcmpCloseHandle and IcmpSendEchoRequest so that we don't
crash if the handle is INVALID_HANDLE_VALUE.
1999-12-25 22:46:22 +00:00
Peter Hunnisett de73965d67 Fixed ordinal numbering and added new spec stub. 1999-12-20 04:12:23 +00:00
Marcus Meissner 5b66f70f67 Small fix to get GET_DEVICE_TYPE working (verified by Dan Kegel). 1999-12-20 04:02:48 +00:00
Ian Schmidt c5af796977 Corrected background color and fixed leaking GDI brush. 1999-12-20 04:00:52 +00:00
Francois Gouget 7e39c75b42 If lpTitle==NULL and cbBuf==0 then we must return the required buffer
size.
1999-12-20 03:52:29 +00:00
Shaun Morris 271f522fa9 Implemented _TrackMouseEvent for the TME_LEAVE flag. 1999-12-20 03:48:25 +00:00
Eric Pouech 5c7f1ab978 Added the ability to open several streams on the same driver.
Added a few acmMetrics options.
1999-12-12 21:28:09 +00:00
Eric Pouech be5e3c6512 SysStringLen can get a NULL pointer (and shall return 0). 1999-12-12 21:27:41 +00:00
Eric Pouech 656eebd866 Now using notification for detecting when a WAVEHDR has been played 1999-12-12 21:27:18 +00:00
Eric Pouech d5cd083d2c Enhanced synchronization between playback thread and stop/close commands
Now using notification for detecting when a WAVEHDR has been played
1999-12-12 21:26:09 +00:00
Huw D M Davies 7377a16297 Fix no. of arguments in a WARN statement. 1999-12-12 19:39:08 +00:00
Andreas Mohr 7fb732e597 Fixed compiler warnings. 1999-12-12 00:47:51 +00:00
Juergen Schmied 128f1e7015 Added StrNCpyA, StrNCpyW. 1999-12-12 00:40:23 +00:00
Alexandre Julliard 8551f8ca98 Xiang Li
Implementation of a proxy ODBC32 dll.
1999-12-11 23:56:46 +00:00
Alexandre Julliard 1dc551cf6b Authors: Kai Morich <kai.morich@bigfoot.de>, Marcus Meissner <marcus@jet.franken.de>
Added systray support.
Swallow the windows systray icons into kpanel systray if KDE/KWM is
running.
1999-12-11 23:54:59 +00:00
Juergen Schmied 044db46459 Stubs for LsaFreeMemory, LsaQueryInformationPolicy, LsaClose.
Small fixes.
1999-12-11 23:19:54 +00:00
Bradley Baetz 0497aa649a The wavemap driver wasn't passing the callback type to the
DriverCallback routine correctly.
1999-12-11 23:04:55 +00:00
Patrik Stridvall 9af5e69107 Fixed some issues found by winapi_check. 1999-12-11 23:02:15 +00:00
Juergen Schmied 9270a10926 Small fixes. 1999-12-11 23:00:17 +00:00
Marcus Meissner eff4087da1 Added NtPowerInformation stub. 1999-12-10 03:27:15 +00:00
Gerard Patel f44c1f7e13 Transfer only cbStruct size in BindCtxImpl_S(G)etOptions. 1999-12-10 03:23:35 +00:00
Dimitrie O. Paun dd03cc19fd Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Bradley Baetz 8ee45ac7d7 - Fix MMIO_{Open,Rename} to check the filename (of the form
file.ext+ABC) for the correct mmio procedure to use.
- mmioStringToFOURCC now converts to uppercase if asked to, and handles
  strings of length < 4.
1999-12-08 03:26:31 +00:00
Andreas Mohr a2da86898a Added .rc file support for Win16 NE modules.
Moved display.c and mouse.c to separate dll directories.
1999-12-06 01:20:00 +00:00
Andreas Mohr ffdd1717d4 - the OLE version returned was too low
- renamed OABuildVersion16 to OaBuildVersion16
- spelling fixes
1999-12-05 23:52:56 +00:00
Francois Gouget 42d4f30156 Whenever we do an strncpy we should make sure we put a '\0' at the end
of the buffer.
1999-12-05 23:11:47 +00:00
Eric Pouech 72da44af4c Fixed mciInfo. 1999-12-05 23:09:49 +00:00
Eric Pouech c06089d0c5 Added support for WAVE_FORMAT_QUERY flag in wodOpen. 1999-12-05 23:09:13 +00:00
Eric Pouech 94d6bc927f Correctly implement ACM_STREAMOPENF_QUERY flag in acmOpenStream. 1999-12-05 23:08:42 +00:00
Eric Pouech 92e492e296 Fixed MCI_OPEN command for types like "CDAUDIO!H:". 1999-12-05 23:08:08 +00:00
Eric Pouech 29ebdb7690 Fake MIDI_IO_STATUS support in midi in open
Fixed bug in midi in while reading data
1999-12-05 02:19:24 +00:00
Eric Pouech 6ff83ad45f Fixed infinite loop for 0-length wavehdrs. 1999-12-05 02:18:59 +00:00
Eric Pouech e2ab3ef792 Fixed buggy playback for non PCM files
Added support for from & to indexes for playback
Now using double wavehdr for better output
Cleaned-up internal structs and removed last 16 bit API adherence
1999-12-05 02:18:35 +00:00
Eric Pouech 5f2f5188b2 Tried to reduce echo in playSound API (using two wavehdr instead of
one).
1999-12-05 02:18:01 +00:00
Eric Pouech aa5f5a3244 Added callback mechanisms for MIDI IN. 1999-12-05 02:17:40 +00:00