Commit Graph

2002 Commits

Author SHA1 Message Date
Gerard Patel 29fe7e85f5 Changed string pointer calculation. 2001-01-07 21:52:08 +00:00
Huw D M Davies 62519abbaf Moved all the documented shlwapi functions out of undocshell.h into
shlwapi.h.  Nothing but files in dlls/shell32 will now include
undocshell.h.
2001-01-07 21:50:52 +00:00
Marcus Meissner b904063b54 Removed one &, now CoCreateInstance() of ddraw objects works again. 2001-01-07 21:49:00 +00:00
Alexandre Julliard 105b0f4e64 Use the exe name and file handle we got from the server also when
starting Win16 or DOS programs, to avoid depending on the contents of
the command-line.
2001-01-06 01:55:49 +00:00
François Gouget da2b6a9f26 Fixed some HFILE vs. HANDLE mismatches.
If not used the last parameter of CreateFile must be 0, not -1.
2001-01-06 01:29:18 +00:00
Eric Pouech c4c7324c45 Forced loading of msacm32 when msacm is loaded.
Added msacm DLL pair in config files.
Added some dumb calls from 16 to 32.
2001-01-06 01:23:11 +00:00
Huw D M Davies fc7f6071ff Implement InternetCanonicalizeUrl. 2001-01-06 00:36:43 +00:00
Johan Gill d8dea427c1 Added a more truthful message about what really is wrong. 2001-01-06 00:36:14 +00:00
Marcus Meissner 268b5555ac Don't call QueryAbort16() in WriteSpool16(), since it might be called
with locks held (and we do not need to call it here).
2001-01-06 00:35:37 +00:00
Huw D M Davies f6c7222fce Implemented a few Url* functions. 2001-01-05 22:22:57 +00:00
Mike McCormack dcd9c37a9a Returning success for unknown WSCNTL_TCPIP_QUERY_INFO code makes win98
winipcfg work.
2001-01-05 22:16:11 +00:00
Andreas Mohr abade021fe Mouse events fix. 2001-01-05 22:15:20 +00:00
Alexandre Julliard 8081e5a1e5 Added handle_t type to server interface so that we can make handles
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
François Gouget c583b68565 We must cast the return value of GetProcAddress. 2001-01-05 03:44:40 +00:00
Francois Gouget a1d23f5da6 Removed the 'fn' prefix (i.e. ICOM_FN). 2001-01-04 22:59:48 +00:00
Alexandre Julliard d6c0f9f784 Authors: Andrew Lewycky <andrew@transgaming.com>, Gavriel State <gav@transgaming.com>, Ove Kaaven <ovek@transgaming.com>
Major DirectDraw restructure/reimplementation, using an improved component
object model hierarchy. The implementation currently supports:
- DirectDraw over GDI/USER in a window (using DIBsections and
  asynchronous updates)
