Commit Graph

9740 Commits

Author SHA1 Message Date
Huw Davies 81768fe150 Allocate the TYPEATTR rather than copying it.
For a dual interface the dispinterface's cfuncs should include the
inherited functions, cbSizeVft should just be the size of IDispatch's
vtbl and we should strip TYPEFLAG_FOLEAUTOMATION.
2004-12-02 19:58:07 +00:00
Alexander Yaworsky e6985ab3a5 Basic implementation of service control dispatcher. 2004-12-02 19:51:41 +00:00
Peter Chapman 505dfdefb5 Fix up several inline assembler blocks so that they produce correct
code with the -fomit-frame-pointer gcc flag.
2004-12-02 18:19:25 +00:00
Eric Kohl faa7df1e08 Implement SetupDiBuildClassInfoList(ExW),
SetupDiClassGuidsFromName(W/ExW), SetupDiClassNameFromGuid(W/ExW),
SetupDiGetActualSectionToInstallW, SetupDiGetClassDescription(W/ExW),
SetupDiInstallClassW partially, SetupDiOpenClassRegKey(ExW),
SetupOpenMasterInf.
2004-12-02 18:09:53 +00:00
Eric Pouech 44158dd690 - moved event, semaphore, mutex implementation from kernel32 to ntdll
- added mutant implementation in ntdll, and use it for mutex
  implementation in kernel32
- added access parameter on event, semaphore, timer creation in
  wineserver (as ntdll interface requires it)
- added missing definitions in include/winternl.h
2004-12-02 18:05:37 +00:00
James Hawkins 513d5087b4 Fix cabextract memory leak. 2004-12-02 17:55:41 +00:00
Dmitry Timoshkov fafe030e9a Always create a suspended thread in CreateThread and resume it if
CREATE_SUSPENDED flag is not set as Windows does.
2004-12-01 15:37:26 +00:00
Michael Jung 95c3d9b2a5 Moved code specific to CPGenKey, CPDeriveKey or CPImportKey from
new_key into the respective functions.
2004-12-01 15:34:56 +00:00
Robert Shearman 3b0a5d0a06 - Add some function declarations to objbase.h.
- Add stubs for server ref counting.
- Implement HRESULT marshaling.
2004-12-01 15:33:34 +00:00
Filip Navara 155c8acfbd - Check the return value from *_GETNUMDEVS message as per KB90562.
- Fix typo in MMDRV_InstallMap.
2004-12-01 15:32:19 +00:00
Alexander Yaworsky 78b64795d7 Introduced service thread. 2004-12-01 15:31:34 +00:00
Bill Medland 22da469b20 If the buffer is no longer static the names should reflect that.
Also minimise the use of the constant.
2004-12-01 15:29:04 +00:00
Mike McCormack 418672f2e5 Added a stub implementation for GetCurrentHwProfileW. 2004-12-01 15:27:59 +00:00
Ulrich Czekalla 21970dc2f7 Prevent the animation thread from waiting on itself when it stops. 2004-12-01 15:27:18 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Jacek Caban d9ce4cd628 - Added stub implementation of IInternetZoneManager interface.
- Added implementation of CoInternetCreateZoneManager function.
- Added stub implementation of UrlMkGetSessionOption and corrected
  declaration of UrlMkSetSessionOption.
