Commit Graph

3004 Commits

Author SHA1 Message Date
Joshua Thielen 80e7837105 Changed BM_ messages SETCHECK and GETCHECK to SETCHECK16 and
GETCHECK16 in CheckDlgItem16 and IsDlgItemChecked16.
Cast UINT16 value to UINT or INT depending on sign in SetDlgItemInt16.
2001-11-09 19:18:45 +00:00
Guy L. Albertelli 11a5e849b4 Use proper unicode routine. 2001-11-09 19:16:36 +00:00
Alexandre Julliard 22c2ac7273 Implemented inline version of the iswxxx functions. 2001-11-08 19:16:34 +00:00
Ove Kaaven e2c477b21a Moved the int 9 (keyboard) handler to dlls/winedos. 2001-11-08 17:06:40 +00:00
Mike McCormack daf347ac8b Find out how much data is available when calling ReadFileEx. 2001-11-08 17:06:08 +00:00
Gerard Patel 6c58cdce16 Repaired child window activation broken by previous change. 2001-11-07 23:19:42 +00:00
Ove Kaaven cf6f12f3cf Added RunInThread callout to winedos. 2001-11-07 20:15:39 +00:00
Mike McCormack 309ed4e1f1 Make ConnectNamedPipe work in overlapped mode. 2001-11-07 20:14:45 +00:00
Mike McCormack 37f61c45de Ignore DSR/DTR flow control in DCB. termios doesn't support it. 2001-11-07 20:13:25 +00:00
Guy Albertelli aafec98803 - Define rest of URL_ESCAPE... and other flags.
- Define implemented interfaces for reg.c and url.c.
2001-11-06 22:31:19 +00:00
Guy Albertelli 8014f85dc2 - Implement URL_ESCAPE_SEGEMENT_ONLY, URL_ESCAPE_PERCENT,
and URL_DONT_ESCAPE_EXTRA_INFO in the UrlEscape{A|W} routines.
- Make UrlCanonicalizeA use UrlCanonicalizeW.
- Implement full functionality in UrlCanonicalizeW.
- Implement UrlCombine{A|W}.
2001-11-06 22:29:38 +00:00
Guy Albertelli 46780b009c - Implement SHLWAPI_1 (ASCII version of SHLWAPI_2).
- Fix error in SHLWAPI_18
- New file (ordinal.h) with documentation for _1, &_2.
2001-11-06 22:29:02 +00:00
Alexandre Julliard 03e07b56e3 Window activation cleanups. 2001-11-06 22:28:18 +00:00
8ada79d158 Devices never need to be polled, so return DI_NOEFFECT in Poll. 2001-11-06 22:26:26 +00:00
Francois Gouget 070e749cfb Don't prefix %p with 0x.
Various English fixes.
2001-11-06 21:01:32 +00:00
François Gouget 1425941e29 Fix the #include order for config.h.
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
François Gouget 2663b80f16 Make debugtools.h independent from config.h. 2001-11-06 19:01:05 +00:00
Mike McCormack 2e40b964d8 Added netapi32.dll and the Netbios() call. 2001-11-06 17:52:36 +00:00
Francois Gouget 7300bc32e7 Fix incorrect use of a Unicode string literal. 2001-11-06 00:48:51 +00:00
Francois Gouget 996028be15 Rename SIC_CompareEntrys to SIC_CompareEntries, and make it static. 2001-11-06 00:45:32 +00:00
Hidenori Takeshima 1c53a7fc47 Added stubs for msrle32.dll and implemented RLE8 decoder.
Added stub for avicap32.
2001-11-06 00:41:05 +00:00
Guy Albertelli 38a247fde9 Move SPY_EnterMessage call after all possible exits so that there will
be a matching SPY_ExitMessage.
2001-11-05 23:56:01 +00:00
Guy Albertelli 887c2b3b56 - Indicate that StrRetToStrN{A|W} and StrRetToBuf{A|W} are identical
code but duplicated deliberately.
- Implement StrRChrI{A|W}.
2001-11-05 23:55:36 +00:00
Eric Pouech 2f9eb3b0cb Fixed dst / src lines implementation.
Added mux/mixer control for master rec.
Added framework for multiple mixers.
2001-11-05 23:53:48 +00:00
Gerard Patel 033137412b Test for ws_timeout=NULL in winsock select(). 2001-11-05 23:53:16 +00:00
Gerard Patel 14c9429698 Fix RegSetValueEx calls and crash when DriverName="" in registry. 2001-10-28 21:16:38 +00:00
Ove Kaaven bf1e9682f4 Protect against an interrupt-pending signal recursion. 2001-10-28 21:16:22 +00:00
Hidenori Takeshima d359812d6b Fixed some bugs.
Implemented IPropertyBag.
Implemented some FilterMapper2 methods.
Implemented AddSourceFilter.
Implemented Render partially.
Implemented Connect partially.
2001-10-28 21:16:00 +00:00
Hidenori Takeshima b3ec677d58 Added stub for ICImageCompress.
Implemented ICImageDecompress.
2001-10-28 21:14:51 +00:00
Guy L. Albertelli 7e266e9e91 - Added stubs for _18,_21,_22 which seem to be used only by native
shdocvw.dll
- Implemented _26, _27, _28, _32, and _34 (more isw... functions).
2001-10-28 21:14:26 +00:00
Guy L. Albertelli 68a705cdef Stub UrlCombineA and initial implementation of UrlCombineW. 2001-10-28 21:13:54 +00:00
Guy L. Albertelli 411bab0770 Implement SHRegGetBoolUSValue{A|W}. 2001-10-28 21:13:16 +00:00
Jeremy Newman 7c2df090af Replaced Martini glass. 2001-10-28 21:12:54 +00:00
Aric Stewart 850c9dd6bd Add handling for LVN_GETDISPINFOW. 2001-10-25 19:33:25 +00:00
Guy Albertelli 04069ec802 - Correct implementation of HUSKEY internals, including functions:
SHRegOpenUSKey{A|W}, SHRegCloseUSKey, SHRegGetUSValue{A|W},
  SHRegQueryInfoUSKey{A|W}
