ReactOS 0.4.16-dev-1007-g2e85425
|
#include <stdarg.h>
#include <stdio.h>
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "olectl.h"
#include "shlguid.h"
#include "shobjidl.h"
#include "wine/test.h"
#include "wine/heap.h"
Go to the source code of this file.
Classes | |
struct | tagDUALSTRINGARRAY |
struct | tagSTDOBJREF |
struct | tagOBJREF |
struct | StubBufferWrapper |
struct | host_object_data |
struct | ncu_params |
struct | duo_marshal_data |
struct | HeapUnknown |
struct | local_server |
struct | git_params |
struct | implicit_mta_marshal_data |
struct | new_hook_info |
Typedefs | |
typedef struct tagDUALSTRINGARRAY | DUALSTRINGARRAY |
typedef UINT64 | OXID |
typedef UINT64 | OID |
typedef GUID | IPID |
typedef struct tagSTDOBJREF | STDOBJREF |
typedef struct tagOBJREF | OBJREF |
#define CLSID_WineTest IID_IWineTest |
#define EXTENTID_WineTest IID_IWineTest |
#define ok_last_release_closes | ( | b | ) | do {if (with_external_conn) ok(last_release_closes == b, "got %d expected %d\n", last_release_closes, b);} while(0); |
#define ok_non_zero_external_conn | ( | ) | do {if (with_external_conn) ok(external_connections, "got no external connections\n");} while(0); |
#define ok_zero_external_conn | ( | ) | do {if (with_external_conn) ok(!external_connections, "got %d external connections\n", external_connections);} while(0); |
typedef struct tagDUALSTRINGARRAY DUALSTRINGARRAY |
typedef struct tagSTDOBJREF STDOBJREF |
Definition at line 2482 of file marshal.c.
Referenced by test_proxy_used_in_wrong_thread().
Definition at line 1792 of file marshal.c.
Referenced by test_crash_couninitialize().
Definition at line 3804 of file marshal.c.
Referenced by test_local_server().
|
static |
Definition at line 1402 of file marshal.c.
Referenced by CustomMarshal_GetMarshalSizeMax(), test_DfMarshal_custom_marshaling(), and test_StdMarshal_custom_marshaling().
|
static |
Definition at line 1394 of file marshal.c.
Referenced by CustomMarshal_GetUnmarshalClass(), test_DfMarshal_custom_marshaling(), and test_StdMarshal_custom_marshaling().
|
static |
Definition at line 1412 of file marshal.c.
Referenced by CustomMarshal_MarshalInterface(), test_DfMarshal_custom_marshaling(), and test_StdMarshal_custom_marshaling().
|
static |
Definition at line 4282 of file marshal.c.
Referenced by TestChannelHook_ClientGetSize(), and TestChannelHook_ServerGetSize().
DEFINE_EXPECT | ( | CreateProxy | ) |
DEFINE_EXPECT | ( | CreateStub | ) |
DEFINE_EXPECT | ( | CustomMarshal_GetMarshalSizeMax | ) |
DEFINE_EXPECT | ( | CustomMarshal_GetUnmarshalClass | ) |
DEFINE_EXPECT | ( | CustomMarshal_MarshalInterface | ) |
DEFINE_EXPECT | ( | Disconnect | ) |
DEFINE_EXPECT | ( | GetWindow | ) |
DEFINE_EXPECT | ( | Invoke | ) |
Definition at line 2014 of file marshal.c.
Referenced by test_tableweak_and_normal_marshal_and_releasedata(), test_tableweak_and_normal_marshal_and_unmarshal(), and test_two_tableweak_marshal_and_releasedata().
Definition at line 700 of file marshal.c.
Referenced by test_call_from_message(), test_channel_hook(), test_client_security(), test_handler_marshaling(), test_implicit_mta(), test_interthread_marshal_and_unmarshal(), test_marshal_and_unmarshal_invalid(), test_marshal_channel_buffer(), test_marshal_proxy_apartment_shutdown(), test_marshal_proxy_mta_apartment_shutdown(), test_marshal_stub_apartment_shutdown(), test_message_filter(), test_no_couninitialize_client(), test_proxy_interfaces(), test_proxy_marshal_and_unmarshal(), test_proxy_marshal_and_unmarshal2(), test_proxy_marshal_and_unmarshal_strong(), test_proxy_marshal_and_unmarshal_weak(), test_proxy_used_in_wrong_thread(), test_tablestrong_marshal_and_unmarshal_twice(), test_tableweak_marshal_and_unmarshal_twice(), test_tableweak_marshal_releasedata1(), test_tableweak_marshal_releasedata2(), and window_proc().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 3940 of file marshal.c.
Referenced by test_globalinterfacetable().
Definition at line 2801 of file marshal.c.
|
static |
Definition at line 618 of file marshal.c.
Referenced by start_host_object2().
|
static |
Definition at line 434 of file marshal.c.
Referenced by RpcStubBuffer_AddRef(), RpcStubBuffer_Invoke(), RpcStubBuffer_QueryInterface(), and RpcStubBuffer_Release().
|
inlinestatic |
Definition at line 2784 of file marshal.c.
Referenced by HeapUnknown_AddRef(), and HeapUnknown_Release().
Definition at line 4182 of file marshal.c.
Referenced by test_implicit_mta().
Definition at line 4119 of file marshal.c.
Referenced by test_implicit_mta().
Definition at line 4154 of file marshal.c.
Referenced by test_implicit_mta().
Definition at line 3658 of file marshal.c.
|
static |
Definition at line 3632 of file marshal.c.
Definition at line 171 of file marshal.c.
Referenced by Test_IClassFactory_AddRef(), Test_IUnknown_AddRef(), and Test_SMI_AddRef().
Definition at line 3612 of file marshal.c.
Referenced by TestOOP_IClassFactory_LockServer().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 1733 of file marshal.c.
Referenced by test_no_couninitialize_client().
Definition at line 1660 of file marshal.c.
Referenced by test_no_couninitialize_server().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 568 of file marshal.c.
|
static |
|
static |
Definition at line 3355 of file marshal.c.
Referenced by test_handler_marshaling(), and test_inproc_handler().
Definition at line 3039 of file marshal.c.
Referenced by START_TEST().
Definition at line 692 of file marshal.c.
Referenced by test_tablestrong_marshal_and_unmarshal_twice(), test_tableweak_and_normal_marshal_and_releasedata(), test_tableweak_and_normal_marshal_and_unmarshal(), test_tableweak_marshal_and_unmarshal_twice(), test_tableweak_marshal_releasedata1(), test_tableweak_marshal_releasedata2(), and test_two_tableweak_marshal_and_releasedata().
Definition at line 3150 of file marshal.c.
Referenced by test_freethreadedmarshaldata().
|
static |
Definition at line 454 of file marshal.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 482 of file marshal.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 684 of file marshal.c.
Referenced by test_call_from_message(), test_client_security(), test_handler_marshaling(), test_implicit_mta(), test_interthread_marshal_and_unmarshal(), test_marshal_and_unmarshal_invalid(), test_marshal_proxy_apartment_shutdown(), test_marshal_proxy_mta_apartment_shutdown(), test_marshal_stub_apartment_shutdown(), test_no_couninitialize_client(), test_proxy_interfaces(), test_proxy_marshal_and_unmarshal(), test_proxy_marshal_and_unmarshal2(), test_proxy_marshal_and_unmarshal_strong(), test_proxy_marshal_and_unmarshal_weak(), test_proxy_used_in_wrong_thread(), test_tablestrong_marshal_and_unmarshal_twice(), test_tableweak_marshal_and_unmarshal_twice(), test_tableweak_marshal_releasedata1(), test_tableweak_marshal_releasedata2(), and window_proc().
|
static |
Definition at line 667 of file marshal.c.
Referenced by start_host_object(), test_channel_hook(), test_marshal_channel_buffer(), and test_message_filter().
START_TEST | ( | marshal | ) |
Definition at line 4603 of file marshal.c.
Definition at line 2703 of file marshal.c.
Referenced by START_TEST().
Definition at line 3089 of file marshal.c.
Referenced by START_TEST().
Definition at line 4553 of file marshal.c.
Referenced by START_TEST().
Definition at line 3522 of file marshal.c.
Referenced by START_TEST().
Definition at line 149 of file marshal.c.
Referenced by START_TEST().
Definition at line 1575 of file marshal.c.
Referenced by START_TEST().
Definition at line 1830 of file marshal.c.
Referenced by START_TEST().
Definition at line 1526 of file marshal.c.
Referenced by START_TEST().
Definition at line 2372 of file marshal.c.
Referenced by START_TEST().
|
static |
Definition at line 3163 of file marshal.c.
Referenced by test_freethreadedmarshaler().
Definition at line 3208 of file marshal.c.
Referenced by START_TEST().
Definition at line 3967 of file marshal.c.
Referenced by START_TEST().
Definition at line 3472 of file marshal.c.
Referenced by START_TEST().
Definition at line 2451 of file marshal.c.
Referenced by START_TEST().
|
static |
|
static |
Definition at line 286 of file marshal.c.
Definition at line 4197 of file marshal.c.
Referenced by START_TEST().
Definition at line 3394 of file marshal.c.
Referenced by START_TEST().
Definition at line 863 of file marshal.c.
Referenced by START_TEST().
|
static |
Definition at line 3824 of file marshal.c.
Referenced by START_TEST().
Definition at line 2274 of file marshal.c.
Referenced by START_TEST().
Definition at line 4044 of file marshal.c.
Referenced by START_TEST().
Definition at line 784 of file marshal.c.
Referenced by START_TEST().
Definition at line 1296 of file marshal.c.
Referenced by START_TEST().
Definition at line 1204 of file marshal.c.
Referenced by START_TEST().
Definition at line 1252 of file marshal.c.
Referenced by START_TEST().
Definition at line 1164 of file marshal.c.
Referenced by START_TEST().
Definition at line 2652 of file marshal.c.
Referenced by START_TEST().
Definition at line 3049 of file marshal.c.
Referenced by START_TEST().
Definition at line 1753 of file marshal.c.
Referenced by START_TEST().
Definition at line 1681 of file marshal.c.
Referenced by START_TEST().
Definition at line 711 of file marshal.c.
Referenced by START_TEST().
Definition at line 725 of file marshal.c.
Referenced by START_TEST().
Definition at line 752 of file marshal.c.
Referenced by START_TEST().
Definition at line 2410 of file marshal.c.
Referenced by START_TEST().
Definition at line 2728 of file marshal.c.
Referenced by START_TEST().
Definition at line 903 of file marshal.c.
Referenced by START_TEST().
Definition at line 978 of file marshal.c.
Referenced by START_TEST().
Definition at line 1095 of file marshal.c.
Referenced by START_TEST().
Definition at line 1042 of file marshal.c.
Referenced by START_TEST().
Definition at line 2527 of file marshal.c.
Referenced by START_TEST().
Definition at line 2822 of file marshal.c.
Referenced by START_TEST().
Definition at line 830 of file marshal.c.
Referenced by START_TEST().
|
static |
|
static |
|
static |
|
static |
Definition at line 1474 of file marshal.c.
Referenced by START_TEST().
Definition at line 2860 of file marshal.c.
Referenced by START_TEST().
Definition at line 2221 of file marshal.c.
Referenced by START_TEST().
Definition at line 2125 of file marshal.c.
Referenced by START_TEST().
Definition at line 2055 of file marshal.c.
Referenced by START_TEST().
Definition at line 1848 of file marshal.c.
Referenced by START_TEST().
Definition at line 1904 of file marshal.c.
Referenced by START_TEST().
Definition at line 1965 of file marshal.c.
Referenced by START_TEST().
Definition at line 2175 of file marshal.c.
Referenced by START_TEST().
Definition at line 3133 of file marshal.c.
Referenced by START_TEST().
|
static |
|
static |
Definition at line 4384 of file marshal.c.
|
static |
Definition at line 4342 of file marshal.c.
|
static |
Definition at line 4419 of file marshal.c.
|
static |
|
static |
|
static |
Definition at line 4490 of file marshal.c.
|
static |
Definition at line 4455 of file marshal.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 176 of file marshal.c.
Referenced by Test_IClassFactory_Release(), Test_IUnknown_Release(), Test_SMI_Release(), and TestCrash_IUnknown_Release().
Definition at line 3618 of file marshal.c.
Referenced by TestOOP_IClassFactory_LockServer().
Definition at line 2921 of file marshal.c.
Referenced by register_test_window().
|
static |
Definition at line 4331 of file marshal.c.
Referenced by TestChannelHook_ClientFillBuffer(), TestChannelHook_ClientGetSize(), TestChannelHook_ClientNotify(), TestChannelHook_ServerGetSize(), and TestChannelHook_ServerNotify().
|
static |
Definition at line 169 of file marshal.c.
Referenced by crash_couninitialize_proc(), LockModule(), LockModuleOOP(), test_channel_hook(), test_client_security(), test_disconnect_stub(), test_freethreadedmarshaler(), test_globalinterfacetable(), test_handler_marshaling(), test_implicit_mta(), test_interthread_marshal_and_unmarshal(), test_local_server(), test_lock_object_external(), test_marshal_and_unmarshal_invalid(), test_marshal_channel_buffer(), test_marshal_proxy_apartment_shutdown(), test_marshal_proxy_mta_apartment_shutdown(), test_marshal_stub_apartment_shutdown(), test_message_filter(), test_no_couninitialize_client(), test_no_couninitialize_server(), test_normal_marshal_and_release(), test_normal_marshal_and_unmarshal(), test_normal_marshal_and_unmarshal_twice(), test_proxy_interfaces(), test_proxy_marshal_and_unmarshal(), test_proxy_marshal_and_unmarshal2(), test_proxy_marshal_and_unmarshal_strong(), test_proxy_marshal_and_unmarshal_weak(), test_proxy_used_in_wrong_thread(), test_same_apartment_unmarshal_failure(), test_stubbuffer(), test_tablestrong_marshal_and_unmarshal_twice(), test_tableweak_and_normal_marshal_and_releasedata(), test_tableweak_and_normal_marshal_and_unmarshal(), test_tableweak_marshal_and_unmarshal_twice(), test_tableweak_marshal_releasedata1(), test_tableweak_marshal_releasedata2(), test_two_tableweak_marshal_and_releasedata(), TestCrash_IUnknown_Release(), UnlockModule(), UnlockModuleOOP(), and window_proc().
|
static |
Definition at line 63 of file marshal.c.
Referenced by DllGetClassObject(), and test_DfMarshal_custom_marshaling().
Definition at line 141 of file marshal.c.
Referenced by get_class_object(), get_class_object_proxy_thread(), implicit_mta_proc(), register_class_object_thread(), test_CoCreateInstanceEx(), test_CoRegisterClassObject(), test_local_server(), test_register_local_server(), and test_registered_object_thread_affinity().
|
static |
Definition at line 62 of file marshal.c.
Referenced by test_marshal_channel_buffer().
|
static |
Definition at line 1790 of file marshal.c.
Referenced by crash_couninitialize_proc(), and test_crash_couninitialize().
|
static |
Definition at line 1472 of file marshal.c.
Referenced by test_DfMarshal_custom_marshaling(), and test_StdMarshal_custom_marshaling().
|
static |
|
static |
Definition at line 182 of file marshal.c.
Referenced by ExternalConnection_AddConnection(), ExternalConnection_ReleaseConnection(), test_disconnect_stub(), test_implicit_mta(), test_interthread_marshal_and_unmarshal(), test_lock_object_external(), test_marshal_and_unmarshal_invalid(), test_marshal_channel_buffer(), test_marshal_proxy_apartment_shutdown(), test_marshal_proxy_mta_apartment_shutdown(), test_marshal_stub_apartment_shutdown(), test_no_couninitialize_client(), test_no_couninitialize_server(), test_normal_marshal_and_release(), test_normal_marshal_and_unmarshal(), test_normal_marshal_and_unmarshal_twice(), test_proxy_marshal_and_unmarshal(), test_proxy_marshal_and_unmarshal2(), test_proxy_marshal_and_unmarshal_strong(), test_proxy_marshal_and_unmarshal_weak(), test_same_apartment_unmarshal_failure(), test_tablestrong_marshal_and_unmarshal_twice(), test_tableweak_and_normal_marshal_and_releasedata(), test_tableweak_and_normal_marshal_and_unmarshal(), test_tableweak_marshal_and_unmarshal_twice(), test_tableweak_marshal_releasedata1(), test_tableweak_marshal_releasedata2(), and test_two_tableweak_marshal_and_releasedata().
|
static |
Definition at line 225 of file marshal.c.
Referenced by Test_IClassFactory_QueryInterface().
|
static |
|
static |
Definition at line 2815 of file marshal.c.
Referenced by test_proxybuffer().
|
static |
Definition at line 3610 of file marshal.c.
Referenced by test_local_server(), test_register_local_server(), and UnlockModuleOOP().
|
static |
Definition at line 2892 of file marshal.c.
Referenced by test_call_from_message(), test_message_reentrancy(), test_WM_QUIT_handling(), TestMsg_IClassFactory_CreateInstance(), and TestRE_IClassFactory_CreateInstance().
Definition at line 130 of file marshal.c.
Referenced by proxy_manager_get_remunknown(), RemUnknown_QueryInterface(), start_apartment_remote_unknown(), test_client_security(), and Test_IClassFactory_QueryInterface().
Definition at line 122 of file marshal.c.
Referenced by implicit_mta_proc(), register_ps_clsid_thread(), test_client_security(), test_CoGetPSClsid(), test_CoRegisterPSClsid(), test_handler_marshaling(), test_inproc_handler(), Test_IUnknown_QueryInterface(), test_no_marshaler(), TestRE_IClassFactory_CreateInstance(), and window_proc().
|
static |
Definition at line 183 of file marshal.c.
Referenced by ExternalConnection_ReleaseConnection().
struct local_server local_server_class |
Definition at line 3685 of file marshal.c.
Referenced by TestOOP_IClassFactory_CreateInstance().
|
static |
|
static |
Definition at line 2650 of file marshal.c.
Referenced by test_channel_hook(), and test_message_filter().
|
static |
|
static |
Definition at line 4329 of file marshal.c.
Referenced by TestChannelHook_ClientFillBuffer(), TestChannelHook_ClientGetSize(), TestChannelHook_ClientNotify(), TestChannelHook_ServerGetSize(), and TestChannelHook_ServerNotify().
|
static |
|
static |
|
static |
Definition at line 536 of file marshal.c.
Referenced by PSFactoryBuffer_CreateProxy(), PSFactoryBuffer_CreateStub(), and test_marshal_channel_buffer().
|
static |
Definition at line 598 of file marshal.c.
Referenced by test_marshal_channel_buffer().
|
static |
|
static |
Definition at line 523 of file marshal.c.
Referenced by PSFactoryBuffer_CreateStub().
|
static |
Definition at line 4330 of file marshal.c.
Referenced by test_channel_hook(), TestChannelHook_ClientFillBuffer(), TestChannelHook_ClientGetSize(), TestChannelHook_ClientNotify(), TestChannelHook_ServerGetSize(), and TestChannelHook_ServerNotify().
|
static |
Definition at line 351 of file marshal.c.
Referenced by duo_marshal_thread_proc(), implicit_mta_marshal_proc(), no_couninitialize_server_proc(), test_bad_marshal_stream(), test_channel_hook(), test_client_security(), test_disconnect_stub(), test_freethreadedmarshaler(), test_globalinterfacetable(), test_implicit_mta(), test_interthread_marshal_and_unmarshal(), test_lock_object_external(), test_marshal_and_unmarshal_invalid(), test_marshal_proxy_apartment_shutdown(), test_marshal_proxy_mta_apartment_shutdown(), test_marshal_stub_apartment_shutdown(), test_message_filter(), test_no_couninitialize_client(), test_no_marshaler(), test_normal_marshal_and_release(), test_normal_marshal_and_unmarshal(), test_normal_marshal_and_unmarshal_twice(), test_proxy_interfaces(), test_proxy_marshal_and_unmarshal(), test_proxy_marshal_and_unmarshal2(), test_proxy_marshal_and_unmarshal_strong(), test_proxy_marshal_and_unmarshal_weak(), test_proxy_used_in_wrong_thread(), test_same_apartment_unmarshal_failure(), test_stubbuffer(), test_tablestrong_marshal_and_unmarshal_twice(), test_tableweak_marshal_and_unmarshal_twice(), test_tableweak_marshal_releasedata1(), test_tableweak_marshal_releasedata2(), and window_proc().
|
static |
Definition at line 426 of file marshal.c.
Referenced by PSFactoryBuffer_CreateStub(), and test_marshal_channel_buffer().
|
static |
Definition at line 391 of file marshal.c.
Referenced by OleClientSite_QueryInterface().
|
static |
Definition at line 3470 of file marshal.c.
Referenced by test_handler_marshaling().
|
static |
|
static |
Definition at line 265 of file marshal.c.
Referenced by test_CoGetStandardMarshal(), and Test_IClassFactory_CreateInstance().
|
static |
Definition at line 4551 of file marshal.c.
Referenced by test_channel_hook().
|
static |
|
static |
|
static |
|
static |
Definition at line 284 of file marshal.c.
Referenced by crash_couninitialize_proc().
|
static |
|
static |
Definition at line 3087 of file marshal.c.
Referenced by test_call_from_message().
|
static |
|
static |
Definition at line 3752 of file marshal.c.
Referenced by test_local_server(), and test_register_local_server().
|
static |
Definition at line 2919 of file marshal.c.
Referenced by window_proc().
|
static |
|
static |
|
static |
Definition at line 168 of file marshal.c.
Referenced by crash_couninitialize_proc(), implicit_mta_unmarshal_proc(), test_bad_marshal_stream(), test_call_from_message(), test_channel_hook(), test_client_security(), test_CoGetStandardMarshal(), test_DfMarshal_custom_marshaling(), test_disconnect_stub(), test_handler_marshaling(), test_hresult_marshaling(), test_implicit_mta(), test_interthread_marshal_and_unmarshal(), test_lock_object_external(), test_marshal_and_unmarshal_invalid(), test_marshal_channel_buffer(), test_marshal_proxy_apartment_shutdown(), test_marshal_proxy_mta_apartment_shutdown(), test_marshal_stub_apartment_shutdown(), test_message_filter(), test_no_couninitialize_client(), test_no_couninitialize_server(), test_normal_marshal_and_release(), test_normal_marshal_and_unmarshal(), test_normal_marshal_and_unmarshal_twice(), test_proxy_interfaces(), test_proxy_marshal_and_unmarshal(), test_proxy_marshal_and_unmarshal2(), test_proxy_marshal_and_unmarshal_strong(), test_proxy_marshal_and_unmarshal_weak(), test_proxy_used_in_wrong_thread(), test_StdMarshal_custom_marshaling(), test_tablestrong_marshal_and_unmarshal_twice(), test_tableweak_and_normal_marshal_and_releasedata(), test_tableweak_and_normal_marshal_and_unmarshal(), test_tableweak_marshal_and_unmarshal_twice(), test_tableweak_marshal_releasedata1(), test_tableweak_marshal_releasedata2(), test_two_tableweak_marshal_and_releasedata(), and window_proc().
Definition at line 1365 of file marshal.c.
Referenced by CustomMarshal_GetUnmarshalClass(), CustomMarshal_MarshalInterface(), test_DfMarshal_custom_marshaling(), and test_StdMarshal_custom_marshaling().
|
static |
Definition at line 181 of file marshal.c.
Referenced by START_TEST(), Test_IClassFactory_QueryInterface(), test_tableweak_and_normal_marshal_and_releasedata(), test_tableweak_and_normal_marshal_and_unmarshal(), and test_tableweak_marshal_and_unmarshal_twice().