- XVidMode
- XF86DGA2
- All DirectDraw interfaces from versions 1 to 7 (at least in theory)
- Hooks for Direct3D interfaces
2001-01-04 22:44:55 +00:00
Eric Pouech 28b8ac8343 Added a few missing parts. 2001-01-04 20:58:05 +00:00
Alexandre Julliard 44ff9760e7 Fixed dll dependencies. 2001-01-04 19:56:13 +00:00
Eric Pouech ad250aac34 Now using manifest constant instead of raw values for all the
DRV_QUERY??? values.
2001-01-04 19:53:51 +00:00
Mike McCormack 97c781aac2 Added Ulrich Weigand's description of KERNEL32_99. 2001-01-04 19:53:15 +00:00
Marcus Meissner f7e09367bf Set fragments for wave input to 7 x 1024 byte. 2001-01-04 19:28:14 +00:00
Eric Pouech 40e9217523 Fixed loading of 16 bit drivers.
Better support for native mappers.
2001-01-04 19:27:49 +00:00
Eric Pouech 0478059b46 Removed duplicate field in internal structure.
Silenced warning for MCI_CONFIGURE message.
2001-01-03 21:36:56 +00:00
Eric Pouech 8bdba1ba6c Added support for the DRVM_MAPPER_STATUS message. 2001-01-03 21:35:00 +00:00
Eric Pouech 95064364a8 Replaced pointers to external functions by a DLL import. 2001-01-03 21:33:17 +00:00
Andreas Mohr 0529c8bf33 Fixed bitmap size handling. 2001-01-03 21:30:03 +00:00
Marcus Meissner ad37850024 Implement PrintDlg16 better (adding PrintDlgProc16 and several other
16bit dependent functions)
If we are using a template we might not have the default combobox for
printers, use the default printer in those cases.
More error messages and checks.
Added GlobalFlags16 and GlobalReAlloc16 to kernel32.spec.
2001-01-02 22:26:09 +00:00
François Gouget 84d72a9a14 Removed an '#ifdef STRICT'. 2001-01-02 22:16:14 +00:00
Ove Kaaven 865cf3752c Bugfix for sound dropping out, and workaround for Half-Life's
braindead secondary sound buffer management.
2001-01-02 21:02:32 +00:00
François Gouget dea3d786e4 Moved HDROP to shellapi.h. 2001-01-02 21:00:46 +00:00
Andreas Mohr fb976acdd2 Return 8.3 file names.
Fixed sizeof(WCHAR) bugs.
2001-01-02 20:50:34 +00:00
Marcus Meissner 23e271488c A socket becomes readable after connect in Linux 2.4 (even for
connection refused).
2001-01-02 20:35:41 +00:00
Marcus Meissner 7a01b38321 Read 4 bytes to wake up GETISPACE. 2001-01-02 20:32:33 +00:00
Marcus Meissner a983a719ec Added one safety check to AFM parsing. 2001-01-02 20:30:16 +00:00
Marcus Meissner 0fb5457516 16bit user GetProp/SetProp get strings or atoms, so we can use 'str'. 2001-01-02 20:28:25 +00:00
François Gouget 97ad5a7e02 Fixed some 0 vs. FALSE mismatches.
Fixed a '%x' vs. '%lx' mismatch.
Fixed some DWORD vs. SC_HANDLE mismatches.
2001-01-02 20:20:34 +00:00
Andreas Mohr 0bc1d2729b Added Reserved5 -> lstrcmp16. 2001-01-02 20:00:37 +00:00
Andreas Mohr 50ea1101c8 Code was checking for 0 or HFILE_ERROR instead of negative error
values.
2001-01-02 19:56:21 +00:00
Mike McCormack 1c80bc927e Improve async i/o compatability. lpOverlapped->Internal should hold
the overlapped transfer status.
2000-12-29 19:35:25 +00:00
Ian Pilcher 8ed43e6b47 Use a case-insensitive comparison to match PostScript font names. 2000-12-29 05:27:24 +00:00
Andreas Mohr f5682a0f8e - implemented passive FTP transfers (PASV, needed for firewalls)
- fixed lstnSocket closing
2000-12-29 05:19:57 +00:00
Ove Kaaven 0b6c6e7605 Fixed small race condition between vm86_enter() and signal handling.
Made separate save_vm86_context and restore_vm86_context functions.
2000-12-29 03:29:31 +00:00
Rein Klazes 65dc8e47c6 Test pointer before it is dereferenced in CreateEventW(). 2000-12-29 03:18:08 +00:00
Ulrich Weigand 2e8e2334c6 Don't link with libw if libc already contains w* routines.
Link every library with libnsl if required.
Include ieeefp.h where necessary.
2000-12-27 18:49:08 +00:00
Ulrich Weigand d34bc744f8 Compile fix if HAVE_OSS is not defined. 2000-12-27 18:43:30 +00:00
Ulrich Weigand 5a8eef38ed Import kernel32 (for SetLastError()). 2000-12-27 18:35:52 +00:00
Ulrich Weigand cc195924a6 Added check whether unaligned memory access is allowed.
Added macros to access unaligned WORDs / DWORDs.
2000-12-27 04:18:26 +00:00
Andreas Mohr a6d83ebae1 - clarify many error messages
- add data corruption warning to README file
2000-12-27 04:02:46 +00:00
Ove Kaaven 5c0f1e10a6 Release the Win16 lock before starting the DOS process, since it's not
really a Win16 app.
2000-12-27 03:24:20 +00:00
Ove Kaaven 287638fd4c Since DOSVM_Wait() blocks the normal event processing, it should
dispatch pending events itself.
2000-12-27 02:35:57 +00:00
Eric Pouech 099f4c3786 No longer using function pointers to winmm and msvfw32, but delay
loading instead.
2000-12-26 01:26:12 +00:00
Ove Kaaven e5557b357a Separated the MZ loader and core DOS VM into dlls/winedos. 2000-12-26 00:22:45 +00:00
Francois Gouget b065697ad8 Added GetDCBrushColor and GetDCPenColor. 2000-12-26 00:00:46 +00:00
François Gouget ce03ac889c Moved HRASCONN from windef.h.
Added missing Unicode type and function definitions.
Added a few missing macro definitions.
Enclose in an extern "C" for C++ Winelib applications.
Added the structure packing specification.
2000-12-24 20:44:08 +00:00
Eric Pouech 4d24e0f5a6 Replaced calls to KERNEL.Yield16 by calls to KERNEL32.K32WOWYield from
outside libkernel.so.
2000-12-22 23:25:47 +00:00
Hidenori Takeshima d48ca948cb Use dllwrap for building shared libraries in cygwin. 2000-12-22 22:28:00 +00:00
Ove Kaaven 0c7c94b956 More intelligent DirectSound prebuffering. By tracking the
last-written position of streaming buffers, it attempts to avoid
prebuffering past this position unless necessary; this may avoid a
number of sound problems in various situations. Merged HEL and HAL
mixing code, which should reduce the HEL mode's CPU usage slightly.
2000-12-22 20:31:06 +00:00
Joerg Mayer 6178459f50 Add %fs info to the critical section timeout message. 2000-12-22 20:28:46 +00:00
Alexandre Julliard d549f6909e Use a separate FIFO pair for server requests that don't need to pass a
file descriptor.
Associate file descriptors with handles on the server side so that we
don't need to pass the fd every time the client wants to use it.
2000-12-22 02:04:15 +00:00
Marcus Meissner a337437706 IDirectDrawSurface::Blt::SRCCOPY is the default ROP operation, do not
throw error.
2000-12-22 01:39:22 +00:00
Eric Pouech 66267d067e Added some 16 bit entry points needed by multimedia DLLs. 2000-12-22 01:30:36 +00:00
Alexandre Julliard 5801723b50 Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16. 2000-12-22 01:09:26 +00:00
Patrik Stridvall 188002fe71 Fixed some issues found by winapi_check. 2000-12-21 21:08:58 +00:00
Marcus Meissner eba8cee584 Handle errors for IDsDriver_GetPosition.
Report DSERR_UNINITIALIZED on non-opened WineOSS audio device.
2000-12-21 20:49:26 +00:00
Eric Pouech 247a94f688 Cleaned up the code a bit. 2000-12-21 20:21:53 +00:00
Ove Kaaven 96f9a8d609 Enable the DirectSound HAL for sound drivers that do not report
DSP_CAP_REALTIME. Set precision of these to 256 bytes (about 3ms).
2000-12-21 20:20:34 +00:00
Francois Jacques 11ed84009e - TLB_DoFuncs: code cleanup and elemdescFunc read correctly from TLB.
- TLB_LoadTypeLib: ref count problem.
- ITypeLib::GetTypeInfoOfGuid: safer implementation (pointer testing).
- ITypeInfo::GetRefTypeOfImplType: safer implementation (pointer testing).
- ITypeInfo2::GetDocumentationL return errors if SysAllocString failed.
- TLB loader functions now trace in "typelib" channel.
- Improved traces in AddRef/Release and improved dump_* functions for
  debugging.
