|
static | HRESULT (WINAPI *pCoInitializeEx)(LPVOID lpReserved |
|
static void | test_cocreateinstance_proxy (void) |
|
static void | LockModule (void) |
|
static void | UnlockModule (void) |
|
static HRESULT WINAPI | ExternalConnection_QueryInterface (IExternalConnection *iface, REFIID riid, void **ppv) |
|
static ULONG WINAPI | ExternalConnection_AddRef (IExternalConnection *iface) |
|
static ULONG WINAPI | ExternalConnection_Release (IExternalConnection *iface) |
|
static DWORD WINAPI | ExternalConnection_AddConnection (IExternalConnection *iface, DWORD extconn, DWORD reserved) |
|
static DWORD WINAPI | ExternalConnection_ReleaseConnection (IExternalConnection *iface, DWORD extconn, DWORD reserved, BOOL fLastReleaseCloses) |
|
static HRESULT WINAPI | Test_IUnknown_QueryInterface (LPUNKNOWN iface, REFIID riid, LPVOID *ppvObj) |
|
static ULONG WINAPI | Test_IUnknown_AddRef (LPUNKNOWN iface) |
|
static ULONG WINAPI | Test_IUnknown_Release (LPUNKNOWN iface) |
|
static ULONG WINAPI | TestCrash_IUnknown_Release (LPUNKNOWN iface) |
|
static HRESULT WINAPI | Test_IClassFactory_QueryInterface (LPCLASSFACTORY iface, REFIID riid, LPVOID *ppvObj) |
|
static ULONG WINAPI | Test_IClassFactory_AddRef (LPCLASSFACTORY iface) |
|
static ULONG WINAPI | Test_IClassFactory_Release (LPCLASSFACTORY iface) |
|
static HRESULT WINAPI | Test_IClassFactory_CreateInstance (LPCLASSFACTORY iface, LPUNKNOWN pUnkOuter, REFIID riid, LPVOID *ppvObj) |
|
static HRESULT WINAPI | Test_IClassFactory_LockServer (LPCLASSFACTORY iface, BOOL fLock) |
|
| DEFINE_EXPECT (Invoke) |
|
| DEFINE_EXPECT (CreateStub) |
|
| DEFINE_EXPECT (CreateProxy) |
|
| DEFINE_EXPECT (GetWindow) |
|
| DEFINE_EXPECT (Disconnect) |
|
static HRESULT WINAPI | OleWindow_QueryInterface (IOleWindow *iface, REFIID riid, void **ppv) |
|
static ULONG WINAPI | OleWindow_AddRef (IOleWindow *iface) |
|
static ULONG WINAPI | OleWindow_Release (IOleWindow *iface) |
|
static HRESULT WINAPI | OleWindow_GetWindow (IOleWindow *iface, HWND *hwnd) |
|
static HRESULT WINAPI | OleClientSite_QueryInterface (IOleClientSite *iface, REFIID riid, void **ppv) |
|
static ULONG WINAPI | OleClientSite_AddRef (IOleClientSite *iface) |
|
static ULONG WINAPI | OleClientSite_Release (IOleClientSite *iface) |
|
static StubBufferWrapper * | impl_from_IRpcStubBuffer (IRpcStubBuffer *iface) |
|
static HRESULT WINAPI | RpcStubBuffer_QueryInterface (IRpcStubBuffer *iface, REFIID riid, void **ppv) |
|
static ULONG WINAPI | RpcStubBuffer_AddRef (IRpcStubBuffer *iface) |
|
static ULONG WINAPI | RpcStubBuffer_Release (IRpcStubBuffer *iface) |
|
static HRESULT WINAPI | RpcStubBuffer_Connect (IRpcStubBuffer *iface, IUnknown *pUnkServer) |
|
static void WINAPI | RpcStubBuffer_Disconnect (IRpcStubBuffer *iface) |
|
static HRESULT WINAPI | RpcStubBuffer_Invoke (IRpcStubBuffer *iface, RPCOLEMESSAGE *_prpcmsg, IRpcChannelBuffer *_pRpcChannelBuffer) |
|
static IRpcStubBuffer *WINAPI | RpcStubBuffer_IsIIDSupported (IRpcStubBuffer *iface, REFIID riid) |
|
static ULONG WINAPI | RpcStubBuffer_CountRefs (IRpcStubBuffer *iface) |
|
static HRESULT WINAPI | RpcStubBuffer_DebugServerQueryInterface (IRpcStubBuffer *iface, void **ppv) |
|
static void WINAPI | RpcStubBuffer_DebugServerRelease (IRpcStubBuffer *iface, void *pv) |
|
static HRESULT WINAPI | PSFactoryBuffer_QueryInterface (IPSFactoryBuffer *iface, REFIID riid, void **ppv) |
|
static ULONG WINAPI | PSFactoryBuffer_AddRef (IPSFactoryBuffer *iface) |
|
static ULONG WINAPI | PSFactoryBuffer_Release (IPSFactoryBuffer *iface) |
|
static HRESULT WINAPI | PSFactoryBuffer_CreateProxy (IPSFactoryBuffer *iface, IUnknown *outer, REFIID riid, IRpcProxyBuffer **ppProxy, void **ppv) |
|
static HRESULT WINAPI | PSFactoryBuffer_CreateStub (IPSFactoryBuffer *iface, REFIID riid, IUnknown *server, IRpcStubBuffer **ppStub) |
|
static DWORD CALLBACK | host_object_proc (LPVOID p) |
|
static DWORD | start_host_object2 (struct host_object_data *object_data, HANDLE *thread) |
|
static DWORD | start_host_object (IStream *stream, REFIID riid, IUnknown *object, MSHLFLAGS marshal_flags, HANDLE *thread) |
|
static void | release_host_object (DWORD tid, WPARAM wp) |
|
static void | end_host_object (DWORD tid, HANDLE thread) |
|
static void | test_no_marshaler (void) |
|
static void | test_normal_marshal_and_release (void) |
|
static void | test_normal_marshal_and_unmarshal (void) |
|
static void | test_marshal_and_unmarshal_invalid (void) |
|
static void | test_same_apartment_unmarshal_failure (void) |
|
static void | test_interthread_marshal_and_unmarshal (void) |
|
static void | test_proxy_marshal_and_unmarshal (void) |
|
static void | test_proxy_marshal_and_unmarshal2 (void) |
|
static void | test_proxy_marshal_and_unmarshal_weak (void) |
|
static void | test_proxy_marshal_and_unmarshal_strong (void) |
|
static void | test_marshal_stub_apartment_shutdown (void) |
|
static void | test_marshal_proxy_apartment_shutdown (void) |
|
static void | test_marshal_proxy_mta_apartment_shutdown (void) |
|
static void | test_marshal_channel_buffer (void) |
|
| DEFINE_EXPECT (CustomMarshal_GetUnmarshalClass) |
|
| DEFINE_EXPECT (CustomMarshal_GetMarshalSizeMax) |
|
| DEFINE_EXPECT (CustomMarshal_MarshalInterface) |
|
static HRESULT WINAPI | CustomMarshal_QueryInterface (IMarshal *iface, REFIID riid, void **ppv) |
|
static ULONG WINAPI | CustomMarshal_AddRef (IMarshal *iface) |
|
static ULONG WINAPI | CustomMarshal_Release (IMarshal *iface) |
|
static HRESULT WINAPI | CustomMarshal_GetUnmarshalClass (IMarshal *iface, REFIID riid, void *pv, DWORD dwDestContext, void *pvDestContext, DWORD mshlflags, CLSID *clsid) |
|
static HRESULT WINAPI | CustomMarshal_GetMarshalSizeMax (IMarshal *iface, REFIID riid, void *pv, DWORD dwDestContext, void *pvDestContext, DWORD mshlflags, DWORD *size) |
|
static HRESULT WINAPI | CustomMarshal_MarshalInterface (IMarshal *iface, IStream *stream, REFIID riid, void *pv, DWORD dwDestContext, void *pvDestContext, DWORD mshlflags) |
|
static HRESULT WINAPI | CustomMarshal_UnmarshalInterface (IMarshal *iface, IStream *stream, REFIID riid, void **ppv) |
|
static HRESULT WINAPI | CustomMarshal_ReleaseMarshalData (IMarshal *iface, IStream *stream) |
|
static HRESULT WINAPI | CustomMarshal_DisconnectObject (IMarshal *iface, DWORD res) |
|
static void | test_StdMarshal_custom_marshaling (void) |
|
static void | test_DfMarshal_custom_marshaling (void) |
|
static void | test_CoGetStandardMarshal (void) |
|
static DWORD CALLBACK | no_couninitialize_server_proc (LPVOID p) |
|
static void | test_no_couninitialize_server (void) |
|
static DWORD CALLBACK | no_couninitialize_client_proc (LPVOID p) |
|
static void | test_no_couninitialize_client (void) |
|
static DWORD CALLBACK | crash_couninitialize_proc (void *p) |
|
static void | test_crash_couninitialize (void) |
|
static void | test_tableweak_marshal_and_unmarshal_twice (void) |
|
static void | test_tableweak_marshal_releasedata1 (void) |
|
static void | test_tableweak_marshal_releasedata2 (void) |
|
static DWORD CALLBACK | duo_marshal_thread_proc (void *p) |
|
static void | test_tableweak_and_normal_marshal_and_unmarshal (void) |
|
static void | test_tableweak_and_normal_marshal_and_releasedata (void) |
|
static void | test_two_tableweak_marshal_and_releasedata (void) |
|
static void | test_tablestrong_marshal_and_unmarshal_twice (void) |
|
static void | test_lock_object_external (void) |
|
static void | test_disconnect_stub (void) |
|
static void | test_normal_marshal_and_unmarshal_twice (void) |
|
static void | test_hresult_marshaling (void) |
|
static DWORD CALLBACK | bad_thread_proc (LPVOID p) |
|
static void | test_proxy_used_in_wrong_thread (void) |
|
static HRESULT WINAPI | MessageFilter_QueryInterface (IMessageFilter *iface, REFIID riid, void **ppvObj) |
|
static ULONG WINAPI | MessageFilter_AddRef (IMessageFilter *iface) |
|
static ULONG WINAPI | MessageFilter_Release (IMessageFilter *iface) |
|
static DWORD WINAPI | MessageFilter_HandleInComingCall (IMessageFilter *iface, DWORD dwCallType, HTASK threadIDCaller, DWORD dwTickCount, LPINTERFACEINFO lpInterfaceInfo) |
|
static DWORD WINAPI | MessageFilter_RetryRejectedCall (IMessageFilter *iface, HTASK threadIDCallee, DWORD dwTickCount, DWORD dwRejectType) |
|
static DWORD WINAPI | MessageFilter_MessagePending (IMessageFilter *iface, HTASK threadIDCallee, DWORD dwTickCount, DWORD dwPendingType) |
|
static void | test_message_filter (void) |
|
static void | test_bad_marshal_stream (void) |
|
static void | test_proxy_interfaces (void) |
|
static HeapUnknown * | impl_from_IUnknown (IUnknown *iface) |
|
static HRESULT WINAPI | HeapUnknown_QueryInterface (IUnknown *iface, REFIID riid, void **ppv) |
|
static ULONG WINAPI | HeapUnknown_AddRef (IUnknown *iface) |
|
static ULONG WINAPI | HeapUnknown_Release (IUnknown *iface) |
|
static void | test_proxybuffer (REFIID riid) |
|
static void | test_stubbuffer (REFIID riid) |
|
static HRESULT WINAPI | TestRE_IClassFactory_CreateInstance (LPCLASSFACTORY iface, LPUNKNOWN pUnkOuter, REFIID riid, LPVOID *ppvObj) |
|
static LRESULT CALLBACK | window_proc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
|
static void | register_test_window (void) |
|
static void | test_message_reentrancy (void) |
|
static HRESULT WINAPI | TestMsg_IClassFactory_CreateInstance (LPCLASSFACTORY iface, LPUNKNOWN pUnkOuter, REFIID riid, LPVOID *ppvObj) |
|
static void | test_call_from_message (void) |
|
static void | test_WM_QUIT_handling (void) |
|
static SIZE_T | round_global_size (SIZE_T size) |
|
static void | test_freethreadedmarshaldata (IStream *pStream, MSHCTX mshctx, void *ptr, DWORD mshlflags) |
|
static void | test_freethreadedmarshaler (void) |
|
static HRESULT | reg_unreg_wine_test_class (BOOL Register) |
|
static void | test_inproc_handler (void) |
|
static HRESULT WINAPI | Test_SMI_QueryInterface (IStdMarshalInfo *iface, REFIID riid, LPVOID *ppvObj) |
|
static ULONG WINAPI | Test_SMI_AddRef (IStdMarshalInfo *iface) |
|
static ULONG WINAPI | Test_SMI_Release (IStdMarshalInfo *iface) |
|
static HRESULT WINAPI | Test_SMI_GetClassForHandler (IStdMarshalInfo *iface, DWORD dwDestContext, void *pvDestContext, CLSID *pClsid) |
|
static void | test_handler_marshaling (void) |
|
static void | test_client_security (void) |
|
static void | LockModuleOOP (void) |
|
static void | UnlockModuleOOP (void) |
|
static HRESULT WINAPI | local_server_QueryInterface (IPersist *iface, REFIID iid, void **obj) |
|
static ULONG WINAPI | local_server_AddRef (IPersist *iface) |
|
static ULONG WINAPI | local_server_Release (IPersist *iface) |
|
static HRESULT WINAPI | local_server_GetClassID (IPersist *iface, CLSID *clsid) |
|
static HRESULT WINAPI | TestOOP_IClassFactory_QueryInterface (LPCLASSFACTORY iface, REFIID riid, LPVOID *ppvObj) |
|
static ULONG WINAPI | TestOOP_IClassFactory_AddRef (LPCLASSFACTORY iface) |
|
static ULONG WINAPI | TestOOP_IClassFactory_Release (LPCLASSFACTORY iface) |
|
static HRESULT WINAPI | TestOOP_IClassFactory_CreateInstance (LPCLASSFACTORY iface, LPUNKNOWN pUnkOuter, REFIID riid, LPVOID *ppvObj) |
|
static HRESULT WINAPI | TestOOP_IClassFactory_LockServer (LPCLASSFACTORY iface, BOOL fLock) |
|
static void | test_register_local_server (void) |
|
static HANDLE | create_target_process (const char *arg) |
|
static void | test_local_server (void) |
|
static DWORD CALLBACK | get_global_interface_proc (LPVOID pv) |
|
static void | test_globalinterfacetable (void) |
|
static void | test_manualresetevent (void) |
|
static DWORD CALLBACK | implicit_mta_unmarshal_proc (void *param) |
|
static DWORD CALLBACK | implicit_mta_use_proc (void *param) |
|
static DWORD CALLBACK | implicit_mta_marshal_proc (void *param) |
|
static void | test_implicit_mta (void) |
|
static const char * | debugstr_iid (REFIID riid) |
|
static HRESULT WINAPI | TestChannelHook_QueryInterface (IChannelHook *iface, REFIID riid, void **ppv) |
|
static ULONG WINAPI | TestChannelHook_AddRef (IChannelHook *iface) |
|
static ULONG WINAPI | TestChannelHook_Release (IChannelHook *iface) |
|
static void WINAPI | TestChannelHook_ClientGetSize (IChannelHook *iface, REFGUID uExtent, REFIID riid, ULONG *pDataSize) |
|
static void WINAPI | TestChannelHook_ClientFillBuffer (IChannelHook *iface, REFGUID uExtent, REFIID riid, ULONG *pDataSize, void *pDataBuffer) |
|
static void WINAPI | TestChannelHook_ClientNotify (IChannelHook *iface, REFGUID uExtent, REFIID riid, ULONG cbDataSize, void *pDataBuffer, DWORD lDataRep, HRESULT hrFault) |
|
static void WINAPI | TestChannelHook_ServerNotify (IChannelHook *iface, REFGUID uExtent, REFIID riid, ULONG cbDataSize, void *pDataBuffer, DWORD lDataRep) |
|
static void WINAPI | TestChannelHook_ServerGetSize (IChannelHook *iface, REFGUID uExtent, REFIID riid, HRESULT hrFault, ULONG *pDataSize) |
|
static void WINAPI | TestChannelHook_ServerFillBuffer (IChannelHook *iface, REFGUID uExtent, REFIID riid, ULONG *pDataSize, void *pDataBuffer, HRESULT hrFault) |
|
static void | test_channel_hook (void) |
|
| START_TEST (marshal) |
|
|
static const GUID | CLSID_WineTestPSFactoryBuffer = { 0x22222222, 0x1234, 0x1234, { 0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0xf0 } } |
|
static const GUID | CLSID_DfMarshal = { 0x0000030b, 0x0000, 0x0000, { 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 } } |
|
static DWORD | dwCoInit |
|
static | REFIID |
|
static | LPVOID |
|
static const IID | IID_IWineTest |
|
static const IID | IID_IRemUnknown |
|
static const CLSID | CLSID_WineOOPTest |
|
static const LARGE_INTEGER | ullZero |
|
static LONG | cLocks |
|
static BOOL | with_external_conn |
|
static DWORD | external_connections |
|
static BOOL | last_release_closes |
|
static const IExternalConnectionVtbl | ExternalConnectionVtbl |
|
static IExternalConnection | ExternalConnection = { &ExternalConnectionVtbl } |
|
static const IUnknownVtbl | TestUnknown_Vtbl |
|
static IUnknown | Test_Unknown = { &TestUnknown_Vtbl } |
|
static const IUnknownVtbl | TestCrashUnknown_Vtbl |
|
static IUnknown | TestCrash_Unknown = { &TestCrashUnknown_Vtbl } |
|
static const IClassFactoryVtbl | TestClassFactory_Vtbl |
|
static IClassFactory | Test_ClassFactory = { &TestClassFactory_Vtbl } |
|
static const IOleWindowVtbl | OleWindowVtbl |
|
static IOleWindow | Test_OleWindow = { &OleWindowVtbl } |
|
static const IOleClientSiteVtbl | OleClientSiteVtbl |
|
static IOleClientSite | Test_OleClientSite = { &OleClientSiteVtbl } |
|
static const IRpcStubBufferVtbl | RpcStubBufferVtbl |
|
static IPSFactoryBuffer * | ps_factory_buffer |
|
static IPSFactoryBufferVtbl | PSFactoryBufferVtbl |
|
static IPSFactoryBuffer | PSFactoryBuffer = { &PSFactoryBufferVtbl } |
|
static const CLSID * | unmarshal_class |
|
static IMarshalVtbl | CustomMarshalVtbl |
|
static IMarshal | CustomMarshal = { &CustomMarshalVtbl } |
|
static BOOL | crash_thread_success |
|
static const IMessageFilterVtbl | MessageFilter_Vtbl |
|
static IMessageFilter | MessageFilter = { &MessageFilter_Vtbl } |
|
static const IUnknownVtbl | HeapUnknown_Vtbl |
|
static HWND | hwnd_app |
|
static const IClassFactoryVtbl | TestREClassFactory_Vtbl |
|
static IClassFactory | TestRE_ClassFactory = { &TestREClassFactory_Vtbl } |
|
static IClassFactoryVtbl | TestMsgClassFactory_Vtbl |
|
static IClassFactory | TestMsg_ClassFactory = { &TestMsgClassFactory_Vtbl } |
|
static const IStdMarshalInfoVtbl | Test_SMI_Vtbl |
|
static IStdMarshalInfo | Test_SMI = {&Test_SMI_Vtbl} |
|
static HANDLE | heventShutdown |
|
static const IPersistVtbl | local_server_persist_vtbl |
|
struct local_server | local_server_class |
|
static const IClassFactoryVtbl | TestClassFactoryOOP_Vtbl |
|
static IClassFactory | TestOOP_ClassFactory = { &TestClassFactoryOOP_Vtbl } |
|
static BOOL | new_hook_struct |
|
static int | method |
|
static int | server_tid |
|
static GUID | causality |
|
static const IChannelHookVtbl | TestChannelHookVtbl |
|
static IChannelHook | TestChannelHook = { &TestChannelHookVtbl } |
|