- Implement SHRegQueryUSValue{A|W}
2001-10-24 02:45:08 +00:00
Guy Albertelli bb0f3290df - Implement:
SHLWAPI_2  - Identify internet protocols.
      SHLWAPI_25  -  iswalpha
      SHLWAPI_33  -  iswdigit
2001-10-24 02:44:24 +00:00
Hidenori Takeshima b4be998158 Added stubs for msdmo.dll, qcap.dll and devenum.dll. 2001-10-23 20:35:23 +00:00
Huw D M Davies 4e2024e8a8 Implement GetFontData. 2001-10-23 20:06:32 +00:00
Hidenori Takeshima 2843934af5 Implemented OleCreatePropertyFrame and
OleCreatePropertyFrameIndirect.
2001-10-23 19:59:24 +00:00
Huw D M Davies f3d962226f Better failure messages for CoCreateInstance. 2001-10-23 19:52:08 +00:00
Aric Stewart 3ae80eb2e5 Fixed the behavior for SHGetFileInfo when the SHGFI_USEFILEATTRIBUTES
flag is set. Corrects the given type and icon.
2001-10-23 00:25:15 +00:00
Alexandre Julliard ddc3317b7a Store in the server all the window information accessible with
Get/SetWindowLong.
2001-10-22 19:08:33 +00:00
Francois Gouget 3bb9a36ee0 Spelling, grammar and a bit of comment formatting fixes. 2001-10-22 19:04:32 +00:00
Hidenori Takeshima 17bee2ef58 Fixed some bugs.
Implemented AVI Decompressor.
Started implementing Color Space Converter.
Started implementing seeking.
2001-10-22 19:03:26 +00:00
Francois Gouget f101e2760b Add support for environment variables in the printer settings.
Remove the fixed-size buffers.
2001-10-22 19:00:08 +00:00
David Elliott bfa70fe642 Implemented the wcstoul function. 2001-10-22 18:58:21 +00:00
Andreas Mohr e15badb478 Cosmetics. 2001-10-21 15:18:15 +00:00
Guy L. Albertelli e73949739e - Add stubs for _25, _33, _35
- Add/correct code for: _15, _29, _30, _31, _151, _152, _153, _154,
  _158.
2001-10-21 15:17:16 +00:00
Guy L. Albertelli 06fb2139b0 - Implement HUSKEY design.
- Implement functions: SHRegOpenUSKey{A|W}, SHRegCloseUSKey,
  SHRegGetUSValue{A|W}, SHRegQueryInfoUSKey{A|W}