2000-12-21 20:20:12 +00:00
Dmitry Timoshkov 81cb2387e0 Do not free the not owned error string. 2000-12-21 20:18:40 +00:00
Francois Jacques de3486dd1c Updated SafeArrayGetUBound and SafeArrayGetLBound with more sanity
checks: an array has at least one dimension.
Updated validCoordinates, where SafeArrayGetLBound was called on
dimension 0.
2000-12-21 20:18:18 +00:00
Eric Pouech e93588b7a4 Rewrote the allocation of MM driver descriptors. 2000-12-21 20:17:23 +00:00
Alexandre Julliard 58c58c5445 Fixed debug routines to work before the process heap is created. 2000-12-20 18:43:42 +00:00
Andrew Johnston 03131aae91 Documentation update. 2000-12-19 23:33:03 +00:00
François Gouget 5e5c52d477 DUMMYSTRUCTNAME2 creates a conflict when using anonymous union names. 2000-12-19 23:31:52 +00:00
Francois Jacques 31c6ac2aac Implementation of Dispatch API. 2000-12-19 23:29:58 +00:00
Jon Griffiths 5d4cf0679a - Add several mbcs and CP 932 functions, fix some existing calls
- Bug fixes, -W warnings and winapi_check updates.
- Don't be so strict setting default locale, store codepage
2000-12-19 23:29:15 +00:00
Marcus Meissner a09ece9627 shlwapi forwarders for SetWindowLongW and CallWindowProcW. 2000-12-19 19:37:43 +00:00
Dmitry Timoshkov 4e62b9df8b New unicode edit control. 2000-12-19 19:36:49 +00:00
François Gouget 44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Ulrich Weigand 975914003b Fixed IMAGE_RESOURCE_DIRECTORY_ENTRY on big-endian machines. 2000-12-19 03:38:53 +00:00
Gerard Patel 9ea31be4ff Stub for DllDebugObjectRPCHook. 2000-12-19 03:38:05 +00:00
Gerard Patel 53d198cc00 Misc fixes for QueryPathOfRegTypeLib, TLB_ReadTypeLib,
ITypeInfo_fnGetContainingTypeLib.
2000-12-19 03:37:44 +00:00
Gerard Patel 565ba5899c Do not send a WM_NOTIFYFORMAT to a non-existent owner. 2000-12-19 03:37:02 +00:00
Marcus Meissner d88dbb4a10 Implemented DIGDD_PEEK for SysMouseA::GetDeviceData. 2000-12-19 02:10:26 +00:00
Hidenori Takeshima a257b96dd3 Implemented keyboard layout and context - far from complete. 2000-12-18 03:51:16 +00:00
Guy L. Albertelli 943ba3f1bc - Implement drag for vertical rebars (drag up and down).
- Better algorithims for inserting new bands - matches native version
  closer.
