Robert Shearman
f431353058
ole: Fix crash in RpcChannelBuffer_SendReceive.
...
Initialise apt to NULL since ipid_to_apt_stubbuffer no longer does
this for us.
2006-01-12 11:53:32 +01:00
Robert Shearman
9ac3b28354
ole: Use strict prototypes for some test functions.
2006-01-12 11:53:19 +01:00
Robert Shearman
6e6d24e959
ole: Implement IEnumSTATDATA for the Ole Advise Holder.
...
Implement IEnumSTATDATA for the Ole Advise Holder and use it to
implement the Send* functions.
2006-01-11 12:09:32 +01:00
Robert Shearman
781970f001
ole: Initialise hrref so as not to display garbage in the trace.
2006-01-11 12:09:17 +01:00
Robert Shearman
92ad2958ac
ole: Remove some duplicated code.
2006-01-11 12:09:11 +01:00
Robert Shearman
cd2fafb775
ole: Defer apartment window creation until the first object is marshalled.
2006-01-10 20:41:23 +01:00
Robert Shearman
fcba783fc7
ole: Add an accessor function for an apartment's window.
2006-01-10 20:41:22 +01:00
Robert Shearman
d175f154ba
ole: Report and clean up after PostMessage failures.
2006-01-10 20:41:22 +01:00
Robert Shearman
a02cb3ebd6
ole: Pass a channel into IRpcStubBuffer::Invoke.
...
Create a server channel and store this in the ifstub.
Rename ipid_to_apt_and_stubbuffer to ipid_get_dispatch_params and make
the function return an HRESULT.
Return the channel for the ifstub in ipid_get_dispatch_params.
2006-01-10 20:41:22 +01:00
Robert Shearman
8e5b36147d
ole: Reduce the access rights required by start_local_service.
2006-01-10 20:41:22 +01:00
Robert Shearman
c46386ff5c
ole: Return the last error if we couldn't open the requested service.
...
Fix the ok/failed message.
2006-01-10 20:41:22 +01:00
Robert Shearman
b75db2d9de
ole: Join the MTA if necessary when executing an RPC call.
...
Join the MTA if necessary when executing an RPC call to ensure that it
is executing with a valid apartment and won't fail for certain COM
calls.
2006-01-09 18:41:19 +01:00
Robert Shearman
1eda42ccac
ole: Prefer services over servers.
...
Attempt to start as a local service before attempting to start as a
local server for the CLSCTX_LOCAL_SERVER case.
2006-01-09 18:40:42 +01:00
Robert Shearman
e0605afdf6
ole: Add some tests for CLSIDFromString.
2006-01-09 18:40:27 +01:00
Robert Shearman
cc4669cc5f
ole: Remove __CLSIDFromStringA.
...
Move the ANSI implementation of CLSIDFromString to ole16.c and change
CLSIDFromString to only deal with Unicode strings.
2006-01-09 18:40:17 +01:00
Alexandre Julliard
0f81ac3506
ole: Remove a no longer needed smbfs hack.
2006-01-06 21:19:05 +01:00
Robert Shearman
95312fcb63
ole: Remove "stub" from TRACEs of functions that aren't stubs.
2006-01-06 21:08:09 +01:00
Ulrich Czekalla
427920f8a2
ole: Fix SmallBlocksToBigBlocks loop.
...
Stop copying data when read returns 0 bytes
2006-01-06 12:16:04 +01:00
Robert Shearman
dfa74b998e
ole: Check the return value of IStream_SetSize in IStream_Read.
...
Check the return value of IStream_SetSize in IStream_Read, since
otherwise execution could continue on and cause heap corruption.
2006-01-03 12:07:49 +01:00
Robert Shearman
8f604e925d
ole: Fix mis-handling of return value in StgStreamImpl_Read.
...
BlockChainStream_ReadAt returns a BOOL, not an HRESULT so change
StgStreamImpl_Read to handle this, by returning STG_E_READFAULT on
failure.
2006-01-03 12:07:34 +01:00
Robert Shearman
85128db39c
Fix detection of V1a prop variant library in test suite.
2005-12-26 12:56:48 +01:00
Ulrich Czekalla
707fa2c3a2
ole32: Return error instead of asserting if storage file is corrupt.
2005-12-22 17:15:05 +01:00
Alexandre Julliard
dbc14a5cb5
ole32: Revert exception handler change.
...
The handler does the opposite of normal page fault handlers.
2005-12-19 17:44:56 +01:00
Alexandre Julliard
ae964ac801
Take advantage of the __EXCEPT_PAGE_FAULT macro.
2005-12-16 17:17:57 +01:00
Alexandre Julliard
db7920bb44
We no longer need to handle EXCEPTION_PRIV_INSTRUCTION on page faults.
2005-12-16 16:37:12 +01:00
Michael Jung
892fc1093d
ole32: Periodically call IDropTarger::DragOver during Drag&Drop.
2005-12-12 12:42:53 +01:00
Eric Pouech
681b71ed9a
Functions with no paramters must be (void).
2005-12-12 12:42:44 +01:00
Eric Pouech
28442721fd
Const correctness fixes.
2005-12-12 11:55:49 +01:00
Robert Shearman
6c3e1f9adf
CreateErrorInfo trace fix.
...
CreateErrorInfo isn't a stub so don't print this in the trace
message.
2005-12-12 11:52:36 +01:00
Robert Shearman
ef8ae2d763
OLE: Fix a typo where brackets were missing.
2005-12-06 10:57:58 +01:00
Francois Gouget
5127dc9f49
Assorted spelling fixes.
2005-12-02 16:15:09 +01:00
Robert Shearman
567919d78f
Implement some user marshal functions and add tests.
2005-11-29 11:35:27 +01:00
Michael Jung
e2bdb145ef
Made the Drag&Drop cursors' rubber band visible on a white background.
2005-11-29 11:23:49 +01:00
Robert Shearman
5f7bb17cf4
Implement IOleObject_DoVerb function by running the object and then
...
delegating to the remote IOleObject_DoVerb function.
2005-11-28 11:24:31 +01:00
Robert Shearman
b9d7754034
Delegate advises to the remote object to enable the client to receive
...
data change notifications.
2005-11-28 11:16:58 +01:00
Robert Shearman
bc09238067
Call DefaultHandler_Stop if we fail to start the server running
...
correctly and a few formatting fixes.
2005-11-28 10:58:51 +01:00
Michael Jung
5db65cdd51
Correct the hot spot position of the drag&drop 'move' and 'link' cursors.
2005-11-28 10:41:00 +01:00
Robert Shearman
22cf59ba43
Call the equivalent delegate function for all of the simple
...
functions.
2005-11-28 10:39:19 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Robert Shearman
45d440a219
Implement CLSCTX_INPROC_HANDLER in CoGetClassObject similar to
...
CLSCTX_INPROC_SERVER by looking at the InprocHandler32 registry key
instead of InprocServer32.
2005-11-12 19:11:21 +00:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Markus Amsler
ae542af541
Improve c2man Documented-Total count.
2005-11-09 10:30:57 +00:00
Robert Shearman
f7b65cc716
- Extend COM_OpenKeyForCLSID to open a subkey and return an HRESULT.
...
- Fix up the callers and reorganize CoGetClassObject to split out the
inproc code into another function.
2005-11-09 10:29:11 +00:00
Michael Jung
2f210917ee
Added tracing to CoCreateInstance.
2005-11-08 12:43:24 +00:00
Robert Shearman
65581b8489
We shouldn't pass the application name into CreateProcess because the
...
value stored in the registry could include arguments.
2005-11-08 10:56:02 +00:00
Robert Shearman
fe4015201b
Implement OLE object notifications, making sure to cope with the case
...
of the advise holder not being created because no notifications are
needed.
2005-11-03 19:32:49 +00:00
Ivan Leo Puoti
52c6299538
Delete some temp files created by the ole32 tests.
2005-10-29 10:29:18 +00:00
Robert Shearman
22c97cd98a
Implement a Stop function and use this to properly implement
...
IOleObject_Close, IAdviseSink_OnClose and the destructor.
2005-10-26 10:12:49 +00:00
Francois Gouget
a1f9a13997
Use "static const" rather than "const static" as gcc -W complains
...
about the former.
2005-10-06 11:38:45 +00:00
Robert Shearman
c23cb51d52
Pass WM_QUIT to outer modal loop.
2005-10-03 11:02:37 +00:00