Commit Graph

36 Commits

Author SHA1 Message Date
Peter Oberndorfer cb83957e3c shlwapi: Write back data to registry when closing reg stream. 2009-09-29 12:31:50 +02:00
Peter Oberndorfer 90e800cf9b shlwapi: Allow SHOpenRegStream2 A/W to work with not existing values.
When mode is STGM_WRITE or STGM_READWRITE make sure key key exists.
Only read data in STGM_READ or STGM_READWRITE mode.
Do not depend on value type being REG_BINARY.
Succeed when reading not existing values.
2009-09-29 12:31:50 +02:00
Peter Oberndorfer a35fd4f496 shlwapi: Remove pointer check in IStream::Clone, it also crashes on Windows.
Add comments to functions that are not implemented.
2009-09-29 12:31:50 +02:00
Peter Oberndorfer 58669ece91 shlwapi: Implement IStream::Write, Seek and SetSize.
On Write holes between file size and cursor are filled with 0 bytes.
On SetSize holes caused by increasing file size are filled with 0 bytes.
2009-09-29 12:31:22 +02:00
Peter Oberndorfer da984870cd shlwapi: Fix IStream::Read for reg/mem stream. 2009-09-29 12:11:27 +02:00
Peter Oberndorfer d4f873055f shlwapi: Fix logic of SHCreateMemStream in combination with NULL pointers. 2009-09-29 12:10:22 +02:00
Peter Oberndorfer 60b8750d3b shlwapi: Implement IStream::Stat for registry/memory streams. 2009-09-29 12:08:41 +02:00
Peter Oberndorfer 2d41762553 shlwapi: Fix prototype of SHCreateMemStream. 2009-09-29 12:08:16 +02:00
Hans Leidekker e119a04a26 shlwapi: Win64 printf format warning fixes. 2006-10-06 17:26:49 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Vincent Béron 834385cad4 Add some missing includes which contain used prototypes. 2005-12-09 11:51:17 +01:00
Mike McCormack 82434be6a9 gcc 4.0 warning fixes. 2005-07-29 14:15:31 +00:00
Dmitry Timoshkov eba47f1dfe Make remaining OLE interface vtables const. 2005-06-06 19:50:35 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
James Hawkins a1e304a25f - use only stored result of Interlocked* in AddRef/Release
- expand TRACEs to display the ref count
2005-01-12 19:29:43 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Francois Gouget 486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Alexandre Julliard 39a696a166 Removed some uses of the non-standard ICOM_THIS macro. 2004-09-06 20:34:29 +00:00
Alexandre Julliard f714b39762 Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
macro.
2004-08-23 19:39:48 +00:00
Alexandre Julliard 48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Alexandre Julliard 0467ce9fd7 Get rid of the non-standard ICOM_VFIELD macro. 2004-08-12 19:52:49 +00:00
Robert Shearman b6f34d3c3f - Convert ordinals to their real names.
- Partially implement a few Assoc* functions.
2003-09-11 02:56:15 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard c2ebe1ff93 Removed uses of the non standard ICOM_VTBL macro. 2003-04-10 18:17:34 +00:00
Jon Griffiths cd4234aa49 Documentation updates. 2003-03-18 18:35:48 +00:00
Ove Kaaven 1f5315c80f Make sure that no files except unknwn.h include wine/obj_base.h
directly.
2002-12-05 20:33:07 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Michael Stefaniuc 79404213a2 Compile the shlwapi dll with -DSTRICT. 2002-10-25 03:12:32 +00:00
Jon Griffiths 91ec8e14c6 Reorganise/minor tidyup of ordinal functions.
Implement StrCmpLogicalW,StrFormatByteSizeA/W,StrFormatByteSize64A,
SHCreateStreamWrapper.
Fix some output .spec parameters from str to ptr.
Fix definition of StrFormatByteSize functions.
2002-09-20 19:41:08 +00:00
Jon Griffiths 799aa9ccde Set amounts read/written to 0, share Un/Lock code, unify ctors.
SHOpenRegStreamA/W return a dummy object on failure, not NULL.
Implement @12 using common ctor.
2002-07-19 03:13:58 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Alexandre Julliard 74af67ef42 Removed shell.h. Cleaned up the nested includes mess in wine/obj_*.h. 2000-09-26 00:00:55 +00:00
Alexandre Julliard 6430d93aa6 Moved shlwapi routines from shell32.dll to shlwapi.dll. 2000-07-26 17:51:32 +00:00