- Make drawing of rebar attempt to match native pixel by pixel (note
  this does not fix the embedded controls in each band - they still are
  as good or bad as before.)
- Implement some of the notifications (RBN_HEIGHTCHANGE, _CHILDSIZE,
  _DELETINGBAND, _DELETEDBAND).
2000-12-18 03:13:19 +00:00
Guy L. Albertelli 762ed03a3e Pass WM_COMMAND and WM_NOTIFY to parent as received. 2000-12-18 03:12:31 +00:00
Gerard Patel 08e7086189 Change the current directory as the user browses the directory tree. 2000-12-18 03:12:06 +00:00
David Elliott 2a53800d56 Changed typo va_list to valist. 2000-12-18 03:11:32 +00:00
Marcus Meissner ab7fc4a0c6 Mapping for ICM_SETSTATE (ptr in lParam1 to private data). 2000-12-18 03:10:19 +00:00
Patrik Stridvall 00b86a9b04 Fixed some issues found by winapi_check. 2000-12-16 21:55:05 +00:00
Jon Griffiths 88e2453716 - Fix _fullpath & splitpath, winapi_check fixes
- Add cprintf,cscanf,_fgetwchar,_fgetwc,_fputwchar,_fputwc,
  _wtoi & _wtol (fwd),scanf,_timezone_dll
2000-12-16 21:53:56 +00:00
Alexandre Julliard ce1398e384 Avoid a couple of dependencies on input.c internal variables. 2000-12-16 20:37:16 +00:00
Alexandre Julliard b583ed33de Fixed infinite loop in CRTDLL__fcloseall. 2000-12-16 20:19:11 +00:00
Hidenori Takeshima 85722666a9 Implemented some APIs and IME class - far from complete. 2000-12-16 20:18:07 +00:00
Marcus Meissner 34c9f9fb39 Check for NULL before doing IsEqualGUID(). 2000-12-16 20:17:22 +00:00
Eric Pouech aaa78f9cda Fixed loading of 16 bit MCI drivers (for command tables).
Fixed alias handling in mciSendString.
2000-12-16 20:17:04 +00:00
Andreas Mohr de0f6dd5fe - don't initialize with pFirstLDD if pFirstLDD isn't initialized yet either
- corrected VcpClose .spec
2000-12-16 20:16:33 +00:00
Hidenori Takeshima 473fd0b0f7 Implemented some DDK APIs - far from complete. 2000-12-15 23:00:00 +00:00
Alexandre Julliard 0b6a79c961 Converted enum_key_value request to the new request mechanism. 2000-12-15 20:57:00 +00:00
Aric Stewart 844625cbc5 Fixed some difficulties with the font on vertical tabs. Also plugged a
resource leak.
2000-12-15 20:55:20 +00:00