Jacek Caban
dedcd30cb8
ole32: Pass requested interface IID to CreateInstance in CoCreateInstanceEx.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-22 16:47:15 +09:00
Nikolay Sivov
4afda020ae
ole32/tests: Use BOOL variables for BOOL return type (PVS-Studio).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:34 +09:00
Dmitry Timoshkov
f9bc636d35
ole32: PropVariantCopy should return DISP_E_BADVARTYPE in case of bad source variant type.
...
In some rare (notably for some VT_VECTOR) cases Windows implementation
returns STG_E_INVALIDPARAMETER, but returning DISP_E_BADVARTYPE should
cover most of cases.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:33 +09:00
Huw Davies
e4ec89f2b0
ole32: Return OLE_E_NOTRUNNING on a cache-miss when the object isn't running.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 00:53:18 +09:00
Huw Davies
1dcf3f8e0a
ole32/tests: Test calling CoDisconnectObject from within a COM call to the object.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-14 12:43:21 +09:00
Jacek Caban
cb183688bb
ole32: Catch crashes in stub object destructors when destroying stub manager.
2015-09-02 22:45:17 +09:00
Jacek Caban
c784e34693
ole32: Quote executable name in CreateProcess call.
...
Fixes tests on VMs that have spaces in executable path.
2015-09-02 22:45:05 +09:00
Jacek Caban
0a92038b38
ole32: Added tests for IPSFactoryBuffer::CreateStub calls.
2015-08-29 14:28:23 +09:00
Andrey Gusev
5cdcd4493f
Assorted spelling and typos fixes.
2015-08-18 15:00:13 +09:00
Piotr Caban
9fd75e8650
ole32/tests: Fix new failures in CoWaitForMultipleHandles tests.
2015-07-31 12:07:41 +02:00
Piotr Caban
fbf7046ae8
ole32: Don't pump all messages in CoWaitForMultipleHandles in threads without apartment window.
2015-07-30 23:50:43 +02:00
Vincent Povirk
9cf835a947
ole32: Use grfLocksSupported to decide when LockRegion is implemented.
2015-07-07 16:52:21 +09:00
Vincent Povirk
8ff3783586
ole32: Add a storage test using a custom ILockBytes.
2015-07-07 16:52:21 +09:00
Nikolay Sivov
1e97a2db17
ole32/tests: Fix source buffer leak (Valgrind).
2015-06-22 15:31:54 +09:00
Nikolay Sivov
61368e76e4
ole32: Marshal HBRUSH as remotable handle.
2015-06-16 16:50:35 +09:00
Nikolay Sivov
6d53f071c6
ole32: Marshal HICON as remotable handle.
2015-06-15 22:10:31 +09:00
Nikolay Sivov
815197f28c
ole32: Marshal HDC as remotable handle.
2015-06-15 22:10:31 +09:00
Vincent Povirk
3f83b788d4
ole32: Fix storage locking for read-only exclusive mode.
2015-06-12 21:22:42 +09:00
Nikolay Sivov
ff6201c61f
ole32/tests: Test if user memory routines are called, remove some useless traces.
2015-06-05 18:38:21 +09:00
Sebastian Lackner
fdd83248b6
ole32/tests: Add additional tests for CoWaitForMultipleHandles and WM_QUIT.
2015-05-22 14:09:19 +09:00
Nikolay Sivov
aa3a234803
ole32: Implement SNB marshalling.
2015-05-15 21:58:06 +09:00
Francois Gouget
5f35f1a8db
ole32/tests: Silence some clipboard traces that generate too many lines.
2015-05-12 22:32:34 +09:00
Nikolay Sivov
26a9f62db7
ole32/tests: Added a test for OleRun().
2015-05-08 18:33:35 +09:00
Nikolay Sivov
bb37d75074
ole32/tests: Fix a test failure on Win8.
2015-05-01 21:12:42 +09:00
Nikolay Sivov
3d33d8a9c4
ole32/tests: Fix test failures on some VMs with limited user permissions.
2015-05-01 21:12:23 +09:00
Huw Davies
a38699084b
ole32/tests: Win 8 releases the drop target in OleUninitialize().
2015-04-20 14:37:13 +09:00
Huw Davies
f57e08995a
ole32/tests: Add tests for loading a dib 'CONTENTS' stream.
2015-03-25 19:46:03 +09:00
Nikolay Sivov
597515c074
ole32/tests: Return interface pointer instead of impl pointer from QI.
2015-03-24 18:16:34 +09:00
Alexandre Julliard
c6c3ccad36
ole32: Remove confusing uses of the __thiscall specifier.
2015-03-12 14:20:33 +09:00
Vincent Povirk
06b735ae76
ole32: Test the entire range lock block for synchronization.
2015-03-11 12:45:33 +09:00
Nikolay Sivov
44360823b9
oleaut32: Use WdtpInterfacePointer_* functions in VARIANT marshalling.
2015-03-09 22:06:21 +09:00
Michael Stefaniuc
514951cc11
ole32: Return the buffer pointer when WdtpInterfacePointer_UserMarshal fails.
...
Found by PVS-Studio.
2015-01-19 14:20:50 +01:00
Michael Stefaniuc
139ebf643a
ole32/tests: Remove unused assignments (PVS-Studio).
2015-01-19 14:20:36 +01:00
Michael Stefaniuc
c2da97a5e5
ole32/tests: Actually test some return codes (PVS-Studio).
2015-01-19 14:20:32 +01:00
André Hentschel
065e4770f0
ole32/tests: Remove unused variable (Clang).
2014-12-02 10:48:37 +01:00
Sebastian Lackner
f6f55058e4
ole32: Don't process window events when APC calls are queued.
2014-11-21 20:10:04 +09:00
Sebastian Lackner
bbf6891030
ole32: Verify arguments for CoWaitForMultipleHandles, always initialize index to zero.
2014-11-21 20:10:01 +09:00
Sebastian Lackner
f7f2167fe8
ole32/tests: Add tests for CoWaitForMultipleHandles.
2014-11-21 20:09:58 +09:00
Nikolay Sivov
2487afa5d3
ole32/tests: Use proper wrappers for IObjContext methods.
2014-11-19 23:36:34 +09:00
Nikolay Sivov
f7fdaf1c9f
ole32/tests: Release() doesn't return HRESULT code.
2014-11-19 23:36:34 +09:00
Akihiro Sagawa
efdaa4a17a
ole32: Search 32-bit registry in 64-bit CoGetPSClsid and vice versa.
2014-07-15 15:34:40 +02:00
Akihiro Sagawa
fae8d9db5f
ole32/tests: Add CoGetPSClsid WOW64 registry tests.
2014-07-15 15:33:25 +02:00
Vincent Povirk
a270ed90ad
ole32: Add tests for STGC_OVERWRITE.
2014-06-16 09:28:45 +02:00
Andrew Eikum
c2089cbd0d
ole32: Respect TreatAs in CoCreateInstance.
2014-06-16 09:28:38 +02:00
Andrew Eikum
42f5118570
ole32: Implement CoTreatAsClass for classes without AutoTreatAs.
2014-06-16 09:28:29 +02:00
Guillaume Charifi
216b24527d
ole32: CoCreateGuid returns E_INVALIDARG on null-GUID.
2014-06-12 18:23:33 +02:00
Vincent Povirk
b3e26be0cb
ole32: STGM_NOSNAPSHOT implies deny write.
2014-05-12 10:48:14 +02:00
Vincent Povirk
4f0d36d9a0
ole32: Initial implementation of transaction locking.
2014-05-05 10:53:41 +02:00
Vincent Povirk
b4ade51a84
ole32: Accept STGM_TRANSACTED with no share mode specified.
2014-05-05 10:53:38 +02:00
Vincent Povirk
6417a277cf
ole32: Map STGM_SHARE_EXCLUSIVE to FILE_SHARE_READ.
2014-05-05 10:53:35 +02:00
Vincent Povirk
04735d6f39
ole32: Use share modes when creating storage files.
2014-05-05 10:53:30 +02:00
Francois Gouget
3d70f86fe2
ole32/tests: Add a trailing '\n' to an ok() call.
2014-05-02 17:15:24 +02:00
Huw Davies
dcfd901c83
ole32/tests: Fix win8 test failures.
2014-05-01 16:32:09 +02:00
Vincent Povirk
65887802c5
ole32: Initial storage file locking implementation.
2014-04-29 11:26:51 +02:00
Vincent Povirk
a00f43d7e0
ole32/tests: Add tests for sharing storages in transacted mode.
2014-04-29 11:26:33 +02:00
Vincent Povirk
b8c60aaeec
ole32/tests: Add tests for storage locking.
2014-04-29 11:25:55 +02:00
Dmitry Timoshkov
5356c945cd
ole32: Add support for VT_DISPATCH/VT_UNKNOWN to PropVariantClear and PropVariantCopy.
2014-04-21 11:09:53 +02:00
Dmitry Timoshkov
f9c40c37cd
ole32: If number of VT_VECTOR elements is 0 there is no need to allocate memory.
2014-04-18 13:09:19 +02:00
Dmitry Timoshkov
d68c13a894
ole32/tests: Add some tests for PropVariantCopy.
2014-04-18 13:09:11 +02:00
Dmitry Timoshkov
5e7251b937
ole32: Revert part of 3cb0c81336
.
...
VT_INT|VT_VECTOR and VT_UINT|VT_VECTOR are not supposed to be supported
by PropVariantClear and PropVariantCopy.
2014-04-18 13:08:59 +02:00
Dmitry Timoshkov
f35078ee40
ole32/tests: Fix crashes in PropVariantClear tests under win64.
2014-04-18 13:08:57 +02:00
Dmitry Timoshkov
ccefbee73b
ole32/tests: Fix crashes in PropVariantClear tests under win2000 and XP.
2014-04-17 10:44:55 +02:00
Dmitry Timoshkov
0946c154fa
ole32: PropVariantClear should always reset contents of the passed in PROPVARIANT.
2014-04-16 10:55:07 +02:00
Dmitry Timoshkov
7de7fc653b
ole32/tests: Add more tests for PropVariantClear.
2014-04-16 10:54:54 +02:00
Dmitry Timoshkov
3cb0c81336
ole32: Add support for VT_INT/VT_UINT to PropVariantClear and PropVariantCopy.
2014-04-16 10:54:48 +02:00
Piotr Caban
2fbbe143be
ole32: Add more SetConvertStg amd WriteFmtUserTypeStg tests.
2014-04-07 19:06:42 +02:00
Piotr Caban
0d4c693a7b
ole32: Add OleDoAutoConvert implementation.
2014-04-07 19:06:39 +02:00
Vincent Povirk
2e384c4f95
ole32: Use pstgPriority if specified in StgOpenStorage.
2014-03-05 11:48:57 +01:00
Piotr Caban
9f9fb6b7f1
ole32/tests: Fix DoDragDrop tests.
2014-03-04 11:50:50 +01:00
Piotr Caban
6d1ab7fa16
ole32: Add more DoDragDrop tests.
2014-03-03 17:02:35 +01:00
Nikolay Sivov
ffcced0f39
ole32/tests: Handle context generation failure better.
2014-02-20 11:20:00 +01:00
Frédéric Delanoy
a0c258460b
ole32/tests: Use wine_dbgstr_guid for printing GUIDs.
2014-02-12 19:15:21 +01:00
Nikolay Sivov
cdd932a060
ole32: Separate IIDFromString() for CLSIDFromString(), fix corner cases and return values.
2014-02-10 10:42:57 +01:00
Frédéric Delanoy
86a9e6a366
ole32/tests: Use common wine_dbgstr_guid implementation from test.h.
2014-01-29 14:50:52 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Frédéric Delanoy
43d05cc59e
ole32/tests: Constify some character strings.
2013-12-27 14:31:53 +01:00
André Hentschel
04f5160c93
ole32/tests: Don't crash when StgOpenStorage fails.
2013-11-27 10:53:47 +01:00
Nikolay Sivov
d0bf7f4eaf
ole32: Added activation context support for OleRegGetMiscStatus().
2013-11-11 20:56:20 +01:00
Nikolay Sivov
0af3bd8365
ole32: Support activation context in CLSIDFromProgID().
2013-10-25 11:12:31 +02:00
Nikolay Sivov
f96631e110
ole32: Add a helper to map ProgID to CLSID using registry.
2013-10-25 11:12:27 +02:00
Huw Davies
5077fc895f
ole32: If an object exposes IExternalConnection then don't take down the stub manager if we have remaining weak refs in a call that would otherwise ignore them.
2013-10-24 19:01:57 +02:00
Huw Davies
1864db2faa
ole32: Call IExternalConnection_ReleaseConnection with the correct final parameter.
2013-10-24 19:01:57 +02:00
Huw Davies
8235b55917
ole32: When releasing marshal data of a normal ref ignore any remaining weak refs.
2013-10-24 19:01:56 +02:00
Huw Davies
17d81e0987
ole32/tests: Add some tests for CoReleaseMarshalData with a combination of normal and weak marshals.
2013-10-24 19:01:56 +02:00
Huw Davies
61fb28de3f
ole32/tests: Make the two reference marshalling thread more generic.
2013-10-24 19:01:56 +02:00
Huw Davies
14a879085e
ole32/tests: Extend the lifecycle tests to objects which expose IExternalConnection.
2013-10-24 19:01:56 +02:00
Nikolay Sivov
03dbbe2103
ole32: Support activation context in ProgIDFromCLSID().
2013-10-22 16:37:41 +02:00
Nikolay Sivov
e02b1687aa
ole32: Support activation context redirection in CoGetPSClsid().
2013-10-22 16:37:40 +02:00
Nikolay Sivov
af93b53082
ole32: Support registration-free COM in CoGetClassObject().
2013-10-21 20:23:55 +02:00
Huw Davies
29c6e10fd8
ole32/tests: Add tests to show that CoLockObjectExternal() calls ReleaseConnection() with the appropriate value for fLastReleaseCloses.
2013-10-18 16:56:57 +02:00
Nikolay Sivov
026b711483
ole32/tests: Compile with -D__WINESRC__.
2013-10-16 11:41:18 +02:00
Michael Stefaniuc
0e681027a2
tests: Compile the tests by default with -D__WINESRC__.
2013-10-02 11:04:02 +02:00
Nikolay Sivov
84d9b2502e
ntdll: Added compatible ProgID section.
2013-09-13 10:54:53 +02:00
Nikolay Sivov
8902aae991
ole32/tests: Some tests for redirection in CoGetPSClsid().
2013-08-30 11:46:46 +02:00
Nikolay Sivov
c192885df4
ole32: Missing MiscStatus key is not a failure for OleRegGetMiscStatus().
2013-08-27 11:50:53 +02:00
Nikolay Sivov
15bc45a54c
ole32/tests: Test for OleRegGetMiscStatus() redirection behaviour.
2013-08-26 17:29:24 +02:00
Nikolay Sivov
98f3ecc32a
ole32: GIT can be released on process detach only.
2013-08-23 10:41:24 +02:00
Nikolay Sivov
43d5d86716
ole32: Fix IClassFactory initialization and QueryInterface behavior for GIT.
2013-08-22 10:28:17 +02:00
Nikolay Sivov
7a69c2f169
ole32/tests: More tests that actually show CLSID/ProgId redirection in action.
2013-07-19 11:57:01 +02:00
Nikolay Sivov
cf087d0eb7
ole32/tests: Tests for CLSIDFromProgID() and ProgIDFromCLSID(), regarding activation context.
2013-07-12 17:57:45 +02:00