Rob Shearman
a82f4dd9b7
Don't use GetExceptionCode and GetExceptionInformation in exception filter functions.
...
When using native compiler exceptions, it isn't valid to use
GetExceptionCode and GetExceptionInformation anywhere other than in the
filter or handler blocks since it would be very hard for the compiler to
work out where to retrieve the exception information from on the stack.
Therefore, remove the WINE_EXCEPTION_FILTER and WINE_FINALLY_FUNC macros
which enabled GetExceptionCode, GetExceptionInformation and
AbnormalTermination to be used inside of the functions they declared and
fix up all callers to access the information directly.
2008-02-16 14:57:44 +01:00
Rob Shearman
b7f3ee51b1
ole32: Add pointer moniker implementation.
2008-02-04 13:04:21 +01:00
Rob Shearman
a7234c07c4
ole32: Add a stub implementation of CreatePointerMoniker.
2008-02-04 13:02:35 +01:00
Rob Shearman
9645f9d19d
ole32: get_moniker_for_progid_display_name should fallback to using IClassFactory to get IParseDisplayName if getting it directly fails.
2008-01-07 12:31:38 +01:00
Rob Shearman
9804aba758
rpcss: Use context handles to automatically free running object table entries if the client process quits without calling IrotRevoke.
2007-12-26 13:27:42 +01:00
Michael Jung
6598589ebd
ole32: Avoid leaving a critical section twice.
2007-12-21 13:13:10 +01:00
Rob Shearman
3328ad6eb9
ole32: Initialise object variable in RunningObjectTableImpl_GetObject.
...
As per the rules for memory in RPC, the memory pointer to by object will
be used during unmarshalling and previously it was uninitialised.
(Thanks to Dan Kegel and his Valgrind runs for reporting this.)
2007-12-06 12:06:56 +01:00
Rob Shearman
5885be4e11
ole32: Fix a memory leak of moniker in RunningObjectTableImpl_Register.
2007-11-12 11:46:02 +01:00
Rob Shearman
2249565eb7
ole32: Fix a memory leak in get_moniker_comparison_data.
2007-11-12 11:45:53 +01:00
Rob Shearman
2c1ba188d6
ole32: Store the InterfaceList object in the IEnumMoniker object.
...
This is because the IEnumMoniker object is supposed to free the memory
passed to it, but the array of InterfaceData pointers is inside the
InterfaceList memory block.
2007-11-12 11:45:49 +01:00
Rob Shearman
cfc50f89d7
ole32: Add cross-process running-object table support.
2007-09-11 13:55:08 +02:00
Rob Shearman
f8789122aa
ole32: Implement MkParseDisplayName.
2007-03-28 12:12:49 +02:00
Rob Shearman
2514c0141e
ole32: Move GetClassFile to moniker.c and move OleRun to ole2.c.
2007-03-27 13:00:44 +02:00
Rob Shearman
cdc9367d78
ole32: Add documentation for CreateBindCtx, BindMoniker, GetRunningObjectTable and OleRun.
2007-03-27 13:00:24 +02:00
Jan Zerebecki
0f7a3811b4
ole32: Add DebugInfo to critical sections.
...
Also add missing DeleteCriticalSection.
2007-03-12 13:49:44 +01:00
Mike McCormack
b937f33d23
ole32: Add missing parameter for RunningObjectTableImpl_UnInitialize.
2007-02-13 17:47:28 +01:00
Rob Shearman
bf33f9410f
ole32: Contrary to MSDN, IROTData doesn't need to be implemented for a moniker to be usable with the running object table.
...
If IROTData isn't available, fall back to a path that uses the display
name and the clsid of the moniker to generate the comparison data.
2006-12-28 12:35:54 +01:00
Rob Shearman
341bf7a44a
ole32: Only call IROTData::GetComparisonData once, like native does.
2006-12-28 12:35:17 +01:00
Rob Shearman
04498ba49a
ole32: Use IMoniker::GetTimeOfLastChange to attempt to retrieve the last-modified time for the ROT entry.
...
However, fall back to CoFileTimeNow if it fails.
2006-12-28 12:34:54 +01:00
Rob Shearman
d4b755a834
ole32: Use the reduced forms of monikers for comparison in the running object table.
2006-12-28 12:34:40 +01:00
Rob Shearman
83da7dde2a
ole32: ROTFLAGS_REGISTRATIONKEEPSALIVE and ROTFLAGS_ALLOWANYCLIENT are legal to be used together in RunningObjectTable_Register.
2006-12-28 12:34:10 +01:00
Francois Gouget
1ccf944900
Assorted spelling fixes.
2006-11-13 13:01:53 +01:00
Michael Stefaniuc
21ff87bf50
ole32: Win64 printf format warning fixes.
2006-10-16 10:53:28 +02:00
Robert Shearman
8f513e3576
ole32: When comparing monikers use the abData field of MInterfacePointer
...
as ulCntData doesn't include the size of its own field.
2006-08-09 20:39:51 +02:00
Jacek Caban
3cf1e46d95
ole32: Clean up OleRun.
2006-08-02 22:01:15 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Robert Shearman
8a4f71c61e
ole32: Add an implementation of class monikers.
2006-05-08 21:13:32 +02:00
Robert Shearman
c86fef8844
Move all 16-bit functions to an appropriate 16-bit file.
2005-09-25 15:17:10 +00:00
Alexandre Julliard
b1a9701bb5
Replace the _ICOM_THIS_From macros by inline functions the way it's
...
already done in shelllink.c.
2005-07-27 11:10:52 +00:00
Mike McCormack
c7fdb4565a
Fix gcc 4.0 -Wpointer-sign warnings.
2005-07-05 11:02:54 +00:00
Dmitry Timoshkov
eba47f1dfe
Make remaining OLE interface vtables const.
2005-06-06 19:50:35 +00:00
Richard Cohen
95b71ed885
IEnum::Clone shouldn't do a Reset.
2005-06-02 20:06:22 +00:00
Robert Shearman
b9ecbb6167
- Marshal objects & monikers into the ROT.
...
- Test for this behaviour.
2005-05-23 09:54:53 +00:00
Robert Shearman
34d3049360
- Add a generic moniker marshaler that works by saving & loading
...
monikers to & from the stream.
- Use the generic moniker marshal in the file & item monikers and add
a class factory for each.
2005-05-19 14:22:14 +00:00
Jeff Latimer
72f73ac452
Implement the IEnumMoniker interface for the ROT and provide tests to
...
exercise the interface.
2005-05-14 18:50:14 +00:00
Mike McCormack
2c6c67f4ea
Make functions static and remove unnecessary declarations.
2005-05-11 15:56:45 +00:00
Dmitry Timoshkov
35356002e6
Zero out an invalidated runningObjectTableInstance pointer.
2005-04-15 16:11:29 +00:00
Eric Pouech
4056d7ef8c
Fixed some errors in function prototypes.
2004-12-13 21:19:01 +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
Joris Huizer
34cffce6f9
Ref count increment/decrement cleanup.
2004-09-24 01:16:53 +00:00
Alexandre Julliard
241a4c34b1
Get rid of the non-standard ICOM_THIS macro.
2004-09-09 21:03:58 +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
37cc006083
Document wrong behaviour for IRunningObjectTable.
2004-07-29 02:44:09 +00:00
Marcus Meissner
e3a37c8a26
Revert broken strict aliasing fix.
2004-05-21 20:52:57 +00:00
Marcus Meissner
ff39b877a4
Fixed strict aliasing issues in dlls/ole32.
2004-05-04 03:10:50 +00:00
Patrik Stridvall
ede82e3055
Fixed some issues found by winapi_check.
2004-02-20 20:19:23 +00:00
Dave Miller
47fb938d54
Removed ordinals from comments.
2003-09-11 03:06:25 +00:00
Alexandre Julliard
20c169e0a4
Fixed a few more headers dependency issues.
2003-09-09 19:39:31 +00:00