Commit Graph

676 Commits

Author SHA1 Message Date
Robert Riggs
f0fa956384 More general code cleanup for readability.
A few more parameter validation checks.
Return DS_OK rather than 0 in a number of functions.
Fixed primary buffer ref count bug in CreateSoundBuffer().
Handle 1-3 byte sound fragments that would cause buffer overruns.
Clear primary buffer with a neutral value instead of always 0
(because 128 is neutral for 8-bit sound).
Fix bug with mixing 8-bit sound into the primary buffer.
Broke out the main block in DSOUND_thread() to another function for
readability.
Handle "no audio" and "audio busy" cases properly when initializing
dsound. Rename DllCanUnloadNow() to DSOUND_DllCanUnloadNow().
1998-12-07 12:13:01 +00:00
Ove Kaaven
eee1ddc809 Made variables optimized into registers accessible. 1998-12-07 12:09:55 +00:00
Uwe Bonnes
f0bacceb89 The spec definition for MonitorFromWindow was wrong. 1998-12-07 11:05:23 +00:00
Stefan Leichter
9f8a5298e2 File handle bug fix. 1998-12-07 11:02:55 +00:00
Eric Kohl
0470222b8e Added paragraph about different dll versions and structure sizes. 1998-12-07 11:01:19 +00:00
Eric Kohl
8b1a2a7b72 Added missing TOOLINFO structure. 1998-12-07 10:59:40 +00:00
Andreas Mohr
59ae7d94ea Fixed a heap bug. 1998-12-07 10:56:40 +00:00
Andreas Mohr
a00b49f068 - Several kernel.spec return type mismatch fixes
- [GS]etSelectorBase Win32s offset support by Ulrich Weigand (thanks v.m. !!)
- Move AppToWine/WineToApp macros as W32S_APP2WINE etc. to ldt.h
- LocalNotify() basic support
- Fixes for local heap handling with heap handles created by Virtual*()
1998-12-07 10:48:09 +00:00
Ulrich Weigand
94632fcd68 Bugfix: -microsoft-symbol encoding was not recognized. 1998-12-07 10:36:56 +00:00
Ulrich Weigand
7af95ae105 Bugfix: WIN_ResetQueueWindows would skip some windows. 1998-12-07 10:24:42 +00:00
Ulrich Weigand
75de18d807 Allow recursively reentering CALL32_LargeStack. 1998-12-07 10:23:10 +00:00
Patrik Stridvall
f638aef517 Added the new TTY driver. 1998-12-07 09:36:13 +00:00
Patrik Stridvall
e35d6366ef Moved more code to the X11 driver. 1998-12-07 09:13:40 +00:00
Joseph Pranevich
1c1be3aa37 Call the new console driver for some routines. This is not completely
done yet and more for testing purposes.
1998-12-03 16:29:56 +00:00
Joseph Pranevich
791cd6a342 Added console support. 1998-12-02 19:58:08 +00:00
Huw D M Davies
d6a91b7a74 Move OEM resources to the x11drv. 1998-12-02 10:29:04 +00:00
Alexander Larsson
a8745ea31e Opening a file in a directory which doesn't exist returns
ERROR_FILE_NOT_FOUND instead of ERROR_PATH_NOT_FOUND.
1998-12-02 10:04:52 +00:00
Marcus Meissner
88065baf13 Handle atoms "# non number" (oracle client). 1998-12-02 10:00:48 +00:00
Ulrich Weigand
829445172e Renamed KERNEL.327 to HandleParamError (as in 'Undoc. Windows').
Fixed wrong ordinals/prototype for MapProcessHandle/GetModuleFileName32.
Added names for some undocumented exports.
1998-12-01 16:23:19 +00:00
Ulrich Weigand
23e9b04094 Implemented GlobalChangeLockCount (KERNEL.365). 1998-12-01 15:19:54 +00:00
Ulrich Weigand
416d39e7c4 Implemented Local32Info, stubs for Local32First/Next (KERNEL.444-446). 1998-12-01 14:45:37 +00:00
Ulrich Weigand
87dbaa9a05 Implemented GdiFreeResources (GDI.609). 1998-12-01 13:00:05 +00:00
Robert Riggs
b9950124a1 Fixed 8-bit WAV format handling (it is unsigned data).
Fixed off-by-one checks for buffer wrap.
Increment ref count for primary buffer in CreateSoundBuffer().
Added DSBPN_OFFSETSTOP support to position notification code.
Lots of minor parameter validation checks.
Stubs for: IDirectSound_initialize(), IDirectSound_Compact(),
and IDirectSound_GetSpeakerConfig().
Fixed freq shifting with 16-bit data problem, fixed 8bit<->16bit
conversion.
Lots of thread locking for DirectSound buffers.
Dealloc primary buffer when dsound is deallocated.
1998-12-01 12:57:31 +00:00
Uwe Bonnes
99b8886e74 Added the TEXT() and MAKELRESULT() definitions. 1998-12-01 12:54:18 +00:00
Juergen Schmied
a40e74255e Small change. 1998-12-01 12:52:56 +00:00
James Juran
50bb879dfb Revert misguided change to install_lib that broke -disable-lib
configure option.
1998-12-01 12:47:29 +00:00
Juergen Schmied
24ab0f1f77 New parameter SPI_GETDRAGFULLWINDOW.
One missing break in SPI_GETDRAGFULLWINDOW.
1998-12-01 11:19:51 +00:00
Juergen Schmied
a784a9d7eb New functions ILGlobalClone/ILGlobalFree. 1998-12-01 11:04:14 +00:00
Huw D M Davies
f59b215a73 Add a note about WinPrinters. 1998-12-01 09:58:56 +00:00
Marcus Meissner
1ffd5009fa Added some stubs, some ptr->str conversions. 1998-12-01 09:34:05 +00:00
Lionel Ulmer
581a8edd74 - added definition of DirectDrawCreateClipper.
- more versatile support of surfaces / better surface description support.
1998-12-01 09:30:22 +00:00
Juergen Schmied
07e0d947da Fixed wrong parameter count for SHChangeNotifyDeregister, SHFreeUnusedLibraries.
New functions ParseField, Get/SetInstanceExplorer(), PathIsUNC, PathIsRelative.
Stubs SHWaitForFileToOpen, PathFindOnPath.
1998-12-01 08:55:13 +00:00
Juergen Schmied
28d3542071 Small changes to print the strings in the relay-trace. 1998-12-01 08:31:11 +00:00
NF Stevens
a406682cea The class name needs to be converted to a getptr. 1998-12-01 08:29:29 +00:00
Eric Pouech
40c7c4f371 Fixed memory/status recovery when error occured in MIDI_mciOpen.
Fixed support for RMID files in MIDI_mciOpen.
Fixed bug for playing MIDI files with tempo changes. Sound output is
now correct, but length of tracks (and therefore of whole file) is not
correct.
Changed error values (INTERNAL => INVALID_FILE) when file cannot be read.
1998-12-01 08:28:43 +00:00
Eric Pouech
95bce834ca Fixed memory/status recovery when error occured in WAVE_mciOpen.
Changed error values (INTERNAL => INVALID_FILE) when file cannot
be read.
1998-12-01 08:27:22 +00:00
Juergen Schmied
c8a213a2b6 Stubs for MCIWndCreate[A|W]. 1998-12-01 08:26:45 +00:00
Juergen Schmied
07b6939bdf VerQueryValue, bugfix: we cant convert binary data with
HEAP_strdupWtoA (\VarFileInfo\Translation).
1998-12-01 08:25:38 +00:00
Juergen Schmied
54b33cfbeb Stubs for EnumServiceStatus32, small changes. 1998-11-30 17:41:17 +00:00
Juergen Schmied
4493a74c23 Load now the first icon from the *.ani file instead of crashing. 1998-11-30 17:29:28 +00:00
Marcus Meissner
773c7b75f6 Fix warnings in miscemu/main.c. 1998-11-30 17:18:30 +00:00
Uwe Bonnes
9ea63d0ca0 - added some defines around the CommPort (PURGE_XXX and MS_XXX_ON)
- added the DLGTEMPLATE and DLGITEMTEMPLATE structures
- added the function definition for StartPage,EndPage,GetCommMask,
	GetCommModemStatus and PurgComm,WaitCommEvent.
