ReactOS 0.4.16-dev-336-gb667d82
|
#include <stdarg.h>
#include <stdio.h>
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "shlguid.h"
#include "urlmon.h"
#include "dde.h"
#include "cguid.h"
#include "ctxtcall.h"
#include "wine/test.h"
#include "initguid.h"
Go to the source code of this file.
Classes | |
struct | Test_CallContext |
Macros | |
#define | COBJMACROS |
#define | CONST_VTABLE |
#define | USE_COM_CONTEXT_DEF |
#define | DEFINE_EXPECT(func) static BOOL expect_ ## func = FALSE; static unsigned int called_ ## func = 0 |
#define | SET_EXPECT(func) expect_ ## func = TRUE |
#define | CHECK_EXPECT2(func) |
#define | CHECK_EXPECT(func) |
#define | CHECK_CALLED(func, n) |
#define | ok_ole_success(hr, func) ok(hr == S_OK, func " failed with error 0x%08x\n", hr) |
#define | ok_more_than_one_lock() ok(cLocks > 0, "Number of locks should be > 0, but actually is %d\n", cLocks) |
#define | ok_no_locks() ok(cLocks == 0, "Number of locks should be 0, but actually is %d\n", cLocks) |
#define | test_apt_type(t, q) _test_apt_type(t, q, __LINE__) |
#define | cowait_msgs_expect_empty() _cowait_msgs_expect_empty(__LINE__) |
#define | cowait_msgs_expect_notified(a) _cowait_msgs_expect_notified(__LINE__,a) |
#define | cowait_msgs_expect_queued(a, b) _cowait_msgs_expect_queued(__LINE__,a,b) |
Variables | |
static DWORD | dwCoInit |
static LPVOID * | ppv |
static IUnknown ** | ppOldObject |
static LPCLSID | pClsidNew |
static APTTYPEQUALIFIER * | qualifier |
static | LPCSTR |
static | REGSAM |
static | DWORD |
static HKEY | override |
static | ULONG_PTR |
static | LPBOOL |
static const CLSID | CLSID_non_existent = { 0x12345678, 0x1234, 0x1234, { 0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0xf0 } } |
static const CLSID | CLSID_StdFont = { 0x0be35203, 0x8f91, 0x11ce, { 0x9d, 0xe3, 0x00, 0xaa, 0x00, 0x4b, 0xb8, 0x51 } } |
static const GUID | IID_Testiface = { 0x22222222, 0x1234, 0x1234, { 0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0xf0 } } |
static const GUID | IID_Testiface2 = { 0x32222222, 0x1234, 0x1234, { 0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0xf0 } } |
static const GUID | IID_Testiface3 = { 0x42222222, 0x1234, 0x1234, { 0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0xf0 } } |
static const GUID | IID_Testiface4 = { 0x52222222, 0x1234, 0x1234, { 0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0xf0 } } |
static const GUID | IID_Testiface5 = { 0x62222222, 0x1234, 0x1234, { 0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0xf0 } } |
static const GUID | IID_Testiface6 = { 0x72222222, 0x1234, 0x1234, { 0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0xf0 } } |
static const GUID | IID_TestPS = { 0x66666666, 0x8888, 0x7777, { 0x66, 0x66, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55 } } |
static const WCHAR | stdfont [] = {'S','t','d','F','o','n','t',0} |
static const WCHAR | wszNonExistent [] = {'N','o','n','E','x','i','s','t','e','n','t',0} |
static const WCHAR | wszCLSID_StdFont [] |
static const WCHAR | progidW [] = {'P','r','o','g','I','d','.','P','r','o','g','I','d',0} |
static const WCHAR | cf_brokenW [] |
static LONG | cLocks |
static IID | create_instance_iid |
static const IClassFactoryVtbl | TestClassFactory_Vtbl |
static IClassFactory | Test_ClassFactory = { &TestClassFactory_Vtbl } |
static WCHAR | manifest_path [MAX_PATH] |
static const char | actctx_manifest [] |
static const IMessageFilterVtbl | MessageFilter_Vtbl |
static IMessageFilter | MessageFilter = { &MessageFilter_Vtbl } |
static IUnknown | Test_Unknown = { &TestUnknown_Vtbl } |
static const IEnumOLEVERBVtbl | EnumOLEVERBVtbl |
static IEnumOLEVERB | EnumOLEVERB = { &EnumOLEVERBVtbl } |
static const IUnknownVtbl | TestUnknown_Vtbl |
static IPSFactoryBuffer * | ps_factory_buffer |
static IPSFactoryBufferVtbl | PSFactoryBufferVtbl |
static IPSFactoryBuffer | PSFactoryBuffer = { &PSFactoryBufferVtbl } |
static const CLSID | CLSID_WineTestPSFactoryBuffer |
static const IUnknownVtbl | TestCallContext_Vtbl |
static const char | cls_name [] = "cowait_test_class" |
static UINT | cowait_msgs [100] |
static UINT | cowait_msgs_first |
static UINT | cowait_msgs_last |
static const IMallocSpyVtbl | testspyvtbl |
static IMallocSpy | testspy = { &testspyvtbl } |
static DWORD | expected_coinit_flags |
static ULARGE_INTEGER | init_cookies [3] |
static BOOL | revoke_spies_on_uninit |
static const IInitializeSpyVtbl | testinitializevtbl |
static IInitializeSpy | testinitialize = { &testinitializevtbl } |
static HRESULT | g_persistfile_qi_ret |
static HRESULT | g_persistfile_load_ret |
static const IPersistFileVtbl | testpersistfilevtbl |
static IPersistFile | testpersistfile = { &testpersistfilevtbl } |
static const IClassFactoryVtbl | getinstance_cf_vtbl |
static IClassFactory | getinstance_cf = { &getinstance_cf_vtbl } |
#define cowait_msgs_expect_empty | ( | ) | _cowait_msgs_expect_empty(__LINE__) |
#define cowait_msgs_expect_notified | ( | a | ) | _cowait_msgs_expect_notified(__LINE__,a) |
Definition at line 2496 of file compobj.c.
|
static |
Definition at line 609 of file compobj.c.
Definition at line 217 of file compobj.c.
Referenced by test_CLSIDFromProgID(), test_CoGetClassObject(), test_CoGetPSClsid(), test_CoRegisterClassObject(), test_OleRegGetMiscStatus(), test_OleRegGetUserType(), and test_ProgIDFromCLSID().
Definition at line 2438 of file compobj.c.
Referenced by test_CoWaitForMultipleHandles().
Definition at line 2480 of file compobj.c.
Referenced by _cowait_msgs_expect_empty(), and test_CoWaitForMultipleHandles().
Definition at line 2536 of file compobj.c.
Referenced by test_CoWaitForMultipleHandles_thread().
|
static |
Definition at line 2527 of file compobj.c.
Referenced by test_CoWaitForMultipleHandles().
Definition at line 195 of file compobj.c.
Referenced by activate_context().
DEFINE_EXPECT | ( | CreateStub | ) |
DEFINE_EXPECT | ( | PostInitialize | ) |
DEFINE_EXPECT | ( | PostUninitialize | ) |
DEFINE_EXPECT | ( | PreInitialize | ) |
DEFINE_EXPECT | ( | PreUninitialize | ) |
DEFINE_GUID | ( | CLSID_Testclass | , |
0x12345678 | , | ||
0x1234 | , | ||
0x1234 | , | ||
0x12 | , | ||
0x34 | , | ||
0x56 | , | ||
0x78 | , | ||
0x9a | , | ||
0xbc | , | ||
0xde | , | ||
0xf0 | |||
) |
DEFINE_GUID | ( | CLSID_testclsid | , |
0xacd014c7 | , | ||
0x9535 | , | ||
0x4fac | , | ||
0x8b | , | ||
0x53 | , | ||
0xa4 | , | ||
0x8c | , | ||
0xa7 | , | ||
0xf4 | , | ||
0xd7 | , | ||
0x26 | |||
) |
DEFINE_GUID | ( | CLSID_WineOOPTest | , |
0x5201163f | , | ||
0x8164 | , | ||
0x4fd0 | , | ||
0xa1 | , | ||
0xa2 | , | ||
0x5d | , | ||
0x5a | , | ||
0x36 | , | ||
0x54 | , | ||
0xd3 | , | ||
0xbd | |||
) |
DEFINE_GUID | ( | IID_IWineTest | , |
0x5201163f | , | ||
0x8164 | , | ||
0x4fd0 | , | ||
0xa1 | , | ||
0xa2 | , | ||
0x5d | , | ||
0x5a | , | ||
0x36 | , | ||
0x54 | , | ||
0xd3 | , | ||
0xbd | |||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 2521 of file compobj.c.
Referenced by test_CoWaitForMultipleHandles().
Definition at line 1724 of file compobj.c.
Referenced by test_CoFreeUnusedLibraries().
|
static |
Definition at line 1554 of file compobj.c.
Referenced by get_class_object_thread(), and test_registered_object_thread_affinity().
Definition at line 1582 of file compobj.c.
Referenced by test_registered_object_thread_affinity().
Definition at line 1568 of file compobj.c.
Referenced by test_registered_object_thread_affinity().
|
static |
|
static |
Definition at line 3607 of file compobj.c.
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 1877 of file compobj.c.
Referenced by Test_CallContext_AddRef(), and Test_CallContext_Release().
Definition at line 3800 of file compobj.c.
Referenced by test_implicit_mta().
Definition at line 3777 of file compobj.c.
Referenced by START_TEST().
Definition at line 1730 of file compobj.c.
Referenced by test_CoFreeUnusedLibraries().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 2468 of file compobj.c.
Referenced by test_CoWaitForMultipleHandles().
|
static |
|
static |
|
static |
|
static |
Definition at line 995 of file compobj.c.
|
static |
Definition at line 1607 of file compobj.c.
Referenced by test_registered_object_thread_affinity().
Definition at line 759 of file compobj.c.
Referenced by test_ole_menu().
Definition at line 1066 of file compobj.c.
Referenced by test_CoRegisterPSClsid().
Definition at line 2443 of file compobj.c.
Referenced by test_CoWaitForMultipleHandles().
Definition at line 1622 of file compobj.c.
Referenced by test_registered_object_thread_affinity().
Definition at line 2459 of file compobj.c.
Referenced by test_CoWaitForMultipleHandles().
Definition at line 2451 of file compobj.c.
Referenced by test_CoWaitForMultipleHandles().
START_TEST | ( | compobj | ) |
Definition at line 3865 of file compobj.c.
|
static |
Definition at line 375 of file compobj.c.
Referenced by START_TEST().
Definition at line 442 of file compobj.c.
Referenced by START_TEST().
Definition at line 625 of file compobj.c.
Referenced by START_TEST().
Definition at line 735 of file compobj.c.
Referenced by START_TEST().
Definition at line 1735 of file compobj.c.
Referenced by START_TEST().
Definition at line 3077 of file compobj.c.
Referenced by START_TEST().
Definition at line 1922 of file compobj.c.
Referenced by START_TEST().
Definition at line 666 of file compobj.c.
Referenced by START_TEST().
Definition at line 1979 of file compobj.c.
Referenced by START_TEST().
Definition at line 3278 of file compobj.c.
Referenced by START_TEST().
Definition at line 3636 of file compobj.c.
Referenced by START_TEST().
Definition at line 1362 of file compobj.c.
Referenced by START_TEST().
Definition at line 3037 of file compobj.c.
Referenced by START_TEST().
Definition at line 1778 of file compobj.c.
Referenced by START_TEST().
Definition at line 1190 of file compobj.c.
Referenced by START_TEST().
Definition at line 2140 of file compobj.c.
Referenced by START_TEST().
Definition at line 1376 of file compobj.c.
Referenced by START_TEST().
Definition at line 1411 of file compobj.c.
Referenced by START_TEST().
Definition at line 1445 of file compobj.c.
Referenced by START_TEST().
Definition at line 861 of file compobj.c.
Referenced by START_TEST().
Definition at line 1087 of file compobj.c.
Referenced by START_TEST().
Definition at line 1333 of file compobj.c.
Referenced by START_TEST().
Definition at line 2652 of file compobj.c.