- Code cleanup.
2004-11-30 21:14:21 +00:00
Hans Leidekker 7c98f01159 Infrastructure for handling ICC profiles.
Always load color profiles into memory.
Implement and test GetColorProfileElement and GetColorProfileHeader.
Implement GetColorProfileFromHandle and SetColorProfileHeader.
2004-11-30 21:06:14 +00:00
Adam D. Moss 880bc9ce9f Fix compilation. 2004-11-30 21:05:27 +00:00
Huw Davies 5763977496 For a 15/16 bpp dib we send RGB triples to the printer so the size
multiplier is 3 not 2.
2004-11-30 21:02:46 +00:00
Michael Jung ca371a48b2 Incorporated LibTomCrypt code into rsaenh to get rid of OpenSSL
dependencies.
2004-11-30 17:43:59 +00:00
Jon Griffiths c50d8743fa Ensure DllCanUnloadNow is a truly void function, and give it a unique
name so it can be documented per-dll.
2004-11-30 17:40:51 +00:00
Jon Griffiths 18b26d893a Implement DllMain, DllCanUnloadNow, WrapProgress,
MAPIGetDefaultMalloc, IsBadBoundedStringPtr, UFromSz, UlFromSzHex,
CbOfEncoded.
Add tests for the above.
2004-11-30 17:38:52 +00:00
Dmitry Timoshkov 30bebfdc38 - Pass infoPtr around in month calendar control.
- Add support for WM_SETFONT and WM_GETFONT messages.
2004-11-30 17:35:16 +00:00
James Hawkins 88aeb475c0 Fixed a few memory leaks. 2004-11-30 17:33:27 +00:00
Alexander Yaworsky 8109cfd443 Merge Unicode and ASCII versions of StartServiceCtrlDispatcher.
Implement StartServiceCtrlDispatcherA on the top of
StartServiceCtrlDispatcherW.
Get rid of HEAP_strdupWtoA.
2004-11-30 17:29:03 +00:00
Robert Shearman d7dd3e37c8 Store the new style before redrawing and repositioning the control. 2004-11-30 17:28:10 +00:00
Jon Griffiths 5685659d75 Allow NCBRESET and NCBADDNAME to work even if there are no adapters. 2004-11-30 17:26:22 +00:00
Dmitry Timoshkov ba0ee349e6 DrawTextEx should allocate text buffer on stack for thread safeness. 2004-11-30 17:21:16 +00:00
Alexandre Julliard 7e11e528c1 Fixed RtlExpandEnvironmentStrings_U to not depend on the string being
null-terminated (spotted by Alexander Yaworsky).
2004-11-29 18:24:08 +00:00
Mike McCormack 174ae13752 Added some tests for timer functions. 2004-11-29 18:21:14 +00:00
Alexandre Julliard e0db46c4aa Get rid of the client-side window timer structures. 2004-11-29 18:18:02 +00:00
Eric Pouech 5c2a891c43 Made some functions and variables static. 2004-11-29 18:00:10 +00:00
Jason Edmeades 0a944ae319 Implement Material, Clip plane and Light support plus
MultiplyTransform.
2004-11-29 17:53:42 +00:00
Gunnar Dalsnes 3f884c2c7e Added a test to make sure that CreateDirectoryA/W does not create
multiple non-existing directories in the path given.
2004-11-29 17:52:06 +00:00
Eric Kohl 6199da3955 F4 key flips the listbox in default (not extended UI) mode. 2004-11-29 17:51:23 +00:00
Christian Costa 161a6b4d21 AVI decompressor:
- Make copies of bitmap header from media type for input and output
  and update them when needed.
- Fixed subtype for 32-bit depth in QueryAccept.
AVI splitter:
- Fixed handling of rec list.
2004-11-29 17:50:23 +00:00
Alexandre Julliard 03bd646cd0 Added missing CoInitialize. 2004-11-29 17:01:21 +00:00
Mike Hearn b547af156b Trace the OLE error info strings. 2004-11-29 17:00:39 +00:00
Mike Hearn a153efc5bb - Improve OLE function documentation.
- Bail out with CO_E_NOTINITIALIZED when apt is null.
2004-11-29 17:00:15 +00:00
Mike McCormack bc42b2e19e CFM_GETSPEC always returns a space-separated list. 2004-11-29 16:59:14 +00:00
Alexandre Julliard 7469973023 Take advantage of the new winproc handling to move some more functions
to 16-bit files.
TIMER_IsTimerValid is no longer necessary now that winprocs are never
freed.
2004-11-28 15:10:28 +00:00
Jason Edmeades eba27af4f1 Add Get/Set Transform support, plus BeginScene (does nothing). 2004-11-28 15:04:41 +00:00
Eric Pouech d3b39fe3f2 Fixed file name when opening NUL. 2004-11-28 15:01:50 +00:00
Huw Davies a96a700cf2 Protect sscanfs with a "C" locale so that they still work with new
glibcs in a locale doesn't use a '.' as a decimal separator.
2004-11-28 14:59:13 +00:00
Dmitry Timoshkov e04da6bb72 Add a test for ReadFile/WriteFile fault handling, make it pass under
Wine.
2004-11-28 14:58:11 +00:00
Ge van Geldorp c33c2da87d - Fix vertical position of text in single-line edit controls.
- Add tests for this.
2004-11-28 14:55:42 +00:00
Robert North 584c157237 - Ensure that if buffer pointer is null, queue is flushed.
- Ensure that correct packets are copied into output buffer.
- Use memmove when moving packets within queue, as source and dest
  will typically overlap.
- When moving packets in queue, ensure correct number of packets are
  moved.
