Alexandre Julliard
7b6dd2c9f8
ole32: Get rid of WINE_StringFromCLSID and A->W conversions.
2009-03-12 13:09:52 +01:00
Alexandre Julliard
6b40f64e18
ole32: Make compobj.dll into a stand-alone 16-bit module.
2009-03-12 13:09:31 +01:00
Rob Shearman
d974922698
ole32: Fix a memory leak in an error path in COMPOBJ_DllList_Add.
2009-03-09 12:04:35 +01:00
Andrey Turkin
644220b518
ole32: Prevent recursion when CLSIDFromString is passed empty string.
2009-01-20 12:23:11 +01:00
Andrey Turkin
d0a345f914
ole32: Add a few fields to OLE TLS area to match native memory layout.
2009-01-19 14:46:02 +01:00
Andrey Turkin
a06f568a2a
ole32: Add CoGetCallContext and CoSwitchCallContext implementations.
2009-01-19 14:44:32 +01:00
Andrey Turkin
37d27c38ce
ole32: Add IContextCallback interface to context object.
2009-01-15 12:42:12 +01:00
Alexandre Julliard
16b5e6b9b5
ole32: Register interfaces through dlldata.c as far as possible.
2008-12-02 20:52:09 +01:00
Maarten Lankhorst
08c78e07a9
ole32: Fix releasing spy.
2008-11-28 12:56:47 +01:00
Maarten Lankhorst
92dca953d9
ole32: Add Co*InitializeSpy functions.
2008-11-26 13:44:36 +01:00
Francois Gouget
66063ae4a4
ole32: Remove WINAPI on static functions where not needed.
2008-11-26 12:33:13 +01:00
Rob Shearman
de03fe3c0f
ole32: Update comments in compobj.c.
2008-09-16 22:33:14 +02:00
Michael Karcher
75bf84e60b
ole32/compobj: Fix function name in comment.
2008-09-15 11:31:33 +02:00
Rob Shearman
064b6fce0c
ole32: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
...
This makes it more obvious what the code is doing.
2008-08-18 17:34:12 +02:00
Lei Zhang
c7ce692d13
ole32: Silence FIXME from CoGetContextToken stub.
2008-07-22 13:03:18 +02:00
Alexandre Julliard
a803fa3578
ole32: Make the apartment window a HWND_MESSAGE window.
2008-06-26 13:22:16 +02:00
Alexandre Julliard
d324c42b4c
ole32: Don't consider RPC_S_UUID_LOCAL_ONLY an error in CoCreateGuid.
...
Return a proper HRESULT for other errors.
2008-06-24 11:50:42 +02:00
Rob Shearman
8580198dc8
ole32: Keep track of the number of weak references to an object.
...
This is so that an object will only be released when a weak-reference is
used after the last weak reference has been released (either by
CoReleaseMarshalData or CoUnmarshalInterface + Release).
2008-04-29 12:35:26 +02:00
Austin English
c531e2abdb
Spelling fixes.
2008-04-23 12:31:07 +02:00
Austin English
1b24da3aa0
ole32: Spelling fixes.
2008-04-10 09:51:12 +02:00
Andrew Talbot
4971f2f687
ole32: Assign to structs instead of using memcpy.
2008-03-11 12:11:51 +01:00
Francois Gouget
29ef0b90ee
Assorted spelling, punctuation and case fixes.
2008-03-03 12:04:48 +01:00
Alexandre Julliard
de61fc5eca
ole32: Added a CoGetContextToken stub.
2008-02-26 11:21:54 +01:00
Rob Shearman
bfa6ddaeb7
ole32: Fix a potentially confusing combination of conditional and bitwise or operators by adding extra brackets.
2008-02-13 16:42:36 +01:00
Rob Shearman
a10cf16449
ole32: Remove an assert that is useless and triggers warnings elsewhere in static analysis tools.
2008-02-13 16:42:30 +01:00
Rob Shearman
e0d25c6394
ole32: Fix local-variable shadowing in apartment_hostobject_thread.
2008-02-13 16:42:23 +01:00
Gerald Pfeifer
76e7cc9423
ole32: Remove one noop check in CoWaitForMultipleHandles().
2008-01-02 12:38:42 +01:00
Alexander Dorofeyev
188ef4e4f9
ole32: Fix wrong timeout check.
2007-12-24 13:30:56 +01:00
Lei Zhang
d5e78c84c7
ole32: Print a fixme when an aggregation attempt fails.
2007-12-14 12:25:14 +01:00
Rob Shearman
31b2d81ea0
ole32: Ignore the threading model of the PSFactoryBuffer object created during standard marshaling.
...
This is so that we don't try to host it.
2007-12-03 11:55:00 +01:00
Rob Shearman
f65e04770d
ole32: Always create a window for the main apartment.
2007-12-03 11:54:16 +01:00
Rob Shearman
d881005c4f
ole32: Release the stream in COM_RevokeRegisteredClassObject.
2007-11-13 13:29:38 +01:00
Rob Shearman
433639f783
ole32: Free the memory associated with the open DLL list on unloading of ole32.
2007-11-12 11:46:23 +01:00
Rob Shearman
23dc7b6a67
ole32: Implement CoGetObjectContext.
2007-11-02 12:18:45 +01:00
Francois Gouget
f76bea09d4
ole32: Fix the CoCreateGuid() ordinal in the documentation.
2007-10-15 14:06:25 +02:00
Damjan Jovanovic
b9bdb2a6c2
ole32: Implement win16 COCREATEGUID.
2007-10-01 14:16:57 +02:00
Rob Shearman
97f389451d
ole32: Fix the default unload delay to depend on the threading model of the component loaded.
2007-09-12 14:04:59 +02:00
Rob Shearman
5ffe867dc7
ole32: Implement CoFreeUnusedLibrariesEx.
...
Fix CoFreeUnusedLibraries to use a delay of 10 minutes when used with
multi-threaded apartments.
2007-09-12 14:04:56 +02:00
Rob Shearman
d845022819
ole32: Remove some dead code.
...
CoFreeUnusedLibraries doesn't do anything and COM_FlushMessageQueue
won't actually allow any RPCs to be processed as the apartment has
already been destroyed.
2007-07-16 22:46:45 +02:00
Andrew Talbot
66b05dde02
ole32: Constify some variables.
2007-06-29 14:30:48 +02:00
Dmitry Timoshkov
3c9e7a7f33
wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility.
2007-05-25 20:37:56 +02:00
Rob Shearman
be55a4bbe2
ole32: Fix hosting in main apartments.
...
The recently introduced code had a bug where it passed the wrong
values into apartment_findfromtype to find the main apartment. Since
this is now the only way the function is used, fix this bug by
changing apartment_findfromtype to apartment_findmain, which only
finds the main apartment.
2007-05-21 12:38:54 +02:00
Rob Shearman
600143d4fa
ole32: Create host apartments to enable isolation of objects of incompatible threading models.
...
There should be one host apartment per apartment. Existing apartments
should not be re-used, except in the case of the main apartment.
2007-05-18 14:42:37 +02:00
Rob Shearman
ed79ddab1d
ole32: Don't lookup the address for the DllGetClassObject function for ole32.dll in the apartment loaded dll list.
...
Call the function directly for a small performance boost.
2007-05-14 14:26:22 +02:00
Rob Shearman
70e8842924
ole32: Fix CoUninitialize to only free libraries that return S_OK from DllCanUnloadNow.
2007-05-14 14:26:17 +02:00
Rob Shearman
314f9fe509
ole32: Add documentation about registered class objects only being visible in the apartment in which they were registered.
2007-05-08 13:23:57 +02:00
Rob Shearman
7d7f9a59d0
ole32: Fix CoRevokeClassObject to return RPC_E_WRONG_THREAD if it was called from a different apartment than the one that called CoRegisterClassObject.
2007-05-08 13:23:51 +02:00
Rob Shearman
23e43d886e
ole32: Split CoRevokeClassObject into a separate function, COM_RevokeRegisteredClassObject, which acts on a RegisteredClass object.
2007-05-08 13:23:40 +02:00
Rob Shearman
51f85a765b
ole32: COM_GetRegisteredClassObject should only retrieve objects that were registered in the current apartment.
2007-05-08 13:23:30 +02:00
Rob Shearman
d76ab14479
ole32: Revoke registered class objects when the apartment they were registered in is destroyed, not when the last CoUninitialize is called.
2007-05-08 13:22:50 +02:00