Michael Stefaniuc
d93954bd93
ole32: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-17 22:35:50 +02:00
Hadrien Boizard
5a9f7ef06d
ole32: Use debugstr_guid() in TRACES.
...
Signed-off-by: Hadrien Boizard <h.boizard@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-19 23:16:24 +09:00
Alexandre Julliard
8df5add2d7
rpcss: Make rpcss a proper service.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:22:59 +09:00
Michael Stefaniuc
123dd73591
ole32: Use the proper COM method wrapper.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:20:28 +09:00
Nikolay Sivov
4e5698f72e
ole32: Don't try to read key value if key was not found (Valgrind).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-30 11:15:16 +09:00
Nikolay Sivov
5c0e48e8ca
ole32: Avoid potential null pointer access (Coverity).
2015-06-01 14:52:52 +09:00
Nikolay Sivov
7d44fa714a
ole32: Return interface pointers instead of impl pointers from QI.
2015-03-24 18:16:30 +09:00
Nikolay Sivov
bc9b29f65d
ole32: Cleanup QI for IEnumMoniker.
2015-03-20 16:23:12 +09:00
Nikolay Sivov
853dc5ec2f
ole32: Improve error handling in GetClassFile() (PVS-Studio).
2015-03-20 16:23:10 +09:00
Nikolay Sivov
43b5f46fcd
ole32: Fix some leaks on early returns (Coverity).
2014-03-25 10:56:29 +01:00
Frédéric Delanoy
57d7f74d34
Assorted spelling fixes.
2013-11-21 19:44:46 +01:00
Eric Pouech
d1ccbceb4d
Various background processes must be launched detached from current console (if any).
2013-01-16 14:02:55 +01:00
Jacek Caban
153b94b3c5
ole32: Use proper helpers for iface calls.
2012-08-13 16:28:48 +02:00
Michael Stefaniuc
e68643f1a1
ole32: Drop 'inline' from a function using sigsetjmp.
2011-10-31 23:53:44 +01:00
Michael Stefaniuc
bfdcc3930c
ole32: Standardize the COM usage in moniker.c.
2010-12-15 13:18:51 +01:00
Andrew Nguyen
7bdf023e69
ole32: Validate pointer parameters in MkParseDisplayName.
2010-05-21 18:58:05 +02:00
Alexandre Julliard
a8e2f4327f
ole32: Always start the 64-bit version of rpcss.exe on Wow64.
2010-03-29 15:50:09 +02:00
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