ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

marshal.c File Reference
#include <stdarg.h>
#include <string.h>
#include <assert.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "objbase.h"
#include "ole2.h"
#include "winerror.h"
#include "wine/unicode.h"
#include "compobj_private.h"
#include "wine/debug.h"

Go to the source code of this file.

Data Structures

struct  proxy_manager
struct  StdMarshalImpl

Defines

#define COBJMACROS
#define NORMALEXTREFS   5
#define SORFP_TABLEWEAK   SORF_OXRES1
#define SORFP_NOLIFETIMEMGMT   SORF_OXRES2

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (ole)
static struct proxy_managerimpl_from_IMarshal (IMarshal *iface)
static struct proxy_managerimpl_from_IClientSecurity (IClientSecurity *iface)
static HRESULT unmarshal_object (const STDOBJREF *stdobjref, APARTMENT *apt, MSHCTX dest_context, void *dest_context_data, REFIID riid, const OXID_INFO *oxid_info, void **object)
static HRESULT get_facbuf_for_iid (REFIID riid, IPSFactoryBuffer **facbuf)
HRESULT marshal_object (APARTMENT *apt, STDOBJREF *stdobjref, REFIID riid, IUnknown *object, MSHLFLAGS mshlflags)
static HRESULT proxy_manager_get_remunknown (struct proxy_manager *This, IRemUnknown **remunk)
static void proxy_manager_destroy (struct proxy_manager *This)
static HRESULT proxy_manager_find_ifproxy (struct proxy_manager *This, REFIID riid, struct ifproxy **ifproxy_found)
static HRESULT proxy_manager_query_local_interface (struct proxy_manager *This, REFIID riid, void **ppv)
static HRESULT WINAPI ClientIdentity_QueryInterface (IMultiQI *iface, REFIID riid, void **ppv)
static ULONG WINAPI ClientIdentity_AddRef (IMultiQI *iface)
static ULONG WINAPI ClientIdentity_Release (IMultiQI *iface)
static HRESULT WINAPI ClientIdentity_QueryMultipleInterfaces (IMultiQI *iface, ULONG cMQIs, MULTI_QI *pMQIs)
static HRESULT WINAPI StdMarshalImpl_GetUnmarshalClass (LPMARSHAL iface, REFIID riid, void *pv, DWORD dwDestContext, void *pvDestContext, DWORD mshlflags, CLSID *pCid)
static HRESULT WINAPI StdMarshalImpl_GetMarshalSizeMax (LPMARSHAL iface, REFIID riid, void *pv, DWORD dwDestContext, void *pvDestContext, DWORD mshlflags, DWORD *pSize)
static HRESULT WINAPI StdMarshalImpl_UnmarshalInterface (LPMARSHAL iface, IStream *pStm, REFIID riid, void **ppv)
static HRESULT WINAPI StdMarshalImpl_ReleaseMarshalData (LPMARSHAL iface, IStream *pStm)
static HRESULT WINAPI StdMarshalImpl_DisconnectObject (LPMARSHAL iface, DWORD dwReserved)
static HRESULT WINAPI Proxy_QueryInterface (IMarshal *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI Proxy_AddRef (IMarshal *iface)
static ULONG WINAPI Proxy_Release (IMarshal *iface)
static HRESULT WINAPI Proxy_MarshalInterface (LPMARSHAL iface, IStream *pStm, REFIID riid, void *pv, DWORD dwDestContext, void *pvDestContext, DWORD mshlflags)
static HRESULT WINAPI ProxyCliSec_QueryInterface (IClientSecurity *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI ProxyCliSec_AddRef (IClientSecurity *iface)
static ULONG WINAPI ProxyCliSec_Release (IClientSecurity *iface)
static HRESULT WINAPI ProxyCliSec_QueryBlanket (IClientSecurity *iface, IUnknown *pProxy, DWORD *pAuthnSvc, DWORD *pAuthzSvc, OLECHAR **ppServerPrincName, DWORD *pAuthnLevel, DWORD *pImpLevel, void **pAuthInfo, DWORD *pCapabilities)
static HRESULT WINAPI ProxyCliSec_SetBlanket (IClientSecurity *iface, IUnknown *pProxy, DWORD AuthnSvc, DWORD AuthzSvc, OLECHAR *pServerPrincName, DWORD AuthnLevel, DWORD ImpLevel, void *pAuthInfo, DWORD Capabilities)
static HRESULT WINAPI ProxyCliSec_CopyProxy (IClientSecurity *iface, IUnknown *pProxy, IUnknown **ppCopy)
static HRESULT ifproxy_get_public_ref (struct ifproxy *This)
static HRESULT ifproxy_release_public_refs (struct ifproxy *This)
static void ifproxy_disconnect (struct ifproxy *This)
static void ifproxy_destroy (struct ifproxy *This)
static HRESULT proxy_manager_construct (APARTMENT *apt, ULONG sorflags, OXID oxid, OID oid, const OXID_INFO *oxid_info, struct proxy_manager **proxy_manager)
static void proxy_manager_set_context (struct proxy_manager *This, MSHCTX dest_context, void *dest_context_data)
static HRESULT proxy_manager_create_ifproxy (struct proxy_manager *This, const STDOBJREF *stdobjref, REFIID riid, IRpcChannelBuffer *channel, struct ifproxy **iif_out)
static void proxy_manager_disconnect (struct proxy_manager *This)
static BOOL find_proxy_manager (APARTMENT *apt, OXID oxid, OID oid, struct proxy_manager **proxy_found)
HRESULT apartment_disconnectproxies (struct apartment *apt)
static HRESULT WINAPI StdMarshalImpl_QueryInterface (LPMARSHAL iface, REFIID riid, LPVOID *ppv)
static ULONG WINAPI StdMarshalImpl_AddRef (LPMARSHAL iface)
static ULONG WINAPI StdMarshalImpl_Release (LPMARSHAL iface)
static HRESULT WINAPI StdMarshalImpl_MarshalInterface (LPMARSHAL iface, IStream *pStm, REFIID riid, void *pv, DWORD dwDestContext, void *pvDestContext, DWORD mshlflags)
static HRESULT StdMarshalImpl_Construct (REFIID riid, void **ppvObject)
HRESULT WINAPI CoGetStandardMarshal (REFIID riid, IUnknown *pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags, LPMARSHAL *ppMarshal)
static HRESULT get_marshaler (REFIID riid, IUnknown *pUnk, DWORD dwDestContext, void *pvDestContext, DWORD mshlFlags, LPMARSHAL *pMarshal)
static HRESULT get_unmarshaler_from_stream (IStream *stream, IMarshal **marshal, IID *iid)
HRESULT WINAPI CoGetMarshalSizeMax (ULONG *pulSize, REFIID riid, IUnknown *pUnk, DWORD dwDestContext, void *pvDestContext, DWORD mshlFlags)
static void dump_MSHLFLAGS (MSHLFLAGS flags)
HRESULT WINAPI CoMarshalInterface (IStream *pStream, REFIID riid, IUnknown *pUnk, DWORD dwDestContext, void *pvDestContext, DWORD mshlFlags)
HRESULT WINAPI CoUnmarshalInterface (IStream *pStream, REFIID riid, LPVOID *ppv)
HRESULT WINAPI CoReleaseMarshalData (IStream *pStream)
HRESULT WINAPI CoMarshalInterThreadInterfaceInStream (REFIID riid, LPUNKNOWN pUnk, LPSTREAM *ppStm)
HRESULT WINAPI CoGetInterfaceAndReleaseStream (LPSTREAM pStm, REFIID riid, LPVOID *ppv)
static HRESULT WINAPI StdMarshalCF_QueryInterface (LPCLASSFACTORY iface, REFIID riid, LPVOID *ppv)
static ULONG WINAPI StdMarshalCF_AddRef (LPCLASSFACTORY iface)
static ULONG WINAPI StdMarshalCF_Release (LPCLASSFACTORY iface)
static HRESULT WINAPI StdMarshalCF_CreateInstance (LPCLASSFACTORY iface, LPUNKNOWN pUnk, REFIID riid, LPVOID *ppv)
static HRESULT WINAPI StdMarshalCF_LockServer (LPCLASSFACTORY iface, BOOL fLock)
HRESULT MARSHAL_GetStandardMarshalCF (LPVOID *ppv)
HRESULT WINAPI CoMarshalHresult (LPSTREAM pStm, HRESULT hresult)
HRESULT WINAPI CoUnmarshalHresult (LPSTREAM pStm, HRESULT *phresult)

Variables

const CLSID CLSID_DfMarshal
static const IMultiQIVtbl ClientIdentity_Vtbl
static const IMarshalVtbl ProxyMarshal_Vtbl
static const IClientSecurityVtbl ProxyCliSec_Vtbl
static const IMarshalVtbl VT_StdMarshal
static const IClassFactoryVtbl StdMarshalCFVtbl
static const IClassFactoryVtbl * StdMarshalCF = &StdMarshalCFVtbl

Generated on Sat May 26 2012 05:14:41 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.