2001-10-21 15:09:36 +00:00
Guy L. Albertelli 2cf83ba009 - Implement UrlCanonicalizeW, UrlEscapeW, UrlUnescapeW.
- Stub UrlGetLocation{A|W}.
2001-10-21 15:08:01 +00:00
Alexandre Julliard 6ca71d39b2 Avoid crashing on non-initialized debug info. 2001-10-21 15:04:04 +00:00
Andrew Lewycky ad73ed2d92 XFree86 4.1 gamma ramp support. 2001-10-21 15:02:01 +00:00
Mike McCormack c5ea29f99b Return TRUE on success in COMM_BuildOldCommDCB.
DCB16.BaudRate > 57600 means 115200.
OpenComm16 should use overlapped I/O.
2001-10-21 15:01:20 +00:00
Alexandre Julliard 32fb580515 Changed X11 mouse driver to use SendInput, and removed WINE_MOUSEEVENT
hack. Moved mouse.c to dlls/x11drv.
Added KeymapNotify event handler, and fixed handling with multiple
alt/shift/control keys.
Removed dinput functions from USER driver.
2001-10-18 21:38:59 +00:00
Alexandre Julliard b165fabd5d Make dinput a properly separated dll. 2001-10-18 21:31:14 +00:00
Alexandre Julliard 2fe081b730 Use WH_MOUSE_LL hook instead of redirecting the mouse event handler. 2001-10-18 21:30:46 +00:00
Alexandre Julliard 8166d36756 Fixed GetDeviceState and GetDeviceData to use only exported APIs. 2001-10-18 21:30:06 +00:00
Johan Gill 42a074dfcd Relay tracing would crash if it came upon a function call with an
invalid pointer as a parameter.
2001-10-17 19:39:22 +00:00
Alexandre Julliard 4b62618122 Added support for low-level mouse and keyboard hooks.
Misc keyboard handling cleanups.
2001-10-17 17:50:02 +00:00
Alexandre Julliard 516e40e154 Make sure that GetMessagePos and GetMessageTime return sane values
for all messages.
2001-10-17 17:48:49 +00:00
Jukka Heinonen 2547121843 When a surface becomes primary surface, mark the whole surface damaged. 2001-10-17 17:45:53 +00:00
Alexandre Julliard fb0ff053c0 Added internal Wine messages to perform SetWindowPos, ShowWindow and
SetParent in the correct thread.
Replace QUEUE_IsExitingQueue by USER_IsExitingThread.
Store window rectangles in the server.
Prevent DestroyWindow on windows not belonging to the current thread.
2001-10-16 21:58:58 +00:00
Alexandre Julliard b662e11a00 Moved scrollbar tracking code to scroll.c.
Avoid unnecessary coordinates conversion in NC_HandleSysCommand.
2001-10-16 21:52:26 +00:00
Alexandre Julliard 8fd26b9134 Renamed WIN_GetWndPtr into WIN_GetPtr and added corresponding
WIN_ReleasePtr. Started using it instead of WIN_FindWndPtr where we
don't need to access windows of other processes.
2001-10-15 17:56:45 +00:00
Francois Gouget 0a26d420d9 The _IOXXX macros conflict with system headers on Solaris. Prefix
them.
2001-10-15 17:50:55 +00:00
Kai Morich 3ed8cc5769 InternalExtractIcon16 forgot to close file handle. 2001-10-15 17:50:21 +00:00
Francois Gouget 386cf6e342 When including 'wine/port.h', include it first.
Remove redundant 'config.h' includes.
2001-10-14 16:25:47 +00:00
Francois Gouget e5ddd26dd7 When including config.h, include it first. 2001-10-14 16:18:52 +00:00
Francois Gouget b60c4ce0f0 Don't print NULL strings (crashes on Solaris).
Small code maintainability tweak in ShellExecuteExA.
Two typo fixes in winmm.
2001-10-14 16:15:05 +00:00
Hidenori Takeshima bc7d0272b3 Started implementing AVI splitter.
Implemented AsyncSource.
Merged some C sources.
Fixed some bugs.
2001-10-14 16:13:14 +00:00
Ove Kaaven 27e179794d Fixed bugs with propget methods with input arguments.
Improved variant debug dumps.
2001-10-14 16:07:49 +00:00
Ove Kaaven d63cf5f846 Fixed bugs in safe arrays.
- enlarging a safe array didn't clear the new entries
- element access only validated the first dimension
- the validation always failed when the array contained 1 element
2001-10-14 16:07:36 +00:00
Ove Kaaven d418682da7 Fix a UINT16 redefinition problem. 2001-10-14 16:07:23 +00:00
Alexandre Julliard 7a2017dd65 Store window properties in the server. Moved property.c to dlls/user. 2001-10-12 19:10:26 +00:00
Alexandre Julliard 2ff4faf66d Moved MAKEINTATOM to winbase.h and added Unicode version. 2001-10-12 18:43:27 +00:00
Alexandre Julliard 80593bf842 Removed next and child fields in the window structure and use
WIN_ListChildren instead.
2001-10-11 20:49:40 +00:00
Alexandre Julliard 556607a147 Store window parent as an HWND instead of a pointer. 2001-10-10 20:28:17 +00:00
Francois Gouget 0136b813ad Allocate the array and strings in one lump (bug found by Malte
Starostik).
Same thing for the lpCmdline="" case.
There is no NULL pointer at the end of the argv list.
2001-10-10 20:25:59 +00:00
Francois Gouget 141039a54c Move the RT_XXX macros to winuser.h.
winuser.h: Add support for NOGDI.
winuser.h: Modify to allow compilation without wingdi.h.
2001-10-10 02:51:24 +00:00
Chris Green 151fdd7c82 Added names of the "missing" paths for SHGetSpecialFolderPathA. 2001-10-10 02:48:29 +00:00
Patrik Stridvall e573aba23f Fixed issue found by winapi_check. 2001-10-09 21:48:39 +00:00
Patrik Stridvall e668a9dbbf Added new include file ws2spi.h for adding needed types. 2001-10-09 21:48:22 +00:00
Stefan Leichter 5bc7d7361e Fixed parameters of SetupOpenInfFileA. 2001-10-09 21:47:11 +00:00
Hidenori Takeshima bd3be7a905 Started Implementing Video Renderer.
Started Implementing WAVE/AU/AIFF Parser.
Started Implementing file source.
Fixed some bugs.
2001-10-08 20:56:08 +00:00
Alexandre Julliard 90d4b11b3a Renamed USER_Init into UserClientDllInitialize. 2001-10-08 20:42:14 +00:00
Francois Gouget 58b299521d Small typo fixes/updates. 2001-10-08 20:40:09 +00:00
Francois Gouget 76f6ffaf1b Fix the SOCKADDR_IPX declaration.
Centralize all sockaddr_xxx conversions in ws_sockaddr_ws2u and
ws_sockaddr_u2ws.
Remove ugly casts in TRACEs.
2001-10-08 20:36:03 +00:00
Francois Gouget aacc7e3756 _beginthread: Don't store the trampoline on the stack. 2001-10-08 20:32:41 +00:00
Malte Starostik 19337c7e18 CreateURLMoniker takes a LPCWSTR, not a LPWSTR. 2001-10-08 20:27:01 +00:00
Stefan Leichter 32aee1ae11 Added defines for resource types RT_MESSAGETABLE, RT_VERSION. 2001-10-05 19:44:33 +00:00
Gerard Patel 6559d10489 Fix sign extension problem in map_wparam_WtoA. 2001-10-05 19:42:24 +00:00
Huw D M Davies e2a9e49349 Remove some unnecessary AddRef's. 2001-10-05 19:37:44 +00:00
Nikolas Zimmermann 76598823d0 Skip port number before calling gethostbyname.
Fix non-absolute urls.
2001-10-04 18:12:41 +00:00
Ove Kaaven f26d2522af The DISPPARAMS parameter array is a reverse-order array. 2001-10-04 18:11:11 +00:00
Ove Kaaven 54c8fee942 Implement coercion to VT_UNKNOWN from VT_DISPATCH. 2001-10-04 16:14:24 +00:00
Ove Kaaven 77f8e5fef2 ITypeInfo::Invoke should also search inherited interfaces for the
method to invoke.
ITypeInfo::GetIDsOfNames needs to do case-insensitive string
compares.
2001-10-04 16:14:08 +00:00
Gerard Patel 94ce2a3303 Map a window if it is shown by a direct style change. 2001-10-03 18:44:02 +00:00
Ove Kaaven e35f4ee144 Don't ignore DISPATCH_METHOD in ITypeInfo::Invoke. 2001-10-03 18:42:54 +00:00
Guy Albertelli 5a538105d1 Fix SHAddToRecentDocs code to properly handle native Comctl32 and
missing policies location.
2001-10-03 18:42:16 +00:00
Huw D M Davies 58aa0a12b9 Looks like the SLTG_ImplInfo struct isn't a fixed size. 2001-10-03 18:41:26 +00:00
Bill Medland 5a9ba2826e Allow two connections by not releasing the wrapped library too early.
Also heavily protected and added additional trace information.
Make the Load functions static to reduce visiblity (enhance
simplicity).
2001-10-02 20:28:06 +00:00
Alexandre Julliard a21672ebbc Merged mouse buttons states into the key state array.
Fixed confusion between queue state and async state.
2001-10-02 18:53:59 +00:00
Alexandre Julliard 3f4f7fa7f2 Removed unnecessary includes/definitions. 2001-10-02 18:45:46 +00:00
Ilya Konstantinov 560ca323e2 Added a _NET_WM_NAME(UTF8_STRING) property to every window. 2001-10-02 18:44:56 +00:00
Andreas Mohr 2718c895d1 Make OaBuildVersion() return the highest version value possible.
Some cleanups.
2001-10-02 18:28:31 +00:00
Andreas Mohr ab968455cd Added WSC*InstallProvider stubs. 2001-10-02 17:46:59 +00:00
Huw D M Davies 04f90ca78a Long nameless args in SLTG apparently get denoted by 0xfffe. 2001-10-02 17:25:55 +00:00
Guy Albertelli 60b59bef9f Implemented dummy stub for SHChangeNotifyUpdateEntryList and
functional CIDLData_CreateFromIDArray.
2001-10-02 17:25:36 +00:00
Hidenori Takeshima 6619ebad32 Implemented CLSID_AudioRender. 2001-10-01 20:53:58 +00:00
Ove Kaaven aacac86ada Implemented DispGetParam. 2001-10-01 20:53:11 +00:00
Andreas Mohr ed2aa7acdb Fix/document SHLWAPI ordinals 217 and 218. 2001-10-01 20:52:53 +00:00
Andreas Mohr 306400541e Added stub for WSApSetPostRoutine. 2001-10-01 20:52:23 +00:00
Eric Pouech c766ea7b5c Should initialize COM before calling it. 2001-10-01 20:51:44 +00:00
Huw D M Davies 899861d130 Better handling of typelibs loaded with a trailing resource number.
The logic for determining whether an SLTG typelib has a function param
as a 'short' or 'long' type has been 'refined'.
2001-09-26 23:05:35 +00:00
Francois Gouget e716fa75bd Renamed W_OK to MSVCRT_W_OK. 2001-09-26 23:04:02 +00:00
Hidenori Takeshima c9f0ff2d8c Merged some C sources.
Fixed some bugs.
Started implementing some pass-through interfaces.
2001-09-25 22:37:04 +00:00
Alexandre Julliard 7695d69046 A couple of optimizations to avoid some server calls in WIN_FindWndPtr
and related functions.
2001-09-24 01:19:59 +00:00
David Hammerton 75b525149d Fixed typos. 2001-09-21 21:39:37 +00:00
Guy Albertelli db1a09d6fa Implement initial version of SHAddToRecentDocs. 2001-09-21 21:39:06 +00:00
Alexandre Julliard 9c89290e89 Ignore ConfigueNotify size changes while the window is iconic. 2001-09-21 21:04:56 +00:00
Ove Kaaven 9f6d5a068b Variants and safe arrays is now able to copy BSTR swith embedded null
characters. Safe arrays now handle BSTRs and variants.
2001-09-21 21:01:31 +00:00
Ove Kaaven eebbeef944 Register typelib marshaling for OLE Automation-compatible interfaces. 2001-09-21 21:00:37 +00:00
Alexandre Julliard 107b289a4e Fixed a couple of bugs in _except_handler3. 2001-09-20 19:33:37 +00:00
Andreas Mohr cf67b00a6a Added stub for GdiInit2(). 2001-09-20 19:32:39 +00:00
Guy L. Albertelli f78858334a Get more entry points from Comctl32 and save the addresses. 2001-09-20 19:32:13 +00:00
Aric Stewart 1e5777edf5 The behavior for wsprintfA is different that for wsprintf16 in how it
handles NULLs being passed as character parameters.
2001-09-20 19:05:58 +00:00
Francois Gouget 5ee3879ce0 Fix the conversions of a command line to/from an argv array. 2001-09-20 19:05:11 +00:00
Guy Albertelli 45e9cea3d1 Implement most of the MRU related functions. 2001-09-20 18:58:43 +00:00
Hidenori Takeshima cde7d63bd5 Implemented ISeekingPassThru. 2001-09-19 22:39:34 +00:00
Francois Gouget 038af7925b Fix the definition of structs NUMBERFMT* and CURRENCYFMT*.
Add, fix and move prototypes from winbase.h to winnls.h.
2001-09-19 22:28:00 +00:00
Guy Albertelli 607c810ac2 Fix problem comparing pidls and return correct code. 2001-09-19 22:26:53 +00:00
Alexandre Julliard d23a82bc86 Made all 16<->32 HWND conversions use explicit functions instead of
implicit type casts.
Moved a lot of 16-bit functions to the new wnd16.c file.
Changed DIALOGINFO structure handling to support 32-bit handles.
2001-09-19 20:37:04 +00:00
Alexandre Julliard 629aab1768 Fixed a couple of HWND type mismatches. 2001-09-19 20:34:17 +00:00
Andreas Mohr ee0c4f86f2 Rename "SystemTime" to "t" (this is *not* SYSTEMTIME - avoid
confusion).
2001-09-19 20:30:52 +00:00
Francois Gouget 433430ae96 Add msvcrt/locale.h.
Add missing include directives in msvcrt/wchar.h.
Fix prototype of _wstati64 in msvcrt/sys/stat.h.
2001-09-19 20:29:33 +00:00
Ove Kaaven 7e0906f194 Lots of rpcrt4.dll stubs. 2001-09-17 20:26:38 +00:00
Mike McCormack 7c1db50c2f Ignore negative widths in HEADER_SetItemBounds. 2001-09-17 20:25:52 +00:00
Alexandre Julliard f33f7f0ed0 Improved make_dlls script. Moved dll list out of
Make.rules.in. Removed a few no longer used rules.
2001-09-17 20:09:08 +00:00
Hidenori Takeshima e575ad292e Implemented IMemAllocator. 2001-09-17 20:04:28 +00:00
Francois Gouget bab91aa4af Implemented _mbsupr. 2001-09-17 19:02:21 +00:00
Hidenori Takeshima 1a8b33997f Added stubs for mapi32, msimg32, sti and url. 2001-09-14 21:36:30 +00:00
Dmitry Timoshkov 123d266965 Do not hold the GDI lock while 16-bit ExtDeviceMode is called. 2001-09-14 01:00:57 +00:00
Francois Gouget 96ffcae371 Fix recv prototype for WSARecvEx. 2001-09-14 01:00:20 +00:00
Alexandre Julliard f44bbb8d10 Make sure that HWND comparisons are always done with full 32-bit
handles.
2001-09-14 00:24:39 +00:00
Francois Gouget d97fe2655b Fix the WSAStartup prototype.
Fix handling of timeout parameter in select.
2001-09-14 00:19:52 +00:00
Marcus Meissner 34cf5e8463 Return the FOURCC codes set by the HAL driver. 2001-09-14 00:11:52 +00:00
Francois Gouget 45cc1430e9 Check for htotal=vtotal=0 (for xfree 4 vesa driver). 2001-09-14 00:05:44 +00:00
Huw D M Davies 814654ef9f Lay down the infrastructure for gdi font rendering.
Partial implementation of GetGylphOutline and GetOutlineTextMetrics
for gdi fonts.
2001-09-12 20:21:06 +00:00
Alexandre Julliard 37a4639ee1 Make sure that functions returning an HWND always return a full 32-bit
handle.
2001-09-12 17:19:13 +00:00
Travis Michielsen ef58632ac2 Created stubs for all cryptographic functions. 2001-09-12 17:09:56 +00:00
Patrik Stridvall 3c0211f969 Cleanup code that is strange or difficult to parse. 2001-09-11 00:32:32 +00:00
Hidenori Takeshima ecbf6c112b Fixed some broken macros.
Added some stubs.
Implemeted undocumented APIs.
Implemented many methods in IMediaFilter, IMediaControl and
IReferenceClock.
Started Implementing IMemoryAllocator.
2001-09-11 00:29:03 +00:00
Hidenori Takeshima aad36bcd59 Synchronize access to the s_COMLockCount, firstRegisteredClass,
openDllList in compobj.
2001-09-11 00:26:12 +00:00
Alexandre Julliard a2ae982978 Ignore size change on ConfigureNotify if window rect is empty and new
size is 1x1.
2001-09-10 23:27:57 +00:00
Patrik Stridvall 72d41524c8 Documentation fixes. 2001-09-10 23:16:31 +00:00
Bill Medland 548d8a2a07 Basic implementation of IStream:Clone. 2001-09-10 23:14:39 +00:00
Bill Medland 0a64cc6992 More graceful exit on failure. 2001-09-10 23:14:22 +00:00
Huw D M Davies 3db218a2a1 Load some useful TYPEATTR elements from v1 typelibs. 2001-09-10 23:13:28 +00:00
Marcus Meissner 98343e325c More debug output for InternetGetCookie, added stub for InternetSetCookie. 2001-09-10 23:12:42 +00:00
Marcus Meissner 4d2f173ce3 Added dwFlags to lock_update private functions so we can pass
WRITEONLY/READONLY.
Added those flags to the internal Lock() calls.
Only copy the surface from screen to surface if not writeonly.
Restrict blitting between display window and surface to the
locked/unlocked rectangle and the clipwindow section.
Added defines for DDHAL_UNLOCKDATA/DDHAL_LOCKDATA, added calls to HAL
implementation.
2001-09-10 23:12:16 +00:00
Patrik Stridvall 3566973c78 Use the min/max in windef.h instead. 2001-09-10 23:09:04 +00:00
Marcus Meissner 8934496bb3 Enhanced GetCalendarInfo stub, added known CAL_* defines. 2001-09-10 23:08:39 +00:00
Ove Kaaven fdebace998 Fix buffering problems in HEL mode. 2001-09-10 23:08:11 +00:00
Francois Gouget 909bcde294 Fix compilation errors on FreeBSD. 2001-09-10 23:07:39 +00:00
Francois Gouget e0ca651e0e Rewrite msvcrt_{argvtos,valisttos} to be more efficient.
Warn about the ' ' and '"' handling of the exec and spawn functions.
Copy the command line in MSVCRT_system to make it writable.
2001-09-10 23:07:07 +00:00
Francois Gouget 0fe854b7dd Added an option to disable XVidMode support. 2001-09-10 23:05:57 +00:00
Johann Messner 4014c74e14 Fixed bug in _ultoa. 2001-09-07 19:48:31 +00:00
Francois Gouget 20560f4535 Initialize argc/argv/wargv by calling ntdll.__wine_get_{w}main_args. 2001-09-07 19:47:30 +00:00
Hidenori Takeshima 96e9615701 Added some stubs.
Started implementing some interfaces in FilterGraph.
2001-09-07 19:46:49 +00:00
Guy L. Albertelli db9b54925d Enhance SPY_GetMsgName to translate common control messages. 2001-09-07 18:38:57 +00:00
Huw D M Davies 6a3ae04c67 Add SHGetSpecialFolderPathW to spec file. 2001-09-07 18:37:49 +00:00
Guy L. Albertelli 10abbae042 - Finish PathParseIconLocation{A|W}.
- Implement PathIsUNCServer{A|W|ShareA|ShareW}.
2001-09-07 18:37:18 +00:00
Guy L. Albertelli e29612af8b Implemented stubs for SHRegEnumUSKey{A|W} and return end-of-list error
as result.
2001-09-07 18:36:47 +00:00
Hidenori Takeshima b544637ce7 Use a default DevMode if no DevMode information is available in
registry.
2001-09-07 18:35:58 +00:00
Marcus Meissner 2378305c89 Implemented mbsnbcnt, added stubs for _Gettnames and __lc_collate_cp. 2001-09-07 18:34:45 +00:00
Guy L. Albertelli 91fc357226 - Handle CCS_NODIVIDER both when present and when not.
- Handle some cases of CCS_TOP, CCS_BOTTOM, and CCS_NOPARENTALIGN.
- Handle values returned from the RBN_CHILDSIZE notification.
- Implement RBBS_CHILDEDGE.
- Fix some logic errors in REBAR_AdjustBands, and problems with CCS_VERT.
2001-09-07 18:34:14 +00:00
Guy L. Albertelli f876b5df5a - Fix positioning of text in buttons.
- Fix nButtonHeight so that it is not zero in some cases
- Support TBSTYLE_TRANSPARENT.
- Fix handling in WM_ERASEBKGND so that the default erase occurs
  between notifies.