2004-11-28 14:54:26 +00:00
Mike McCormack 181705cbbd - Don't limit the size of the property that can be retrieved by
MsiGetProperty.
- Make MsiGetProperty A/W implementations more consistent.
2004-11-28 14:53:46 +00:00
Alexandre Julliard 648994c3ef Changed winproc allocation to be based only on the procedure address,
to avoid the need to keep track of winprocs for each window and class.
2004-11-24 18:43:18 +00:00
Alexandre Julliard a79c534c0e Avoid using the MAKEPOINTS macro, it's broken on big endian. 2004-11-24 18:28:31 +00:00
Jason Edmeades 73e8baffd2 Add indexbuffer support into wined3d. 2004-11-24 18:13:41 +00:00
Robert Shearman aa758eaf82 Implement OleDuplicateData. 2004-11-24 18:12:06 +00:00
Mike McCormack 1a10b1c0e1 Return correct error code in EnumPrinters. 2004-11-24 18:11:28 +00:00
Mike McCormack b5a8779814 Fix ofn.nFileOffset when multiple files are selected. 2004-11-24 18:10:24 +00:00
Kevin Koltzau 9a013cc1cb CreateBrushIndirect should not return a stock brush. 2004-11-24 18:09:20 +00:00
Dmitry Timoshkov 9d8474138e Avoid some direct accesses to DC internals from metafile driver. 2004-11-24 18:08:18 +00:00
Dmitry Timoshkov b3d647384c Remove useless calls to IsBadReadPtr from ReadFile and WriteFile. 2004-11-24 18:07:52 +00:00
Alexandre Julliard c329cc4f9c Fixed handling of NULL pointer in PeekMessageW, with test (reported by
Eric Frias).
2004-11-23 17:39:13 +00:00
Kevin Koltzau a2bbacb04f Look for lcms.h in lcms/lcms.h. 2004-11-23 17:33:55 +00:00
Alexandre Julliard b98c2e3847 Append .dll extension in all cases (spotted by Mike Hearn). 2004-11-23 14:03:49 +00:00
Tom Wickline 5c38e1b561 Version resources cleanup. 2004-11-23 13:59:34 +00:00
Jason Edmeades 289562eeb5 - Implement SetStreamSource
- Ensure wined3d objects maintain a reference count of at least that
  of the d3dx version.
2004-11-23 13:52:46 +00:00
Robert Shearman 83f7b39dab When changing from DIB_Status_GdiMod to DIB_Status_GdiMod, we have to
set the previous status to DIB_Status_GdiMod, otherwise a
non-committing unlock could incorrectly revert the DIB to another
state, rather than the correct DIB_Status_GdiMod.
2004-11-23 12:21:05 +00:00
Jon Griffiths 7c1ad31f47 Set the miter limit in the DC state.
Only SetLastError() in object functions where native does.
Test the error comditions of the gdiobj functions.
Minor documentation updates.
2004-11-23 12:19:24 +00:00
Eric Pouech 25cdb4c236 Fixed regressions introduced when moving addresses as 64bit values. 2004-11-22 18:30:10 +00:00
Kevin Koltzau 1b8a8b26af Prevent environment test from crashing when environment is large. 2004-11-22 18:28:56 +00:00
Alexander Yaworsky 6d9d114303 Changed allocation of arguments in SearchPathA so path is not limited
by size of TEB static buffer.
2004-11-22 18:25:05 +00:00
Jon Griffiths dd89491edb Support mono pattern brushes in EMF's. 2004-11-22 18:22:20 +00:00
Jon Griffiths 68b7802cd5 Avoid magic number. 2004-11-22 18:19:59 +00:00
Jon Griffiths 853cb86fa7 Implement CreateBitmap using CreateBitmapIndirect so we can handle
funky alignment paddings.
SetLastError() on failure, documentation cleanup.
2004-11-22 18:18:21 +00:00
Glenn Wurster c26d15f876 Use physDev->textPixel instead of GetTextColor for ExtTextOut. 2004-11-22 18:10:16 +00:00
Evan G. Parry d23f5ef290 Added some tests for lzexpand. 2004-11-21 16:05:14 +00:00
Eric Pouech 9995c7d368 - moved into new mscvpdb.h (out of msc.c) all types and defines needed
to parse debug files generated by MS tools
- moved into coff.c (and out of msc.c) the COFF handling
- cleaned lots of types (add consistency across structs)
- versioning of some defines and types (to follow MS tools evolution)
- enhanced V2 of symbols parsing (some more types recognized, support
  of imported .pdb files)
