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

tmarshal.c File Reference
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <ctype.h>
#include "winerror.h"
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "winreg.h"
#include "winuser.h"
#include "ole2.h"
#include "propidl.h"
#include "typelib.h"
#include "variant.h"
#include "wine/debug.h"
#include "wine/exception.h"

Go to the source code of this file.

Data Structures

struct  marshal_state
struct  TMAsmProxy
struct  TMProxyImpl
struct  TMarshalDispatchChannel
struct  TMStubImpl

Defines

#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define ICOM_THIS_MULTI(impl, field, iface)   impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (ole)
 WINE_DECLARE_DEBUG_CHANNEL (olerelay)
static HRESULT TMarshalDispatchChannel_Create (IRpcChannelBuffer *pDelegateChannel, REFIID tmarshal_riid, IRpcChannelBuffer **ppChannel)
static charrelaystr (WCHAR *in)
static HRESULT xbuf_resize (marshal_state *buf, DWORD newsize)
static HRESULT xbuf_add (marshal_state *buf, const BYTE *stuff, DWORD size)
static HRESULT xbuf_get (marshal_state *buf, LPBYTE stuff, DWORD size)
static HRESULT xbuf_skip (marshal_state *buf, DWORD size)
static HRESULT _unmarshal_interface (marshal_state *buf, REFIID riid, LPUNKNOWN *pUnk)
static HRESULT _marshal_interface (marshal_state *buf, REFIID riid, LPUNKNOWN pUnk)
static HRESULT WINAPI PSFacBuf_QueryInterface (LPPSFACTORYBUFFER iface, REFIID iid, LPVOID *ppv)
static ULONG WINAPI PSFacBuf_AddRef (LPPSFACTORYBUFFER iface)
static ULONG WINAPI PSFacBuf_Release (LPPSFACTORYBUFFER iface)
static HRESULT _get_typeinfo_for_iid (REFIID riid, ITypeInfo **ti)
static HRESULT num_of_funcs (ITypeInfo *tinfo, unsigned int *num)
static HRESULT WINAPI TMProxyImpl_QueryInterface (LPRPCPROXYBUFFER iface, REFIID riid, LPVOID *ppv)
static ULONG WINAPI TMProxyImpl_AddRef (LPRPCPROXYBUFFER iface)
static ULONG WINAPI TMProxyImpl_Release (LPRPCPROXYBUFFER iface)
static HRESULT WINAPI TMProxyImpl_Connect (LPRPCPROXYBUFFER iface, IRpcChannelBuffer *pRpcChannelBuffer)
static void WINAPI TMProxyImpl_Disconnect (LPRPCPROXYBUFFER iface)
static int _argsize (TYPEDESC *tdesc, ITypeInfo *tinfo)
static int _xsize (const TYPEDESC *td, ITypeInfo *tinfo)
static HRESULT serialize_param (ITypeInfo *tinfo, BOOL writeit, BOOL debugout, BOOL dealloc, TYPEDESC *tdesc, DWORD *arg, marshal_state *buf)
static HRESULT deserialize_param (ITypeInfo *tinfo, BOOL readit, BOOL debugout, BOOL alloc, TYPEDESC *tdesc, DWORD *arg, marshal_state *buf)
static HRESULT get_funcdesc (ITypeInfo *tinfo, int iMethod, ITypeInfo **tactual, const FUNCDESC **fdesc, BSTR *iname, BSTR *fname, UINT *num)
static BOOL is_in_elem (const ELEMDESC *elem)
static BOOL is_out_elem (const ELEMDESC *elem)
static DWORD xCall (LPVOID retptr, int method, TMProxyImpl *tpinfo)
static HRESULT WINAPI ProxyIUnknown_QueryInterface (IUnknown *iface, REFIID riid, void **ppv)
static ULONG WINAPI ProxyIUnknown_AddRef (IUnknown *iface)
static ULONG WINAPI ProxyIUnknown_Release (IUnknown *iface)
static HRESULT WINAPI ProxyIDispatch_GetTypeInfoCount (LPDISPATCH iface, UINT *pctinfo)
static HRESULT WINAPI ProxyIDispatch_GetTypeInfo (LPDISPATCH iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI ProxyIDispatch_GetIDsOfNames (LPDISPATCH iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI ProxyIDispatch_Invoke (LPDISPATCH iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI TMarshalDispatchChannel_QueryInterface (LPRPCCHANNELBUFFER iface, REFIID riid, LPVOID *ppv)
static ULONG WINAPI TMarshalDispatchChannel_AddRef (LPRPCCHANNELBUFFER iface)
static ULONG WINAPI TMarshalDispatchChannel_Release (LPRPCCHANNELBUFFER iface)
static HRESULT WINAPI TMarshalDispatchChannel_GetBuffer (LPRPCCHANNELBUFFER iface, RPCOLEMESSAGE *olemsg, REFIID riid)
static HRESULT WINAPI TMarshalDispatchChannel_SendReceive (LPRPCCHANNELBUFFER iface, RPCOLEMESSAGE *olemsg, ULONG *pstatus)
static HRESULT WINAPI TMarshalDispatchChannel_FreeBuffer (LPRPCCHANNELBUFFER iface, RPCOLEMESSAGE *olemsg)
static HRESULT WINAPI TMarshalDispatchChannel_GetDestCtx (LPRPCCHANNELBUFFER iface, DWORD *pdwDestContext, void **ppvDestContext)
static HRESULT WINAPI TMarshalDispatchChannel_IsConnected (LPRPCCHANNELBUFFER iface)
static HRESULT get_facbuf_for_iid (REFIID riid, IPSFactoryBuffer **facbuf)
static HRESULT init_proxy_entry_point (TMProxyImpl *proxy, unsigned int num)
static HRESULT WINAPI PSFacBuf_CreateProxy (LPPSFACTORYBUFFER iface, IUnknown *pUnkOuter, REFIID riid, IRpcProxyBuffer **ppProxy, LPVOID *ppv)
static HRESULT WINAPI TMStubImpl_QueryInterface (LPRPCSTUBBUFFER iface, REFIID riid, LPVOID *ppv)
static ULONG WINAPI TMStubImpl_AddRef (LPRPCSTUBBUFFER iface)
static ULONG WINAPI TMStubImpl_Release (LPRPCSTUBBUFFER iface)
static HRESULT WINAPI TMStubImpl_Connect (LPRPCSTUBBUFFER iface, LPUNKNOWN pUnkServer)
static void WINAPI TMStubImpl_Disconnect (LPRPCSTUBBUFFER iface)
static HRESULT WINAPI TMStubImpl_Invoke (LPRPCSTUBBUFFER iface, RPCOLEMESSAGE *xmsg, IRpcChannelBuffer *rpcchanbuf)
static LPRPCSTUBBUFFER WINAPI TMStubImpl_IsIIDSupported (LPRPCSTUBBUFFER iface, REFIID riid)
static ULONG WINAPI TMStubImpl_CountRefs (LPRPCSTUBBUFFER iface)
static HRESULT WINAPI TMStubImpl_DebugServerQueryInterface (LPRPCSTUBBUFFER iface, LPVOID *ppv)
static void WINAPI TMStubImpl_DebugServerRelease (LPRPCSTUBBUFFER iface, LPVOID ppv)
static HRESULT WINAPI PSFacBuf_CreateStub (LPPSFACTORYBUFFER iface, REFIID riid, IUnknown *pUnkServer, IRpcStubBuffer **ppStub)
HRESULT TMARSHAL_DllGetClassObject (REFCLSID rclsid, REFIID iid, LPVOID *ppv)

Variables

static const WCHAR IDispatchW [] = { 'I','D','i','s','p','a','t','c','h',0}
static const IRpcProxyBufferVtbl tmproxyvtable
static const IRpcChannelBufferVtbl TMarshalDispatchChannelVtbl
static const IRpcStubBufferVtbl tmstubvtbl
static const IPSFactoryBufferVtbl psfacbufvtbl
static const IPSFactoryBufferVtbl * lppsfac = &psfacbufvtbl

Generated on Sat May 26 2012 05:15:08 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.