- Fix WM_NCCREATE processing to issue proper WM_STYLECHANGING (via
  SetWindowLong) and document the issues.
2001-09-07 15:29:21 +00:00
Huw D M Davies 0d969c7043 Add reader for v1 (SLTG) typelibs.
Fix a few problems with v2 (MSFT) typelibs.
LoadTypeLibEx should do a SearchPath to locate typelib.
2001-09-07 15:27:16 +00:00
Huw D M Davies 1e0b41ba1c OpenPrinter should fail if pPrinterName is "". 2001-09-07 15:26:51 +00:00
Francois Gouget 27eaac6a34 Convert the socket type (necessary on Solaris). 2001-09-07 15:26:18 +00:00
Huw D M Davies 2356fbce9e Stub implementation for UuidHash(). 2001-09-07 15:25:51 +00:00
Dmitry Timoshkov 29fdbe9f98 Correct .spec file parameters for msvcrt._fullpath and ntdll._splitpath. 2001-09-07 15:25:31 +00:00
Guy Albertelli e100866c88 Replace calls to StrRetToBuf{A|W} with duplicate code to eliminate
problems between native and built-in DLLs.
2001-09-07 15:24:25 +00:00
Alexandre Julliard 1a66d226eb Added global management of user handles in the server.
Very preliminary support for shared window handles.
2001-08-28 18:44:52 +00:00
Francois Gouget 9dc5b97b35 Only use winsock2.h in Wine. 2001-08-28 18:39:03 +00:00
Hidenori Takeshima 8eebd2c93d Added some stubs. 2001-08-28 17:25:39 +00:00
Jukka Heinonen c3f2a140cf GrabPointer uses now SetWindowLong to change window procedure instead
of accessing directly WND structure.
2001-08-27 19:04:18 +00:00
Mike McCormack f2e7ce7f6a Implemented GetNamedPipeInfo. 2001-08-27 19:03:42 +00:00
Francois Gouget 14b06d40e6 Added WSASTARTUP16 a 1 byte alignment version of WSASTARTUP for win16. 2001-08-24 21:33:58 +00:00
Alexandre Julliard 9d9dac0947 Added WIN_ListParents function and renamed WIN_BuildWinArray into
WIN_ListChildren. Made owner field in WND structure an HWND.
2001-08-24 19:28:21 +00:00
Alexandre Julliard 41d6a96a60 Removed inclusion of win.h. 2001-08-24 19:15:52 +00:00
Mike McCormack 4192f9aa29 Add stubs for several named pipe functions. 2001-08-24 19:15:35 +00:00
Francois Gouget 126e6b8175 Rename the regular WS_FD_XXX macros to FD_XXX.
Rename the Wine specific WS_FD_XXX macros to FD_WINE_XXX.
2001-08-24 19:14:56 +00:00
Francois Gouget a0f98f13d9 Made independent from winsock.
Include the needed headers directly in internet.h.
2001-08-24 19:13:36 +00:00
Alexandre Julliard 0801ffc5a3 Implemented GetAncestor and removed WIN_GetTopParent.
Removed a few more accesses to the WND structure.
2001-08-24 00:26:59 +00:00
Mike McCormack bf55457f24 Implement WaitNamedPipe and DisconnectNamedPipe.
Add a state for each pipe handle in the server.
Create a socket on when the pipe is opened, not before.
2001-08-23 23:29:20 +00:00
Daniel Walker c86517fcb6 - Fix for nonblocking sockets using WSAEventSelect() (patch from Ove
Kaaven).
- Changed WSAEnumNetworkEvents() so it only returns events that the
  application is looking for.