- added support for newest .pdb format
2004-11-21 15:51:47 +00:00
Alexander Yaworsky 970a877995 Move up SERV_* functions. 2004-11-21 15:50:08 +00:00
Hans Leidekker 9db71b35d8 Implement and test GetColorProfileElementTag,
GetCountColorProfileElements and IsColorProfileTagPresent. Stub
GetStandardColorSpaceProfile{A,W}.
2004-11-21 15:48:18 +00:00
Dmitry Timoshkov c590a66f89 Call CompareStringA with LOCALE_USE_CP_ACP flag set from lstrcmpA and
lstrcmpiA in order to improve speed. Add a test case confirming that
CompareString and LCMapString accept LOCALE_USE_CP_ACP.
2004-11-21 15:47:24 +00:00
Robert Shearman 0500a7d993 - Make InternetGetConnectedStateExA not crash, by making
InternetGetConnectedStateExW fill in the buffer correctly.
- Remove the dumping of strings that will only contain garbage.
- Document function.
2004-11-21 15:42:57 +00:00
Bill Medland 2ea15a5673 Don't mess up the msvcrt codepage on e.g. _MB_CP_ANSI. 2004-11-21 15:42:03 +00:00
Eric Frias f81b6517b8 Accelerator resource struct fix for sparc. 2004-11-21 15:41:38 +00:00
Huw Davies 3138b4a8fa The default font for the treeview should be the icon title font. 2004-11-21 15:41:08 +00:00
Eric Frias 296c8c0caf Fixed file handle leak. 2004-11-21 15:39:02 +00:00
Eric Frias c8866c009b Permit unaligned memory access on sparc. 2004-11-21 15:38:26 +00:00
Rémi Assailly 8cd13776e2 Add some missing error values in WINMM_ErrorToString. 2004-11-21 15:37:04 +00:00
Jon Griffiths da086d88c9 Search the whole table when creating solid brushes. 2004-11-21 15:35:15 +00:00
Alexander Yaworsky ed92345c0b Added NOVT timezone info. 2004-11-21 15:34:28 +00:00
Kevin Koltzau a2101225fe Fix clipping for DrawThemeParentBackground. 2004-11-21 15:33:36 +00:00
Eric Pouech 6d0712a375 Moved kernel32.DeleteFileW core implementation to ntdll.NtDeleteFile. 2004-11-21 15:29:44 +00:00
Alexandre Julliard 405568801e Removed a couple of no longer needed entries. 2004-11-19 18:28:05 +00:00
Alexandre Julliard fc92ecb2f8 Fix conflicting structure tag. 2004-11-19 18:26:20 +00:00
Robert Reif 24da756e68 One step closer to getting hardware accelerated capture working. 2004-11-19 18:25:03 +00:00
Hans Leidekker 1233834ed0 Implement IsProfileValid.
Document all functions.
2004-11-19 18:22:20 +00:00
Stefan Leichter e75f49209f Fixed GetFileVersionInfoSizeA tests on NT. 2004-11-19 18:19:31 +00:00
Christian Costa 8db6b0a514 Implemented IGraphBuilder methods: Connect, Render, RenderFile &
AddSourceFilter.
Fixed filter name generation in IGraphBuilder::AddFilter.
2004-11-19 18:17:27 +00:00
Robert Shearman 18988663c2 - Use more specific error codes than E_FAIL, where possible.
- Move vtable to end, give it the const modifier, and remove unneeded
  function declarations.
2004-11-19 18:14:47 +00:00
James Hawkins 2515ff77fc Added beginnings of RegQueryValueEx tests. 2004-11-19 18:13:30 +00:00
Huw Davies a90a60866c Fallback to some sensible default values when underlining and striking
out bitmap fonts.
Rotate the strikeout line if the escapement is non-zero.
2004-11-19 18:10:47 +00:00
Zach Gorman 4b5a5868f1 Add the DT_NOPREFIX flag when calling DrawText() for single-line
listview controls.
2004-11-19 18:09:29 +00:00
Hans Leidekker d5fc2b25c9 Add version information. 2004-11-19 18:06:41 +00:00
Christian Costa 0948ed709e Fixed colorkey conversion.
Handle null surface pointer when creating surface.
2004-11-19 18:05:15 +00:00
Mike McCormack fa4036eb79 Use interlocked functions for thread safety. 2004-11-19 18:03:56 +00:00