Commit Graph

88 Commits

Author SHA1 Message Date
Alexandre Julliard
0beaa44d7d ole32: Specify the full application path when starting rpcss.exe. 2009-10-27 11:20:34 +01:00
Huw Davies
739ca6deae ole32: Fix a couple of comments. 2009-04-24 15:02:11 +02:00
Michael Stefaniuc
0449701c31 ole32: Remove superfluous pointer casts. 2009-02-11 12:29:56 +01:00
Rob Shearman
d3085abc08 Change parameter type from size_t to SIZE_T for MIDL_user_allocate. 2009-02-02 11:55:21 +01:00
Nikolay Sivov
df0ecdfd30 ole32: Fix some comment typos. 2009-01-09 14:06:13 +01:00
Francois Gouget
66063ae4a4 ole32: Remove WINAPI on static functions where not needed. 2008-11-26 12:33:13 +01:00
Andrew Talbot
749184a1e8 ole32: Remove unneeded address-of operators from array names. 2008-07-11 14:06:31 +02:00
Francois Gouget
42a61d7ed7 Assorted spelling fixes. 2008-05-06 16:10:20 +02:00
Alexandre Julliard
ef07d83405 Include wine/port.h everywhere we use exceptions. 2008-04-29 20:18:49 +02:00
Rob Shearman
67a7a8a8ef ole32: Fix two comments about the running object table. 2008-04-28 14:32:33 +02:00
Rob Shearman
aa83f5a5aa ole32: Use I_RpcExceptionFilter instead of custom exception filter for RPC calls. 2008-04-11 12:13:59 +02:00
Austin English
1b24da3aa0 ole32: Spelling fixes. 2008-04-10 09:51:12 +02:00
James Hawkins
7b56757cf6 janitorial: Remove links to any microsoft site. 2008-03-01 12:17:13 +01:00
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