Mike Hearn
266e19ebc0
In the global interface table:
...
- Print warnings when things go wrong.
- Alter the way we do refcounting.
- Don't release the stream on retrieval, just rewind it instead.
- Implement thread safety.
2003-08-23 00:45:49 +00:00
Jon Griffiths
ad86c25a8a
Remove redundant wine specific #include.
2003-08-18 19:48:38 +00:00
Alexandre Julliard
19b6a49845
Allocate DebugInfo field for all critical sections (based on a patch
...
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Patrik Stridvall
ba78aac406
Fixed some issues found by winapi_check.
2003-08-08 21:07:23 +00:00
Alexandre Julliard
20698b22df
Make the DllRegisterServer, DllRegisterServerEx, DllUnregisterServer,
...
DllGetClassObject and DllCanUnloadNow functions private (suggested by
Jon Griffiths).
2003-07-30 03:48:55 +00:00
Mike Hearn
6a8ac17c64
- GIT should not dereference ppv when unmarshalling interface.
...
- Correctly eliminate refcounting in the GIT.
- Add warning when given riid does not match.
2003-07-22 01:01:25 +00:00
Mike Hearn
cb7db104dd
IMallocSpy cannot cause an allocation failure when cb == 0.
2003-07-22 01:01:06 +00:00
Mike McCormack
97ac282fa7
Created stub for CreateClassMoniker.
2003-07-18 22:59:58 +00:00
Jon Griffiths
839131f600
Remove FIXMEs and prototypes for now-implemented functions.
2003-07-18 22:54:01 +00:00
Steven Edwards
32d27dc77b
- Create new file ole2_16.c for ole2 16bit only functions.
...
- Move CLSIDFromProgID16 so it can be used internally.
- Compile out more Win16 sources.
2003-07-09 19:49:12 +00:00
Francois Gouget
56aaea2f43
Spelling fixes.
2003-07-09 02:52:57 +00:00
Francois Gouget
14a5d168e9
Fixed some common spelling errors.
2003-07-02 04:37:26 +00:00
Dmitry Timoshkov
4e1ef0c114
For all DLLs with defined DllMain and which do not require
...
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Troy Rollo
72659c998f
Implemented OleDraw.
2003-06-27 04:03:40 +00:00
Francois Gouget
9591836ffb
'sizeof type' is best avoided as it won't always compile (e.g. 'int
...
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Francois Gouget
c5f775a9c7
Typos/spelling fixes.
2003-06-18 03:30:39 +00:00
Mike Hearn
739ccae798
Implement a class factory for the Global Interface Table.
2003-06-17 03:57:18 +00:00
Ove Kaaven
ef57c4d905
Preliminary support for COM apartments.
2003-06-04 20:11:34 +00:00
Ove Kaaven
95f7c6c8d9
DCOM IDL file based on the DCOM specification.
2003-05-22 03:36:26 +00:00
Mike McCormack
1048ebb37e
Semi-correct implementation of OleMetafilePictFromIconAndLabel.
2003-05-19 18:50:36 +00:00
Steven Edwards
6c5e872240
Separate Win16 and Win32 implementations in memlockbytes.
2003-05-15 22:55:37 +00:00
Mike McCormack
cf983e9a7f
Added stub for OleDoAutoConvert.
2003-05-13 22:14:30 +00:00
Francois Gouget
f803e2a92d
Fix miscellaneous spelling errors and typos.
2003-05-13 00:41:57 +00:00
Robert Shearman
98747abd75
- Implement a few more cases in PropVariantClear.
...
- Partially implement PropVariantCopy.
- Implement FreePropVariantArray.
2003-05-13 00:32:43 +00:00
Mike McCormack
936d1059e2
Implemented WriteFmtUserTypeStg and ReadFmtUserTypeStg.
2003-05-11 02:40:29 +00:00
Andreas Mohr
51c38cc729
Fix blatantly wrong SetFilePointer() calls.
2003-04-14 21:33:49 +00:00
Alexandre Julliard
2d5519f15c
The com_interface attribute is not needed on derived classes.
...
Removed the ICOM_CTHIS* macros.
2003-04-12 00:09:14 +00:00
Alexandre Julliard
aae3cb61cd
Simplified COM interface declarations, removing the need to define
...
both an xxx_METHODS and an xxx_IMETHODS macro.
2003-04-11 00:31:02 +00:00
Alexandre Julliard
c2ebe1ff93
Removed uses of the non standard ICOM_VTBL macro.
2003-04-10 18:17:34 +00:00
Alexandre Julliard
f00c46f030
Use a more compatible technique to declare COM interfaces methods,
...
using Microsoft's STDMETHOD macros instead of the Wine-specific
ICOM_METHOD ones.
2003-04-10 00:19:24 +00:00
Alberto Massari
fc47be5735
- The bindcontext object was leaking strings.
...
- Removed unused variable.
2003-04-05 05:10:37 +00:00
John K. Hohm
bbc25aaa11
Implement DllRegisterServer and DllUnregisterServer for ole32.dll, and
...
add OleSelfRegister version string.
2003-03-28 19:33:04 +00:00
Alexandre Julliard
e048adab83
List 16-bit spec files explicitly to avoid problems with some versions
...
of make.
2003-03-23 20:00:02 +00:00
Alexandre Julliard
114a31a2a8
Take advantage of new winebuild syntax to remove redundant function
...
names in spec files.
2003-03-20 03:53:12 +00:00
Mike Hearn
f181303246
Fixed copyright date.
2003-03-20 01:31:16 +00:00
Alexandre Julliard
a9c51cb60b
Replaced forwards by normal function declarations.
2003-03-17 00:17:00 +00:00
Mike Hearn
cb816d2c3f
Implemented the global interface table object using a simple linked
...
list.
2003-03-11 01:45:38 +00:00
Dan Kegel
743af54541
Roll loop back up to avoid code duplication.
2003-02-14 23:30:50 +00:00
Michael Stefaniuc
3dcd451bf6
Remove dead code after return or properly comment it out.
2003-02-12 01:23:17 +00:00
Juergen Schmied
34f89b23c6
Fix DoDragDrop in case of child windows.
2003-01-28 01:06:20 +00:00
Gerald Pfeifer
9e40570812
Avoid compiler warning in STORAGE_get_free_pps_entry().
2003-01-28 00:24:23 +00:00
Francois Gouget
9b0b1e078a
Remove (POINTER)NULL casts.
2003-01-14 23:43:41 +00:00
Alberto Massari
04ee55e994
- Align the cleanup phase of ReleaseStgMedium to the native API.
...
- When the data is a bitmap or an enhanced metafile, use the correct
data member.
2003-01-14 19:32:14 +00:00
Robert Shearman
37d9b486f9
Support a few trivial cases in PropVariantClear.
2003-01-13 20:37:39 +00:00
Marcus Meissner
27627d977e
Implemented CoGetTreatAsClass.
2003-01-11 20:58:10 +00:00
Dimitrie O. Paun
297f3d898d
Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them.
2003-01-07 20:36:20 +00:00
Dimitrie O. Paun
f53ddb2618
Stubs for DllGetClassObject, Ole[GS]etClipboard in ole2.
2003-01-07 19:42:43 +00:00
Marcus Meissner
274e72672b
ole2nls.c is a 16bit only.
...
No need to define ICOM macros for 16bit iface IMalloc16.
Define and implement HGLOBAL_LockBytes16.
Started on StgOpenStorageOnILockBytes.
2003-01-05 01:04:34 +00:00
Dimitrie O. Paun
cef5961d2b
Eliminate lots of __WINE__ conditionals from the headers.
2003-01-03 19:12:55 +00:00
Alberto Massari
bb7e49a4e2
IBindCtx::RegisterObjectParam is supposed to replace the old value if
...
the key is already registered.
2003-01-02 17:51:34 +00:00
Alexandre Julliard
d2c034a8dc
Removed some remaining references to wine/obj_base.h.
2002-12-23 01:39:35 +00:00
Alexandre Julliard
87fa2d586d
Fixed a few problems caused by the new objidl.idl.
2002-12-19 22:16:35 +00:00
Ove Kaaven
a93a5e9ce0
Moved some definitions from include/wine/obj_moniker.h to
...
dlls/ole32/moniker.h.
2002-12-19 01:09:40 +00:00
Ove Kaaven
dcb9240a92
Removed a few more inclusions of deprecated wine/obj_*.h headers.
2002-12-18 20:48:05 +00:00
Alexandre Julliard
dbf8b78acd
Added .spec.def files.
2002-12-12 22:04:04 +00:00
Robert Shearman
26781acb87
Implemented BindMoniker function.
2002-12-12 02:17:39 +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
Alexandre Julliard
8710a79d54
Compile ole32 with -DSTRICT.
2002-11-22 04:43:02 +00:00
Ryan Cumming
42867265ca
- Move StgIsStorageFile16's implementation to StgIsStorageFile; port
...
it to Win32.
- Move StgIsStorageFile from storage.c to storage32.c.
- StgIsStorageFile only returns S_OK, STG_E_FILENOTFOUND, and S_FALSE.
- StgIsStorageFile doesn't check if a file is large enough to be a
storage file, it only checks for the presence of the 8-byte magic.
2002-11-18 19:43:58 +00:00
Alberto Massari
544efc84f1
Implemented body of HGLOBALStreamImpl::Clone.
2002-11-12 02:13:49 +00:00
Alexandre Julliard
1e1313d54c
Made the dll entry point default to DllMain and removed most of the
...
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Marcus Meissner
8712174c0d
Handle errors in std marshaller better, do not crash.
...
Added another error message if some program tries to marshal
IOleObject.
OleCreate() should be able to use Local Servers too (it can't as of
now, just for debugging).
2002-11-04 22:38:26 +00:00
Alexandre Julliard
23bb3715f7
Added support for building certain dlls with -DSTRICT.
...
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Alexandre Julliard
9a8de13d77
Split out some 16-bit GDI code.
2002-10-18 04:06:47 +00:00
Alexandre Julliard
0ca051e555
Fixed wownt32.h to make it usable from inside Wine, and use it to
...
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Michael Stefaniuc
bc54d78532
- change the internal functions in windows/cursoricon.c to use 32bit
...
handles
- move the implementation of ExtractAssociatedIcon16 to
ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
doing the above
2002-10-10 21:22:09 +00:00
Alexandre Julliard
1668870f38
Fixed warnings caused by new winternl.h.
2002-09-12 22:28:01 +00:00
Patrik Stridvall
9c1de6de30
Moved all the content of the DDK files ntdef.h and ntddk.h to
...
winternl.h.
2002-09-12 22:07:02 +00:00
Michael Stefaniuc
4a75c5c6ea
Convert HACCEL to a void*.
2002-08-28 00:39:39 +00:00
Patrik Stridvall
d016f819f1
Added include protection for unistd.h and sys/time.h.
2002-08-17 00:43:16 +00:00
Patrik Stridvall
d97f7cdecb
Fixed some issues found by winapi_check.
2002-08-17 00:21:53 +00:00
Huw D M Davies
9a8fc06357
DWORD at offset 0x40 in the header is the number of big blocks in the
...
small block depot chain.
Better failure handling.
2002-08-16 19:55:14 +00:00
Dmitry Timoshkov
472a5e52eb
Fixed GetClassFile implementation.
2002-08-16 01:39:12 +00:00
Patrik Stridvall
4325554aef
Fixed some issues found by winapi_check.
2002-08-09 01:07:29 +00:00
Gregg Mattinson
8c9bdcc9e1
Fixes for Sparc build.
2002-08-07 01:18:41 +00:00
Juergen Schmied
d1c144148c
- Moved 16 bit functions to a seperate file.
...
- First implementation for free threaded marshaller.
- Fixed handling of REG_EXPAND_STRING registry values in CoCreateObject.
- Fixed CoLoad/FreeLibrary functions.
- Fixed use internal dll-list (used only for functions loading a dll
internally without returning HMODULE).
2002-08-03 00:17:10 +00:00
Juergen Schmied
c1f9d386eb
- Implemented IMallocSpy hooks in IMalloc.
...
- Moved memory related functions into ifs.c.
- Implemented stubs for the MallocSpy.
2002-07-29 23:30:20 +00:00
Michael Stefaniuc
5c55df649b
Converted HENHMETAFILE and HMETAFILE to a void*.
2002-07-29 00:14:59 +00:00
Marcus Meissner
99f4890788
Factored out the OLE 16 bit allocator from StringFromCLSID.
...
Implemented ProgIDFromCLSID16.
2002-07-25 23:55:55 +00:00
Patrik Stridvall
a50698b903
Fixed some issues found by winapi_check.
2002-07-23 01:59:46 +00:00
Jon Griffiths
900f57052c
Stub implementation for CoInitializeSecurity.
2002-07-19 00:23:27 +00:00
Juergen Schmied
bdd7d8bc47
Fixed two leaks in file- and itemmoniker.
2002-07-16 01:43:24 +00:00
Marcus Meissner
c1f3738568
Added a generic way of doing GetHGlobalFromILockBytes().
2002-07-05 21:19:55 +00:00
Juergen Schmied
33817372fe
Support for large and negative offsets.
2002-07-01 18:10:34 +00:00
Vincent Béron
e35580f4c9
Fixed some various comparisons wrt signedness.
2002-06-21 22:25:17 +00:00
Alexandre Julliard
bf50153479
Fixed CLSIDFromString endianness assumptions (reported by Gregg Mattinson).
2002-06-21 21:55:37 +00:00
Alexandre Julliard
77afd6c47e
Made some more spec file entries optional or unnecessary.
...
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Alexandre Julliard
a5755b10a7
Authors: Mike McCormack <mikem@codeweavers.com>, Jeremy White <jwhite@codeweavers.com>
...
Fixed memory leaks.
2002-06-13 23:54:55 +00:00
Marcus Meissner
fd625ddb0b
Added marshalling of IUnknown.
2002-06-04 22:14:06 +00:00
Bill Medland
978a934245
Fixed incorrect pointer-cast arithmetic.
...
Extended ole trace information.
Don't lose the existing pipes on alloc failure.
2002-06-04 00:53:21 +00:00
Alexandre Julliard
7cae558bdc
Removed some more trailing whitespace.
2002-06-01 02:55:48 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Bill Medland
d36c8e9d0c
Ensure that an out-of-process COM object is started only once.
...
Allow out-of-process COM objects if request is for
in-or-out-of-process.
2002-05-29 19:20:32 +00:00
Marcus Meissner
e656fc1cd6
Dropped superflous Remote_CoGetClassObject() (entirely contained in
...
create_marshalled_proxy()).
2002-05-29 19:05:14 +00:00
Marcus Meissner
f9bf085108
Tell the user if winedefault.reg is not loaded.
2002-05-16 20:26:40 +00:00
Alexandre Julliard
ad53383f9b
Added winebuild support for generating a .dbg.c file containing the
...
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard
67371bcc8d
Added -res option to specify resources on winebuild command-line.
...
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard
32459912dc
Moved imports specification from the .spec into the Makefile so that
...
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Hidenori Takeshima
a781a31922
Return error codes in some 16bit ole stubs, returning success causes
...
crashes.
2002-04-11 23:44:48 +00:00
Alexandre Julliard
c1bfca04e1
Changed builtin dlls file names to make it clear they are not normal
...
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Patrik Stridvall
ee7c86f277
Fixed some issues found by winapi_check.
2002-03-11 01:17:26 +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
Mike McCormack
c129764af1
Fixed merge error.
2002-02-28 20:46:31 +00:00
Stefan Leichter
923861fbd2
Compile fix for GCC 2.7.x.
2002-02-22 21:22:06 +00:00
Sander van Leeuwen
3ad8d3f0d0
Must make a copy of global handle returned by GetClipboardData; it is
...
not valid after we call CloseClipboard. Application is responsible for
freeing the memory (fixes copy/paste in mail body in Forte Agent).
2002-02-19 18:22:28 +00:00
Patrik Stridvall
651a8ba880
Added some defines for compatibility with Windows headers.
2002-02-15 19:12:35 +00:00
Lawson Whitney
d23cf08262
Fix off-by-one error in placing trailing \0.
2002-02-08 17:09:11 +00:00
Marcus Meissner
0749fc2034
Implemented Local Server COM.
...
Implemented the Typelib based Marshaler.
2002-02-05 18:11:17 +00:00
Patrik Stridvall
57e5784c21
Move __stdcall/__cdecl to the right place.
2002-02-02 18:42:11 +00:00
Alexandre Julliard
925d602766
CodeWeavers
...
Small fixes.
2002-01-31 21:01:35 +00:00
Patrik Stridvall
74e4d21ebe
Avoid wildcards in .cvsignore.
2002-01-29 03:05:12 +00:00
Bill Medland
43471ddf0b
CoGetClassObject: for CLSCTX_LOCAL_SERVER at least look up the server
...
in the registry, even though we don't yet execute it.
2002-01-18 18:09:37 +00:00
Marcus Meissner
4a29e1f11a
Removed some useless wingdi.h includes.
2002-01-14 18:36:37 +00:00
Marcus Meissner
6ea7932c80
Implemented CoTreatAsClass, simplified OleSetAutoConvert.
2002-01-03 02:34:09 +00:00
Alexandre Julliard
193cf50a09
Removed some of the calls to HEAP_strdup* functions.
2002-01-01 00:24:30 +00:00
Jukka Heinonen
420f6c0030
Name of the structured storage file root node is path of the file, not
...
the name of the root node stored in the file.
When reading streams stored into structured storage files, EOF is not
supposed to cause an error if at least one byte can be returned.
2002-01-01 00:13:32 +00:00
Alexandre Julliard
851297919b
Use MapLS/UnMapLS instead of SEGPTR_* macros.
2001-12-24 20:30:24 +00:00
Alexandre Julliard
b0f586178a
Moved heap functions to ntdll.
...
Got rid of internal heap flags.
Reimplemented MapLS to not depend on the segptr heap.
2001-12-19 19:16:27 +00:00
Andreas Mohr
9cef2d0b1d
- fix wrong hexadecimal GetLastError() output
...
- misc fixes
- changed my email address
2001-11-19 02:30:01 +00:00
Huw D M Davies
f3d962226f
Better failure messages for CoCreateInstance.
2001-10-23 19:52:08 +00:00
Francois Gouget
3bb9a36ee0
Spelling, grammar and a bit of comment formatting fixes.
2001-10-22 19:04:32 +00:00
Patrik Stridvall
3c0211f969
Cleanup code that is strange or difficult to parse.
2001-09-11 00:32:32 +00:00
Hidenori Takeshima
aad36bcd59
Synchronize access to the s_COMLockCount, firstRegisteredClass,
...
openDllList in compobj.
2001-09-11 00:26:12 +00:00
Bill Medland
548d8a2a07
Basic implementation of IStream:Clone.
2001-09-10 23:14:39 +00:00
Francois Gouget
588ff3743a
Documentation updates (mainly thru vs. through).
2001-08-21 17:07:17 +00:00
Patrik Stridvall
6ad988eb2d
Fixed some warnings.
2001-07-29 20:19:51 +00:00
Alexandre Julliard
1922c72b8a
Removed unnecessary inclusion of heap.h.
2001-07-25 00:43:29 +00:00
Patrik Stridvall
4b1574577d
- Made sure that the files that contains the declarations
...
of the implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-23 23:50:18 +00:00
Patrik Stridvall
bc38d6bfde
- Made sure that the files that contains the declarations
...
of the implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-20 18:00:00 +00:00
Marcus Meissner
1ef0d39c66
Made some FIXME()s print the respective strings passed.
...
Changed StgSetTimes() to correct type.
2001-07-14 00:47:52 +00:00
Patrik Stridvall
e9782fa1fc
Documentation fixes.
2001-07-12 22:33:51 +00:00
Patrik Stridvall
044855c6ec
Documentation fixes.
2001-07-11 18:56:41 +00:00
Patrik Stridvall
655b2044d9
Fixed issues found by winapi_check.
2001-07-08 22:32:51 +00:00
Patrik Stridvall
01d5e5b071
Documentation fixes.
2001-07-02 19:59:40 +00:00
Patrik Stridvall
a274dd9105
Fixed some issues found by winapi_check.
2001-07-02 01:22:10 +00:00
Dmitry Timoshkov
93e936f97b
Finish ole32 separation.
2001-06-28 17:59:22 +00:00
Patrik Stridvall
3ca9823941
Documentation ordinal fixes.
2001-06-20 23:03:14 +00:00
Patrik Stridvall
8b216b3d02
Documentation ordinal fixes.
2001-06-19 18:20:47 +00:00
Patrik Stridvall
172cd1b967
Fixed some issues found by winapi_check.
2001-06-11 20:16:11 +00:00
Francois Gouget
e76218dd61
Add '\n' at the end of traces.
2001-05-09 17:31:31 +00:00
Patrik Stridvall
b3086a7593
Fixed some issues found by winapi_check.
2001-04-25 19:54:21 +00:00
Andreas Mohr
f32f918123
Spelling fixes.
2001-04-20 18:36:05 +00:00
Dmitry Timoshkov
cc3dcc4a22
Implementation of OLE32.IsAccelerator.
2001-04-16 18:58:09 +00:00
Dmitry Timoshkov
973355f617
Return STG_E_FILEALREADYEXISTS in ole32.StgOpenStorage if the file is
...
not a storage object.
2001-04-16 18:57:18 +00:00
Marcus Meissner
40af1a87a5
Arg 3 of CoGetClassObject is COSERVERINFO*, added some more debug.
2001-04-09 18:33:49 +00:00
Marcus Meissner
826c1af100
Added GetConvertStg stub.
2001-04-09 18:33:03 +00:00
Gerard Patel
282bdb3564
Don't try to create file twice in the NULL filename case for
...
StgCreateDocFile.
2001-03-31 00:51:54 +00:00
Francois Gouget
282f7270c1
Small 'typos in comments' fixes.
2001-02-28 05:31:02 +00:00
Francois Gouget
b87a83866f
Change the callback declarations to a safer format.
2001-02-12 03:51:04 +00:00