- Changed sock_poll_event() to interpret a POLLIN event with zero
  bytes waiting to be read as a POLLHUP.
2001-08-23 23:25:33 +00:00
Hidenori Takeshima ffb0d94e3d Added two missing headers.
Implemented AMGetErrorText.
2001-08-22 18:20:36 +00:00
Hidenori Takeshima 615c0e0ca5 Added some stubs for CLSID_FilterGraph. 2001-08-22 18:06:00 +00:00
Dmitry Timoshkov 4bc0b28897 Fixed an incorrect (harmless) memory allocation. 2001-08-22 18:04:00 +00:00
Dmitry Timoshkov 2b81ece365 Replaced PROFILE_ functions by RegQueryValueExA. 2001-08-22 18:02:59 +00:00
Mike McCormack b473a0f0b9 Added stub for CancelIo. 2001-08-22 18:02:39 +00:00
Eugene Mayevski 4252310c92 Fixed DT_RTLREADING flag interpretation. 2001-08-22 18:00:47 +00:00
Alexandre Julliard fa42aa81e4 Removed WIN_GetDesktop(). 2001-08-21 17:13:55 +00:00
Francois Gouget 588ff3743a Documentation updates (mainly thru vs. through). 2001-08-21 17:07:17 +00:00
Gerard Patel a02f3de89e Rect returned by LISTVIEW_GetItemRect should be total size in report
mode.
2001-08-21 17:04:02 +00:00
Francois Gouget 9947b68c3e Add the decVal field to VARIANT.
Fix the VARIANT C layout, i.e. the union/struct names/nesting.
Encapsulate all accesses to VARIANT types with the V_VT and V_UNION
macros.
2001-08-21 17:03:10 +00:00
Mike McCormack 07a8c5402a Store the comm error value in the wineserver, not a global. 2001-08-20 18:01:35 +00:00
Gerard Patel ede9881523 Do not keep the handle of a deleted item as the selectedItem.. 2001-08-20 18:00:54 +00:00
Marcus Meissner f158f541dd Use GetDC(0) instead of CreateCompatibleDC(0). 2001-08-20 18:00:10 +00:00
Marcus Meissner 872097ccd4 We need to make a copy of the fontname and the HFONT handle in
IFont_Clone, otherwise we get memory corruption and bad GDI handles.
2001-08-20 17:59:10 +00:00
Alexandre Julliard 4ff32c8aef Removed a number of direct accesses to the window structure. 2001-08-18 18:08:26 +00:00
Eric Pouech a3d3d40506 Started implementing the MCIWnd* functions. 2001-08-18 18:02:34 +00:00
Marcus Meissner d23f0dbea2 Do not pass the high level wFlags from VariantChangeType* down to low
level Variant conversion functions.
2001-08-18 18:00:50 +00:00
Alexandre Julliard e007b98e9b Fixed internal inline function that was declared extern. 2001-08-18 16:11:28 +00:00
Eric Pouech 96c514bdf8 Replaced memset by hand made equivalent to work around some buggy
memset implementations.
2001-08-18 16:09:41 +00:00
Eric Pouech 6360917580 Because of circular dependencies between comctl32 and msvfw32, replace
in comctl32 delay loading of msvfw32 by manual loading.
2001-08-18 16:09:19 +00:00
Gerard Patel 0a5ab16aee Fix FillRect calls in FILEDLG95_LOOKIN_DrawItem. 2001-08-18 16:07:06 +00:00
Marcus Meissner 83e0bac511 Do not hold the GDI lock when the ABORTDOC procedure is called. 2001-08-18 16:06:47 +00:00
Mike McCormack 8fef006fd2 Implemented oleaut32.VarBstrCat. 2001-08-18 16:06:30 +00:00
Alexandre Julliard 78f9fae706 Create GDI stock objects as normal objects instead of using magic
handle values.
2001-08-17 00:07:13 +00:00
Alexandre Julliard e811f9c353 Specify sizes for stock fonts again; removed the FixStockFontSize
hack. Ignore mapping modes when selecting stock fonts into a DC.
Removed a few direct accesses to GDI structures from x11drv.
2001-08-16 19:13:52 +00:00
Alexandre Julliard 3954117ce4 Moved undocshell.h to dlls/shell32. Removed shell16.h. 2001-08-16 18:49:56 +00:00
Alexandre Julliard 301df6b5cd Added names to standard critical sections (suggested by Andreas
Mohr).
2001-08-16 18:12:56 +00:00
Mike McCormack 06abe79037 Partially implement oleaut32.VarBstrCmp. 2001-08-16 18:01:41 +00:00
Alexandre Julliard 2fe7c11014 Fixed win16drv initialisation. 2001-08-15 23:30:15 +00:00
Uwe Bonnes 97ac961214 PathGetExtensionAW has three arguments. 2001-08-15 23:20:21 +00:00
Hidenori Takeshima fb96436931 Added some stubs for quartz dll. 2001-08-15 19:26:52 +00:00
Marcus Meissner 4736cc8cd5 Implemented VarParseNumFromStr, VarNumFromParseNum. 2001-08-15 18:47:28 +00:00
Ian Pilcher 2576513014 Eliminate glyph bounding boxes & other unused font metrics. 2001-08-15 17:41:37 +00:00
Eric Pouech 7321bfa006 Fixed error message and return value in case of bogus 'open all' mci
string command. Minor 32/16 optimizations and cosmetic fixes.
2001-08-15 17:40:03 +00:00
Marcus Meissner 542f775343 DateTimeStringToTm and DateToTm must use dwFlags instead of lcid. 2001-08-15 17:39:24 +00:00
Alexandre Julliard 20bc491dc7 Added mappings for a few messages.
Added unicode messages bit set to shortcut message mapping when
possible.
2001-08-13 20:33:21 +00:00
Guy L. Albertelli d1c46851e1 - Implemented RB_MAXIMIZEBAND for the "ideal=TRUE" case.
- Implemented NM_CUSTOMDRAW notifications for the ITEMPREPAINT and
  ITEMPOSTPAINT only. (Used by IE4 - go figure.)
