mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
Implement NDRCContextBinding()
svn path=/trunk/; revision=21408
This commit is contained in:
parent
50602379e8
commit
3fdda32084
3 changed files with 12 additions and 3 deletions
|
@ -41,6 +41,8 @@
|
|||
|
||||
#include "wine/debug.h"
|
||||
|
||||
#include "rpc_binding.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(ole);
|
||||
|
||||
#define BUFFER_PARANOIA 20
|
||||
|
@ -3292,6 +3294,6 @@ NDR_SCONTEXT WINAPI NdrServerContextNewUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
|
|||
|
||||
RPC_BINDING_HANDLE WINAPI NDRCContextBinding(NDR_CCONTEXT CContext)
|
||||
{
|
||||
FIXME("(%p): stub\n", CContext);
|
||||
return NULL;
|
||||
|
||||
return (RPC_BINDING_HANDLE)((CContextHandle*)CContext)->Binding;
|
||||
}
|
||||
|
|
|
@ -619,7 +619,7 @@ RPC_STATUS RPC_ENTRY RpcBindingCopy(
|
|||
|
||||
memcpy(DestBinding, SrcBinding, sizeof(RpcBinding));
|
||||
DestBinding->refs = 1;
|
||||
DestBinding->Next = NULL;
|
||||
DestBinding->Next = NULL; // FIXME: ?
|
||||
DestBinding->server = FALSE;
|
||||
DestBinding->Protseq = RPCRT4_strndupA(SrcBinding->Protseq, -1);
|
||||
DestBinding->NetworkAddr = RPCRT4_strndupA(SrcBinding->NetworkAddr, -1);
|
||||
|
|
|
@ -53,6 +53,13 @@ typedef struct _RpcBinding
|
|||
RpcConnection* FromConn;
|
||||
} RpcBinding;
|
||||
|
||||
|
||||
typedef struct _CContextHandle
|
||||
{
|
||||
RpcBinding *Binding;
|
||||
BYTE Ndr[20];
|
||||
} CContextHandle;
|
||||
|
||||
LPSTR RPCRT4_strndupA(LPCSTR src, INT len);
|
||||
LPWSTR RPCRT4_strndupW(LPWSTR src, INT len);
|
||||
LPSTR RPCRT4_strdupWtoA(LPWSTR src);
|
||||
|
|
Loading…
Reference in a new issue