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

rpc.c File Reference
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "winsvc.h"
#include "objbase.h"
#include "ole2.h"
#include "rpc.h"
#include "winerror.h"
#include "winreg.h"
#include "wine/unicode.h"
#include "compobj_private.h"
#include "wine/debug.h"

Go to the source code of this file.

Data Structures

struct  registered_if
struct  RpcChannelBuffer
struct  ClientRpcChannelBuffer
struct  dispatch_params
struct  message_state
struct  WIRE_ORPC_EXTENT
struct  WIRE_ORPC_EXTENT_ARRAY
struct  WIRE_ORPCTHIS
struct  WIRE_ORPCTHAT
struct  channel_hook_entry
struct  channel_hook_buffer_data
struct  local_server_params

Defines

#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (ole)
static void __RPC_STUB dispatch_rpc (RPC_MESSAGE *msg)
static void get_rpc_endpoint (LPWSTR endpoint, const OXID *oxid)
static HRESULT unmarshal_ORPCTHAT (RPC_MESSAGE *msg, ORPCTHAT *orpcthat, ORPC_EXTENT_ARRAY *orpc_ext_array, WIRE_ORPC_EXTENT **first_wire_orpc_extent)
static ULONG ChannelHooks_ClientGetSize (SChannelHookCallInfo *info, struct channel_hook_buffer_data **data, unsigned int *hook_count, ULONG *extension_count)
static unsigned charChannelHooks_ClientFillBuffer (SChannelHookCallInfo *info, unsigned char *buffer, struct channel_hook_buffer_data *data, unsigned int hook_count)
static void ChannelHooks_ServerNotify (SChannelHookCallInfo *info, DWORD lDataRep, WIRE_ORPC_EXTENT *first_wire_orpc_extent, ULONG extension_count)
static ULONG ChannelHooks_ServerGetSize (SChannelHookCallInfo *info, struct channel_hook_buffer_data **data, unsigned int *hook_count, ULONG *extension_count)
static unsigned charChannelHooks_ServerFillBuffer (SChannelHookCallInfo *info, unsigned char *buffer, struct channel_hook_buffer_data *data, unsigned int hook_count)
static void ChannelHooks_ClientNotify (SChannelHookCallInfo *info, DWORD lDataRep, WIRE_ORPC_EXTENT *first_wire_orpc_extent, ULONG extension_count, HRESULT hrFault)
HRESULT RPC_RegisterChannelHook (REFGUID rguid, IChannelHook *hook)
void RPC_UnregisterAllChannelHooks (void)
static HRESULT WINAPI RpcChannelBuffer_QueryInterface (LPRPCCHANNELBUFFER iface, REFIID riid, LPVOID *ppv)
static ULONG WINAPI RpcChannelBuffer_AddRef (LPRPCCHANNELBUFFER iface)
static ULONG WINAPI ServerRpcChannelBuffer_Release (LPRPCCHANNELBUFFER iface)
static ULONG WINAPI ClientRpcChannelBuffer_Release (LPRPCCHANNELBUFFER iface)
static HRESULT WINAPI ServerRpcChannelBuffer_GetBuffer (LPRPCCHANNELBUFFER iface, RPCOLEMESSAGE *olemsg, REFIID riid)
static HANDLE ClientRpcChannelBuffer_GetEventHandle (ClientRpcChannelBuffer *This)
static void ClientRpcChannelBuffer_ReleaseEventHandle (ClientRpcChannelBuffer *This, HANDLE event)
static HRESULT WINAPI ClientRpcChannelBuffer_GetBuffer (LPRPCCHANNELBUFFER iface, RPCOLEMESSAGE *olemsg, REFIID riid)
static HRESULT WINAPI ServerRpcChannelBuffer_SendReceive (LPRPCCHANNELBUFFER iface, RPCOLEMESSAGE *olemsg, ULONG *pstatus)
static DWORD WINAPI rpc_sendreceive_thread (LPVOID param)
static HRESULT ClientRpcChannelBuffer_IsCorrectApartment (ClientRpcChannelBuffer *This, APARTMENT *apt)
static HRESULT WINAPI ClientRpcChannelBuffer_SendReceive (LPRPCCHANNELBUFFER iface, RPCOLEMESSAGE *olemsg, ULONG *pstatus)
static HRESULT WINAPI ServerRpcChannelBuffer_FreeBuffer (LPRPCCHANNELBUFFER iface, RPCOLEMESSAGE *olemsg)
static HRESULT WINAPI ClientRpcChannelBuffer_FreeBuffer (LPRPCCHANNELBUFFER iface, RPCOLEMESSAGE *olemsg)
static HRESULT WINAPI ClientRpcChannelBuffer_GetDestCtx (LPRPCCHANNELBUFFER iface, DWORD *pdwDestContext, void **ppvDestContext)
static HRESULT WINAPI ServerRpcChannelBuffer_GetDestCtx (LPRPCCHANNELBUFFER iface, DWORD *pdwDestContext, void **ppvDestContext)
static HRESULT WINAPI RpcChannelBuffer_IsConnected (LPRPCCHANNELBUFFER iface)
HRESULT RPC_CreateClientChannel (const OXID *oxid, const IPID *ipid, const OXID_INFO *oxid_info, DWORD dest_context, void *dest_context_data, IRpcChannelBuffer **chan)
HRESULT RPC_CreateServerChannel (IRpcChannelBuffer **chan)
static HRESULT unmarshal_ORPC_EXTENT_ARRAY (RPC_MESSAGE *msg, const char *end, ORPC_EXTENT_ARRAY *extensions, WIRE_ORPC_EXTENT **first_wire_orpc_extent)
static HRESULT unmarshal_ORPCTHIS (RPC_MESSAGE *msg, ORPCTHIS *orpcthis, ORPC_EXTENT_ARRAY *orpc_ext_array, WIRE_ORPC_EXTENT **first_wire_orpc_extent)
void RPC_ExecuteCall (struct dispatch_params *params)
HRESULT RPC_RegisterInterface (REFIID riid)
void RPC_UnregisterInterface (REFIID riid)
HRESULT RPC_ResolveOxid (OXID oxid, OXID_INFO *oxid_info)
void RPC_StartRemoting (struct apartment *apt)
static HRESULT create_server (REFCLSID rclsid, HANDLE *process)
static DWORD start_local_service (LPCWSTR name, DWORD num, LPCWSTR *params)
static HRESULT create_local_service (REFCLSID rclsid)
static void get_localserver_pipe_name (WCHAR *pipefn, REFCLSID rclsid)
HRESULT RPC_GetLocalClassObject (REFCLSID rclsid, REFIID iid, LPVOID *ppv)
static DWORD WINAPI local_server_thread (LPVOID param)
HRESULT RPC_StartLocalServer (REFCLSID clsid, IStream *stream, BOOL multi_use, void **registration)
void RPC_StopLocalServer (void *registration)

Variables

static RPC_DISPATCH_FUNCTION rpc_dispatch_table [1] = { dispatch_rpc }
static RPC_DISPATCH_TABLE rpc_dispatch = { 1, rpc_dispatch_table }
static struct list registered_interfaces = LIST_INIT(registered_interfaces)
static CRITICAL_SECTION csRegIf = { &csRegIf_debug, -1, 0, 0, 0, 0 }
static CRITICAL_SECTION_DEBUG csRegIf_debug
static struct list channel_hooks = LIST_INIT(channel_hooks)
static CRITICAL_SECTION csChannelHook = { &csChannelHook_debug, -1, 0, 0, 0, 0 }
static CRITICAL_SECTION_DEBUG csChannelHook_debug
static WCHAR wszRpcTransport [] = {'n','c','a','l','r','p','c',0}
static const IRpcChannelBufferVtbl ClientRpcChannelBufferVtbl
static const IRpcChannelBufferVtbl ServerRpcChannelBufferVtbl

Generated on Sat May 26 2012 04:43:21 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.