- Invalidate window rectangles after certain RB_ messages like the
  native. Fixed some painting problems.
- Added UpdateWindow call in _MoveChildWindows to fix other painting
  problems.
- Set the Caption Font as the default font for all bands.
2001-08-13 20:11:34 +00:00
Guy L. Albertelli f617391dad - Implement TBSTYLE_FLAT as "transparent" toolbar and buttons. (Skip
FillRect and BF_MIDDLE on _FLAT toolbars.)
- Issue FIXMEs for unsupported styles.
- If the "hidden" state has changed then recalc the buttons.
- Support TBSTYLE_CUSTOMERASE (used by IE4) ans issue some of the
  necessary NM_CUSTOMDRAW notifies.
- Pass the WM_ERASEBKGND to parent if the toolbar is "transparent".
- Invalidate the area 1 bigger than the button rect on a WM_MOUSELEAVE
  so that the edge is "erased" by the parent.
- Support the PGN_CALCSIZE notify since a toolbar can be a child of the
  Pager control.
2001-08-13 20:09:18 +00:00
Guy L. Albertelli be73d10dc5 Add support to respond to the PGN_CALCSIZE version of the WM_NOTIFY
message.
2001-08-13 20:08:21 +00:00
Guy L. Albertelli 3554e75cc8 - Make all WM_NOTIFY messages go to the parent.
- Allow WM_WINDOWPOSCHANGING when the control is size 0 to set initial
  size.
