|
ReactOS 0.4.16-dev-2320-ge1853c6
|
#include "winternl.h"#include "wine/orpc.h"#include "wine/list.h"

Go to the source code of this file.
Classes | |
| struct | apartment |
| struct | tlsdata |
| struct | class_reg_data |
| struct | ifstub |
| struct | stub_manager |
Macros | |
| #define | DM_EXECUTERPC (WM_USER + 0) /* WPARAM = 0, LPARAM = (struct dispatch_params *) */ |
| #define | DM_HOSTOBJECT (WM_USER + 1) /* WPARAM = 0, LPARAM = (struct host_object_params *) */ |
| #define | CHARS_IN_GUID 39 |
| #define | MSHLFLAGSP_REMUNKNOWN 0x80000000 |
Typedefs | |
| typedef enum ifstub_state | STUB_STATE |
Enumerations | |
| enum | tlsdata_flags { OLETLS_UUIDINITIALIZED = 0x2 , OLETLS_DISABLE_OLE1DDE = 0x40 , OLETLS_APARTMENTTHREADED = 0x80 , OLETLS_MULTITHREADED = 0x100 } |
| enum | class_reg_data_origin { CLASS_REG_ACTCTX , CLASS_REG_REGISTRY , CLASS_REG_ACTCTX , CLASS_REG_REGISTRY } |
| enum | ifstub_state { STUBSTATE_NORMAL_MARSHALED , STUBSTATE_NORMAL_UNMARSHALED , STUBSTATE_TABLE_WEAK_MARSHALED , STUBSTATE_TABLE_WEAK_UNMARSHALED , STUBSTATE_TABLE_STRONG } |
Variables | |
| HINSTANCE | hProxyDll |
| #define CHARS_IN_GUID 39 |
Definition at line 63 of file combase_private.h.
Definition at line 60 of file combase_private.h.
Definition at line 61 of file combase_private.h.
| #define MSHLFLAGSP_REMUNKNOWN 0x80000000 |
Definition at line 183 of file combase_private.h.
| typedef enum ifstub_state STUB_STATE |
| Enumerator | |
|---|---|
| CLASS_REG_ACTCTX | |
| CLASS_REG_REGISTRY | |
| CLASS_REG_ACTCTX | |
| CLASS_REG_REGISTRY | |
Definition at line 139 of file combase_private.h.
| Enumerator | |
|---|---|
| STUBSTATE_NORMAL_MARSHALED | |
| STUBSTATE_NORMAL_UNMARSHALED | |
| STUBSTATE_TABLE_WEAK_MARSHALED | |
| STUBSTATE_TABLE_WEAK_UNMARSHALED | |
| STUBSTATE_TABLE_STRONG | |
Definition at line 198 of file combase_private.h.
| Enumerator | |
|---|---|
| OLETLS_UUIDINITIALIZED | |
| OLETLS_DISABLE_OLE1DDE | |
| OLETLS_APARTMENTTHREADED | |
| OLETLS_MULTITHREADED | |
Definition at line 65 of file combase_private.h.
Definition at line 1250 of file apartment.c.
Referenced by apartment_get_or_create(), apartment_hostobject_thread(), and marshal_object().
| void apartment_decrement_mta_usage | ( | CO_MTA_USAGE_COOKIE | cookie | ) |
Definition at line 1199 of file apartment.c.
Referenced by CoDecrementMTAUsage(), com_cleanup_tlsdata(), and leave_apartment().
Definition at line 1992 of file marshal.c.
Referenced by apartment_release().
Definition at line 635 of file apartment.c.
Referenced by ipid_to_ifstub(), std_release_marshal_data(), and std_unmarshal_interface().
Definition at line 657 of file apartment.c.
Referenced by ipid_to_ifstub().
Definition at line 403 of file apartment.c.
Referenced by apartment_release(), and CoFreeUnusedLibrariesEx().
Definition at line 623 of file apartment.c.
Referenced by ClientIdentity_QueryMultipleInterfaces(), ClientRpcChannelBuffer_SendReceive(), CoDisconnectObject(), CoLockObjectExternal(), com_get_class_object(), CoRegisterClassObject(), CoRevokeClassObject(), InternalIsProcessInitialized(), proxy_manager_get_remunknown(), std_unmarshal_interface(), and StdMarshalImpl_MarshalInterface().
| HRESULT apartment_get_inproc_class_object | ( | struct apartment * | apt, |
| const struct class_reg_data * | regdata, | ||
| REFCLSID | rclsid, | ||
| REFIID | riid, | ||
| DWORD | class_context, | ||
| void ** | ppv | ||
| ) |
Definition at line 1031 of file apartment.c.
Referenced by com_get_class_object().
Definition at line 315 of file apartment.c.
Referenced by CoRegisterClassObject().
Definition at line 607 of file apartment.c.
Referenced by apartment_get_current_or_mta(), CoGetApartmentType(), and ipid_to_ifstub().
Definition at line 1284 of file apartment.c.
Referenced by ClientRpcChannelBuffer_IsCorrectApartment(), marshal_object(), rpc_create_clientchannel(), and std_unmarshal_interface().
Definition at line 1278 of file apartment.c.
Referenced by apartment_hostobject_in_hostapt(), apartment_hostobject_thread(), ClientRpcChannelBuffer_GetBuffer(), and dispatch_rpc().
Definition at line 1289 of file apartment.c.
Referenced by DllMain().
| HRESULT apartment_increment_mta_usage | ( | CO_MTA_USAGE_COOKIE * | cookie | ) |
Definition at line 1175 of file apartment.c.
Referenced by CoIncrementMTAUsage(), and ensure_mta().
Definition at line 444 of file apartment.c.
Referenced by apartment_decrement_mta_usage(), apartment_hostobject_in_hostapt(), ClientIdentity_QueryMultipleInterfaces(), ClientRpcChannelBuffer_GetBuffer(), ClientRpcChannelBuffer_SendReceive(), CoDisconnectObject(), CoGetApartmentType(), CoLockObjectExternal(), com_cleanup_tlsdata(), com_get_class_object(), CoRegisterClassObject(), CoRevokeClassObject(), dispatch_rpc(), InternalIsProcessInitialized(), ipid_get_dest_context(), ipid_to_ifstub(), leave_apartment(), proxy_manager_get_remunknown(), RemUnknown_RemAddRef(), RemUnknown_RemQueryInterface(), RemUnknown_RemRelease(), std_release_marshal_data(), std_unmarshal_interface(), and StdMarshalImpl_MarshalInterface().
Definition at line 3089 of file combase.c.
Referenced by apartment_release().
Definition at line 107 of file combase_private.h.
Referenced by apartment_get_current_or_mta(), apartment_get_or_create(), apartment_hostobject_thread(), apartment_wndproc(), CoFreeUnusedLibrariesEx(), CoRegisterMessageFilter(), CoWaitForMultipleHandles(), local_server_QueryService(), and rpc_execute_call().
| IUnknown * com_get_registered_class_object | ( | const struct apartment * | apartment, |
| REFCLSID | rclsid, | ||
| DWORD | clscontext | ||
| ) |
Definition at line 144 of file combase.c.
Referenced by com_get_class_object(), CoRegisterClassObject(), and local_server_QueryService().
Definition at line 101 of file combase_private.h.
Referenced by apartment_get_or_create(), ClientRpcChannelBuffer_SendReceive(), CoDisableCallCancellation(), CoEnableCallCancellation(), CoGetApartmentType(), CoGetCallContext(), CoGetContextToken(), CoGetCurrentLogicalThreadId(), CoGetCurrentProcess(), CoInitializeEx(), com_get_current_apt(), CoRegisterInitializeSpy(), CoRevokeInitializeSpy(), CoSwitchCallContext(), CoUninitialize(), CoWaitForMultipleHandles(), dispatch_rpc(), ensure_mta(), GetErrorInfo(), rpc_execute_call(), and SetErrorInfo().
Definition at line 1297 of file apartment.c.
Referenced by RoGetActivationFactory().
Definition at line 1129 of file apartment.c.
Referenced by CoInitializeEx(), and dispatch_rpc().
| struct stub_manager * get_stub_manager | ( | struct apartment * | apt, |
| OID | oid | ||
| ) |
Definition at line 381 of file stubmanager.c.
Referenced by std_release_marshal_data(), and std_unmarshal_interface().
| struct stub_manager * get_stub_manager_from_object | ( | struct apartment * | apt, |
| IUnknown * | object, | ||
| BOOL | alloc | ||
| ) |
Definition at line 335 of file stubmanager.c.
Referenced by CoDisconnectObject(), CoLockObjectExternal(), and marshal_object().
Definition at line 391 of file combase.c.
Definition at line 405 of file combase.c.
Referenced by com_get_tlsdata().
| HRESULT ipid_get_dest_context | ( | const IPID * | ipid, |
| MSHCTX * | dest_context, | ||
| void ** | dest_context_data | ||
| ) |
Definition at line 557 of file stubmanager.c.
Referenced by std_unmarshal_interface().
| HRESULT ipid_get_dispatch_params | ( | const IPID * | ipid, |
| struct apartment ** | stub_apt, | ||
| struct stub_manager ** | manager, | ||
| IRpcStubBuffer ** | stub, | ||
| IRpcChannelBuffer ** | chan, | ||
| IID * | iid, | ||
| IUnknown ** | iface | ||
| ) |
Definition at line 530 of file stubmanager.c.
Referenced by ClientRpcChannelBuffer_GetBuffer(), and dispatch_rpc().
Definition at line 1153 of file apartment.c.
Referenced by CoUninitialize(), and dispatch_rpc().
| HRESULT marshal_object | ( | struct apartment * | apt, |
| STDOBJREF * | stdobjref, | ||
| REFIID | riid, | ||
| IUnknown * | object, | ||
| DWORD | dest_context, | ||
| void * | dest_context_data, | ||
| MSHLFLAGS | mshlflags | ||
| ) |
Definition at line 870 of file marshal.c.
Referenced by RemUnknown_RemQueryInterface(), start_apartment_remote_unknown(), and StdMarshalImpl_MarshalInterface().
Definition at line 353 of file combase.c.
Referenced by create_local_service(), and create_surrogate_server().
Definition at line 320 of file combase.c.
Referenced by CoGetTreatAsClass(), com_get_class_object(), create_server(), create_surrogate_server(), open_appidkey_from_clsid(), and ProgIDFromCLSID().
| HRESULT rpc_create_clientchannel | ( | const OXID * | oxid, |
| const IPID * | ipid, | ||
| const OXID_INFO * | oxid_info, | ||
| const IID * | iid, | ||
| DWORD | dest_context, | ||
| void * | dest_context_data, | ||
| IRpcChannelBuffer ** | chan, | ||
| struct apartment * | apt | ||
| ) |
Definition at line 1642 of file rpc.c.
Referenced by unmarshal_object().
| HRESULT rpc_create_serverchannel | ( | DWORD | dest_context, |
| void * | dest_context_data, | ||
| IRpcChannelBuffer ** | chan | ||
| ) |
Definition at line 1709 of file rpc.c.
Referenced by stub_manager_new_ifstub().
| void rpc_execute_call | ( | struct dispatch_params * | params | ) |
Definition at line 1874 of file rpc.c.
Referenced by apartment_wndproc(), and dispatch_rpc().
Definition at line 629 of file rpc.c.
Referenced by com_get_class_object().
| HRESULT rpc_register_channel_hook | ( | REFGUID | rguid, |
| IChannelHook * | hook | ||
| ) |
Definition at line 2086 of file rpc.c.
Referenced by marshal_object().
| HRESULT rpc_register_local_server | ( | REFCLSID | clsid, |
| IStream * | stream, | ||
| DWORD | flags, | ||
| unsigned int * | cookie | ||
| ) |
Definition at line 701 of file rpc.c.
Referenced by CoRegisterClassObject().
Definition at line 2165 of file rpc.c.
Referenced by proxy_manager_construct().
Definition at line 375 of file rpc.c.
Referenced by com_revoke_class_object().
Definition at line 2186 of file rpc.c.
Referenced by StdMarshalImpl_MarshalInterface().
Definition at line 2143 of file rpc.c.
Referenced by stub_manager_delete_ifstub(), and stub_manager_disconnect().
Definition at line 308 of file rpc.c.
Referenced by CoGetCurrentProcess().
Definition at line 838 of file stubmanager.c.
Referenced by rpc_start_remoting().
| void stub_manager_disconnect | ( | struct stub_manager * | m | ) |
Definition at line 242 of file stubmanager.c.
Referenced by CoDisconnectObject().
| ULONG stub_manager_ext_addref | ( | struct stub_manager * | m, |
| ULONG | refs, | ||
| BOOL | tableweak | ||
| ) |
Definition at line 406 of file stubmanager.c.
Referenced by CoLockObjectExternal(), marshal_object(), and RemUnknown_RemAddRef().
| ULONG stub_manager_ext_release | ( | struct stub_manager * | m, |
| ULONG | refs, | ||
| BOOL | tableweak, | ||
| BOOL | last_unlock_releases | ||
| ) |
Definition at line 437 of file stubmanager.c.
Referenced by CoLockObjectExternal(), marshal_object(), RemUnknown_RemRelease(), std_unmarshal_interface(), and stub_manager_release_marshal_data().
| struct ifstub * stub_manager_find_ifstub | ( | struct stub_manager * | m, |
| REFIID | iid, | ||
| MSHLFLAGS | flags | ||
| ) |
Definition at line 156 of file stubmanager.c.
Referenced by marshal_object().
| ULONG stub_manager_int_release | ( | struct stub_manager * | stub_manager | ) |
Definition at line 309 of file stubmanager.c.
Referenced by apartment_release(), CoDisconnectObject(), CoLockObjectExternal(), dispatch_rpc(), ipid_get_dest_context(), ipid_get_dispatch_params(), marshal_object(), RemUnknown_RemAddRef(), RemUnknown_RemQueryInterface(), RemUnknown_RemRelease(), std_release_marshal_data(), std_unmarshal_interface(), and stub_manager_ext_release().
| BOOL stub_manager_is_table_marshaled | ( | struct stub_manager * | m, |
| const IPID * | ipid | ||
| ) |
Definition at line 630 of file stubmanager.c.
Referenced by std_unmarshal_interface().
| struct ifstub * stub_manager_new_ifstub | ( | struct stub_manager * | m, |
| IRpcStubBuffer * | sb, | ||
| REFIID | iid, | ||
| DWORD | dest_context, | ||
| void * | dest_context_data, | ||
| MSHLFLAGS | flags | ||
| ) |
Definition at line 71 of file stubmanager.c.
Referenced by marshal_object().
| BOOL stub_manager_notify_unmarshal | ( | struct stub_manager * | m, |
| const IPID * | ipid | ||
| ) |
Definition at line 583 of file stubmanager.c.
Referenced by std_unmarshal_interface().
| void stub_manager_release_marshal_data | ( | struct stub_manager * | m, |
| ULONG | refs, | ||
| const IPID * | ipid, | ||
| BOOL | tableweak | ||
| ) |
Definition at line 614 of file stubmanager.c.
Referenced by std_release_marshal_data().