ReactOS 0.4.16-dev-303-g11d5cb8
|
#include <stdarg.h>
#include "wine/list.h"
#include "wine/heap.h"
#include "windef.h"
#include "winbase.h"
#include "wtypes.h"
#include "dcom.h"
#include "winreg.h"
#include "winternl.h"
Go to the source code of this file.
Classes | |
struct | ifstub |
struct | stub_manager |
struct | ifproxy |
struct | apartment |
struct | init_spy |
struct | oletls |
Macros | |
#define | MSHLFLAGSP_REMUNKNOWN 0x80000000 |
#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 | DEBUG_SET_CRITSEC_NAME(cs, name) (cs)->DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": " name) |
#define | DEBUG_CLEAR_CRITSEC_NAME(cs) (cs)->DebugInfo->Spare[0] = 0 |
#define | CHARS_IN_GUID 39 /* including NULL */ |
#define | WINE_CLSCTX_DONT_HOST 0x80000000 |
Typedefs | |
typedef struct apartment | APARTMENT |
typedef struct LocalServer | LocalServer |
typedef enum ifstub_state | STUB_STATE |
Enumerations | |
enum | ifstub_state { STUBSTATE_NORMAL_MARSHALED , STUBSTATE_NORMAL_UNMARSHALED , STUBSTATE_TABLE_WEAK_MARSHALED , STUBSTATE_TABLE_WEAK_UNMARSHALED , STUBSTATE_TABLE_STRONG } |
Variables | |
HINSTANCE hProxyDll | DECLSPEC_HIDDEN |
Definition at line 303 of file compobj_private.h.
Definition at line 301 of file compobj_private.h.
#define DEBUG_SET_CRITSEC_NAME | ( | cs, | |
name | |||
) | (cs)->DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": " name) |
Definition at line 300 of file compobj_private.h.
Definition at line 263 of file compobj_private.h.
Definition at line 264 of file compobj_private.h.
#define MSHLFLAGSP_REMUNKNOWN 0x80000000 |
Definition at line 49 of file compobj_private.h.
#define WINE_CLSCTX_DONT_HOST 0x80000000 |
Definition at line 305 of file compobj_private.h.
Definition at line 43 of file compobj_private.h.
typedef struct LocalServer LocalServer |
Definition at line 44 of file compobj_private.h.
typedef enum ifstub_state STUB_STATE |
Enumerator | |
---|---|
STUBSTATE_NORMAL_MARSHALED | |
STUBSTATE_NORMAL_UNMARSHALED | |
STUBSTATE_TABLE_WEAK_MARSHALED | |
STUBSTATE_TABLE_WEAK_UNMARSHALED | |
STUBSTATE_TABLE_STRONG |
Definition at line 64 of file compobj_private.h.
Definition at line 254 of file compobj.c.
Referenced by OleRegGetMiscStatus().
Definition at line 1704 of file compobj.c.
Referenced by apartment_get_or_create(), apartment_hostobject_thread(), and marshal_object().
Definition at line 1226 of file marshal.c.
Referenced by apartment_release().
Definition at line 1276 of file compobj.c.
Referenced by ipid_to_ifstub(), std_release_marshal_data(), and std_unmarshal_interface().
Definition at line 1300 of file compobj.c.
Referenced by ipid_to_ifstub().
Definition at line 742 of file compobj.c.
Referenced by ClientIdentity_QueryMultipleInterfaces(), ClientRpcChannelBuffer_SendReceive(), CoCreateInstanceEx(), CoDisconnectObject(), CoGetClassObject(), CoGetContextToken(), CoGetPSClsid(), CoLockObjectExternal(), CoRegisterClassObject(), CoRegisterPSClsid(), CoRevokeClassObject(), proxy_manager_get_remunknown(), std_unmarshal_interface(), and StdMarshalImpl_MarshalInterface().
Definition at line 251 of file compobj_private.h.
Referenced by ClientRpcChannelBuffer_IsCorrectApartment(), marshal_object(), RPC_CreateClientChannel(), and std_unmarshal_interface().
Definition at line 1733 of file compobj.c.
Referenced by apartment_hostobject_in_hostapt(), apartment_hostobject_thread(), ClientRpcChannelBuffer_GetBuffer(), and dispatch_rpc().
Definition at line 1172 of file compobj.c.
Referenced by apartment_hostobject_in_hostapt(), ClientIdentity_QueryMultipleInterfaces(), ClientRpcChannelBuffer_GetBuffer(), ClientRpcChannelBuffer_SendReceive(), CoCreateInstanceEx(), CoDisconnectObject(), CoGetApartmentType(), CoGetClassObject(), CoGetContextToken(), CoGetPSClsid(), CoLockObjectExternal(), COM_TlsDestroy(), CoRegisterClassObject(), CoRegisterPSClsid(), CoRevokeClassObject(), dispatch_rpc(), 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 284 of file compobj_private.h.
Referenced by apartment_get_current_or_mta(), apartment_get_or_create(), apartment_hostobject_thread(), apartment_wndproc(), CoFreeUnusedLibrariesEx(), CoRegisterMessageFilter(), CoWaitForMultipleHandles(), LocalServer_QueryService(), RegisterDragDrop(), and RPC_ExecuteCall().
Definition at line 289 of file compobj_private.h.
Referenced by ClientRpcChannelBuffer_GetBuffer(), and CoGetCurrentLogicalThreadId().
Definition at line 271 of file compobj_private.h.
Referenced by apartment_get_or_create(), ClientRpcChannelBuffer_SendReceive(), CoGetApartmentType(), CoGetCallContext(), CoGetContextToken(), CoGetState(), CoInitializeEx(), COM_CurrentApt(), COM_CurrentCausalityId(), CoRegisterInitializeSpy(), CoRevokeInitializeSpy(), CoSetState(), CoSwitchCallContext(), CoUninitialize(), CoWaitForMultipleHandles(), dispatch_rpc(), get_ole_clipbrd(), GetErrorInfo(), OleInitialize(), OleUninitialize(), RPC_ExecuteCall(), and SetErrorInfo().
Definition at line 2480 of file compobj.c.
Referenced by create_local_service().
Definition at line 2448 of file compobj.c.
Referenced by CoGetClassObject(), CoGetTreatAsClass(), COM_OpenKeyForAppIdFromCLSID(), CoTreatAsClass(), create_server(), Handler_DllGetClassObject(), OleGetAutoConvert(), OleRegEnumVerbs(), OleRegGetMiscStatus(), OleRegGetUserType(), OleSetAutoConvert(), and ProgIDFromCLSID().
Definition at line 343 of file compobj_private.h.
Referenced by copy_statdata(), DataCache_EnumCache(), init_cache_entry(), and OLEClipbrd_IEnumFORMATETC_Next().
Definition at line 402 of file compobj.c.
Referenced by COMCAT_ICatRegister_RegisterCategories(), COMCAT_RegisterClassCategories(), and get_classes_root_hkey().
HRESULT DataAdviseHolder_OnConnect | ( | IDataAdviseHolder * | iface, |
IDataObject * | pDelegate | ||
) |
Definition at line 806 of file oleobj.c.
Referenced by DefaultHandler_DAdvise(), and DefaultHandler_Run().
void DataAdviseHolder_OnDisconnect | ( | IDataAdviseHolder * | iface | ) |
Definition at line 828 of file oleobj.c.
Referenced by DefaultHandler_Stop().
Definition at line 216 of file datacache.c.
Referenced by add_cache_entry(), DataCache_Cache(), DataCache_GetData(), DataCache_IOleCache2_SetData(), DataCache_OnDataChange(), DataCache_QueryGetData(), DataCacheEntry_Save(), and OleCreateFromFileEx().
DEFINE_OLEGUID | ( | CLSID_DfMarshal | , |
0x0000030b | , | ||
0 | , | ||
0 | |||
) |
Definition at line 1913 of file compobj.c.
Referenced by CoInitializeEx(), and dispatch_rpc().
HRESULT EnumSTATDATA_Construct | ( | IUnknown * | holder, |
ULONG | index, | ||
DWORD | array_len, | ||
STATDATA * | data, | ||
BOOL | copy, | ||
IEnumSTATDATA ** | ppenum | ||
) |
Definition at line 197 of file oleobj.c.
Referenced by DataAdviseHolder_EnumAdvise(), DataCache_EnumCache(), EnumSTATDATA_Clone(), and OleAdviseHolderImpl_EnumAdvise().
Definition at line 411 of file ftmarshal.c.
Referenced by CoGetClassObject().
IGlobalInterfaceTable * get_std_git | ( | void | ) |
Definition at line 362 of file git.c.
Referenced by CoCreateInstanceEx(), and GITCF_CreateInstance().
struct stub_manager * get_stub_manager | ( | APARTMENT * | apt, |
OID | oid | ||
) |
Definition at line 380 of file stubmanager.c.
Referenced by std_release_marshal_data(), and std_unmarshal_interface().
struct stub_manager * get_stub_manager_from_object | ( | APARTMENT * | apt, |
IUnknown * | object, | ||
BOOL | alloc | ||
) |
Definition at line 337 of file stubmanager.c.
Referenced by CoDisconnectObject(), CoLockObjectExternal(), and marshal_object().
HRESULT WINAPI GlobalOptions_CreateInstance | ( | IClassFactory * | iface, |
IUnknown * | pUnk, | ||
REFIID | riid, | ||
void ** | ppv | ||
) |
Definition at line 5351 of file compobj.c.
Definition at line 5167 of file compobj.c.
Referenced by DllGetClassObject().
Definition at line 2358 of file defaulthandler.c.
Referenced by Handler_DllGetClassObject().
HRESULT ipid_get_dispatch_params | ( | const IPID * | ipid, |
APARTMENT ** | stub_apt, | ||
struct stub_manager ** | manager, | ||
IRpcStubBuffer ** | stub, | ||
IRpcChannelBuffer ** | chan, | ||
IID * | iid, | ||
IUnknown ** | iface | ||
) |
Definition at line 533 of file stubmanager.c.
Referenced by ClientRpcChannelBuffer_GetBuffer(), and dispatch_rpc().
Definition at line 1937 of file compobj.c.
Referenced by CoUninitialize(), and dispatch_rpc().
HRESULT marshal_object | ( | APARTMENT * | apt, |
STDOBJREF * | stdobjref, | ||
REFIID | riid, | ||
IUnknown * | obj, | ||
DWORD | dest_context, | ||
void * | dest_context_data, | ||
MSHLFLAGS | mshlflags | ||
) |
Definition at line 121 of file marshal.c.
Referenced by RemUnknown_RemQueryInterface(), start_apartment_remote_unknown(), and StdMarshalImpl_MarshalInterface().
Referenced by DllGetClassObject().
Referenced by DllRegisterServer().
Referenced by DllUnregisterServer().
Definition at line 420 of file compobj.c.
Referenced by CATIDEnumGUID_Clone(), CATIDEnumGUID_Construct(), clsid_from_string_reg(), CLSIDEnumGUID_Clone(), CLSIDEnumGUID_Construct(), CLSIDEnumGUID_Next(), COM_OpenKeyForAppIdFromCLSID(), COM_OpenKeyForCLSID(), COMCAT_ICatInformation_GetCategoryDesc(), COMCAT_ICatInformation_IsClassOfCategories(), COMCAT_ICatRegister_UnRegisterCategories(), COMCAT_IEnumCATEGORYINFO_Clone(), COMCAT_IEnumCATEGORYINFO_Next(), COMCAT_IsClassOfCategories(), COMCAT_UnRegisterClassCategories(), EnumCATEGORYINFO_Construct(), get_ps_clsid_from_registry(), OLECONVERT_CreateCompObjStream(), and OleRegGetMiscStatus().
Definition at line 386 of file git.c.
Referenced by DllMain().
HRESULT RPC_CreateClientChannel | ( | const OXID * | oxid, |
const IPID * | ipid, | ||
const OXID_INFO * | oxid_info, | ||
const IID * | iid, | ||
DWORD | dest_context, | ||
void * | dest_context_data, | ||
IRpcChannelBuffer ** | chan, | ||
APARTMENT * | apt | ||
) |
Definition at line 1095 of file rpc.c.
Referenced by unmarshal_object().
HRESULT RPC_CreateServerChannel | ( | DWORD | dest_context, |
void * | dest_context_data, | ||
IRpcChannelBuffer ** | chan | ||
) |
Definition at line 1162 of file rpc.c.
Referenced by stub_manager_new_ifstub().
void RPC_ExecuteCall | ( | struct dispatch_params * | params | ) |
Definition at line 1327 of file rpc.c.
Referenced by apartment_wndproc(), and dispatch_rpc().
Definition at line 1804 of file rpc.c.
Referenced by CoGetClassObject().
HRESULT RPC_RegisterChannelHook | ( | REFGUID | rguid, |
IChannelHook * | hook | ||
) |
Definition at line 1530 of file rpc.c.
Referenced by marshal_object().
Definition at line 1609 of file rpc.c.
Referenced by proxy_manager_construct().
HRESULT RPC_StartLocalServer | ( | REFCLSID | clsid, |
IStream * | stream, | ||
BOOL | multi_use, | ||
void ** | registration | ||
) |
Definition at line 1996 of file rpc.c.
Referenced by CoRegisterClassObject().
Definition at line 1630 of file rpc.c.
Referenced by StdMarshalImpl_MarshalInterface().
Definition at line 2044 of file rpc.c.
Referenced by COM_RevokeRegisteredClassObject().
Definition at line 1587 of file rpc.c.
Referenced by stub_manager_delete_ifstub(), and stub_manager_disconnect().
Definition at line 979 of file moniker.c.
Referenced by CoInitializeEx().
Definition at line 1007 of file moniker.c.
Referenced by CoUninitialize().
Definition at line 818 of file stubmanager.c.
Referenced by RPC_StartRemoting().
void stub_manager_disconnect | ( | struct stub_manager * | m | ) |
Definition at line 244 of file stubmanager.c.
Referenced by CoDisconnectObject().
ULONG stub_manager_ext_addref | ( | struct stub_manager * | m, |
ULONG | refs, | ||
BOOL | tableweak | ||
) |
Definition at line 408 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 439 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 158 of file stubmanager.c.
Referenced by marshal_object().
ULONG stub_manager_int_release | ( | struct stub_manager * | This | ) |
Definition at line 311 of file stubmanager.c.
Referenced by apartment_release(), CoDisconnectObject(), CoLockObjectExternal(), dispatch_rpc(), 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 609 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 70 of file stubmanager.c.
Referenced by marshal_object().
BOOL stub_manager_notify_unmarshal | ( | struct stub_manager * | m, |
const IPID * | ipid | ||
) |
Definition at line 562 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 593 of file stubmanager.c.
Referenced by std_release_marshal_data().
|
extern |
Definition at line 318 of file compobj_private.h.