- Combine multiple SetWindowPos calls in same processing line and make
  the flags like native.
- Redo WM_NCCALCSIZE to match native.
- Since Pager is a "transparent" control (except for its own buttons),
  the WM_ERASEBKGND needs to be passed to the parent. Also do the window
  offset like the native control does.
2001-08-13 20:07:47 +00:00
Daniel Walker 3e3e230d3b - implemented SystemTimetoVariantTime/VariantTimetoSystemTime
There was another implementation of SystemTimetoVariantTime
    submitted that didn't work for dates prior to 1900.
- implemented VarDateFromUDate/VarUdateFromDate
- implemented VariantTimeToDosDateTime
2001-08-13 20:07:01 +00:00
Jukka Heinonen abdb6d6836 Fixed _control87 return value, use of wrong assembler command to get
fp control word and a bug that inverted _IC_AFFINE flag.
Made _controlfp work as specified in MSDN.
2001-08-13 20:03:29 +00:00
Ian Pilcher 1ea54c608e Remove unused character width array. 2001-08-11 18:23:17 +00:00
Ian Pilcher ec74ea3e98 Make EnumFonts and SelectObject use common font scaling. 2001-08-11 18:22:29 +00:00
Alexandre Julliard de42428f23 Removed a number of direct accesses to the WND structure, replacing
them by API calls.
2001-08-10 22:51:42 +00:00
Jörg Mayer e5b5af9d66 Fixed a few signed/unsigned and "unsigned < 0 always true" warnings. 2001-08-10 22:49:35 +00:00
Ian Pilcher 061cfa80a7 Removed ANSI encoding stuff. 2001-08-10 22:30:16 +00:00
Dusan Lacko 1a74b2abd6 Fix ExtractFromEXEDLL for nIndex != 0.
Prefer 8bit icons.
2001-08-10 22:29:48 +00:00
Mike McCormack 0dae258385 Implemented msvcrt._mbspbrk. 2001-08-10 22:24:54 +00:00
Eric Pouech 78a4134e51 - implemented correctly the HSZ as local atoms and added the needed
conversions to global atoms
- enhanced internal handle <=> pointer conversions, as well as
  validity of such objects (life time, destruction, mutual access...)
- fixed a few ANSI/Unicode issues, stores most of the data as Unicode
- started having both Ansi/Unicode DDE window procs for message A/W
  transformation
- fixed a few segmented pointer issues (mainly in DdeInitialize &
  DdeGetData)
- added most of the CBF_ flags handling
- implemented the conversation announcement (XTYP_CONNECT_CONFIRM) on
  server side
- enhanced DdeQueryConfig and implemented DdeReconnect
- implemented conversation termination (including XTYP_UNREGISTER)
- several others code clean up
- added transaction support on server side too
2001-08-09 22:07:22 +00:00
Mike McCormack 7b3495ac93 Implemented multibyte string reverse. 2001-08-09 21:37:19 +00:00
Ian Pilcher c4e40d8f9e Remove previously disabled code. 2001-08-09 21:36:56 +00:00
Patrik Stridvall a2afd5b8ad Documentation fixes. 2001-08-09 21:36:39 +00:00