1998-11-30 17:16:45 +00:00
Paul Quinn
d8a541d1fc Fixed activation/Focus message order problem when creating a new HWND. 1998-11-30 13:37:54 +00:00
Paul Quinn
eede6b044e Implementation of ChildWindowFromPointEx functions. 1998-11-30 13:15:36 +00:00
Gavriel State
d290aa4488 Fixed registry query error value: now returns ERROR_FILE_NOT_FOUND. 1998-11-30 12:43:34 +00:00
Huw D M Davies
a38d84d854 GetSystemPaletteEntries returns palette size if entries==NULL.
Use this instead of COLOR_GetSystemPaletteSize.
1998-11-30 11:18:26 +00:00
Marcus Meissner
1ff1f7d15f Implemented class factory for dsound. 1998-11-30 11:07:11 +00:00
Uwe Bonnes
94113fa10e - fixed a minimal error in GetCommMask definition.
- adds stubs for GetCommModemStatus and WaitCommEvent.
1998-11-30 10:40:02 +00:00
Uwe Bonnes
79f1638df2 Fixes for C++ Winelib compilation. 1998-11-30 10:36:51 +00:00
Marcus Meissner
6dd19961c5 Bugfix: second RegOpenKey should use CLSIDkey instead of HKEY_CLASSES_ROOT. 1998-11-30 10:33:17 +00:00