Commit Graph

679 Commits

Author SHA1 Message Date
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
Eric Pouech ba42b262d1 Fixed improper acm streams closing. 1999-12-05 02:17:18 +00:00
Eric Pouech 382c9a1ad2 Debug traces cosmetic fixes. 1999-12-05 02:16:48 +00:00
Peter Ganten b5d3c73a11 waveHdr.lpData was eventually HeapFree()ed uninitialized. 1999-12-04 04:18:09 +00:00
Michael McCormack 0c0f7d3560 Added code to some service functions (some untested), fixed
declaration of service main function.
1999-12-04 04:03:45 +00:00
Alexandre Julliard 2bab80dea4 Pierre Mageau
Murali Pattathe
Francois Boisvert
Francis Baudet
Henning Hoffmann
Many fixes.
1999-12-04 04:03:01 +00:00
Huw D M Davies bbe263b68b Added stubs for several MRU list functions and documented some others. 1999-12-04 04:01:41 +00:00