FreeRDP
winpr/libwinpr/rpc/rpc.c File Reference
#include <winpr/crt.h>
#include <winpr/rpc.h>
#include <winpr/crypto.h>
#include "../log.h"

Macros

#define TAG   WINPR_TAG("rpc")
 

Functions

RPC_STATUS RpcBindingCopy (RPC_BINDING_HANDLE SourceBinding, RPC_BINDING_HANDLE *DestinationBinding)
 
RPC_STATUS RpcBindingFree (RPC_BINDING_HANDLE *Binding)
 
RPC_STATUS RpcBindingSetOption (RPC_BINDING_HANDLE hBinding, unsigned long option, ULONG_PTR optionValue)
 
RPC_STATUS RpcBindingInqOption (RPC_BINDING_HANDLE hBinding, unsigned long option, ULONG_PTR *pOptionValue)
 
RPC_STATUS RpcBindingFromStringBindingA (RPC_CSTR StringBinding, RPC_BINDING_HANDLE *Binding)
 
RPC_STATUS RpcBindingFromStringBindingW (RPC_WSTR StringBinding, RPC_BINDING_HANDLE *Binding)
 
RPC_STATUS RpcSsGetContextBinding (void *ContextHandle, RPC_BINDING_HANDLE *Binding)
 
RPC_STATUS RpcBindingInqObject (RPC_BINDING_HANDLE Binding, UUID *ObjectUuid)
 
RPC_STATUS RpcBindingReset (RPC_BINDING_HANDLE Binding)
 
RPC_STATUS RpcBindingSetObject (RPC_BINDING_HANDLE Binding, UUID *ObjectUuid)
 
RPC_STATUS RpcMgmtInqDefaultProtectLevel (unsigned long AuthnSvc, unsigned long *AuthnLevel)
 
RPC_STATUS RpcBindingToStringBindingA (RPC_BINDING_HANDLE Binding, RPC_CSTR *StringBinding)
 
RPC_STATUS RpcBindingToStringBindingW (RPC_BINDING_HANDLE Binding, RPC_WSTR *StringBinding)
 
RPC_STATUS RpcBindingVectorFree (RPC_BINDING_VECTOR **BindingVector)
 
RPC_STATUS RpcStringBindingComposeA (RPC_CSTR ObjUuid, RPC_CSTR Protseq, RPC_CSTR NetworkAddr, RPC_CSTR Endpoint, RPC_CSTR Options, RPC_CSTR *StringBinding)
 
RPC_STATUS RpcStringBindingComposeW (RPC_WSTR ObjUuid, RPC_WSTR Protseq, RPC_WSTR NetworkAddr, RPC_WSTR Endpoint, RPC_WSTR Options, RPC_WSTR *StringBinding)
 
RPC_STATUS RpcStringBindingParseA (RPC_CSTR StringBinding, RPC_CSTR *ObjUuid, RPC_CSTR *Protseq, RPC_CSTR *NetworkAddr, RPC_CSTR *Endpoint, RPC_CSTR *NetworkOptions)
 
RPC_STATUS RpcStringBindingParseW (RPC_WSTR StringBinding, RPC_WSTR *ObjUuid, RPC_WSTR *Protseq, RPC_WSTR *NetworkAddr, RPC_WSTR *Endpoint, RPC_WSTR *NetworkOptions)
 
RPC_STATUS RpcStringFreeA (RPC_CSTR *String)
 
RPC_STATUS RpcStringFreeW (RPC_WSTR *String)
 
RPC_STATUS RpcIfInqId (RPC_IF_HANDLE RpcIfHandle, RPC_IF_ID *RpcIfId)
 
RPC_STATUS RpcNetworkIsProtseqValidA (RPC_CSTR Protseq)
 
RPC_STATUS RpcNetworkIsProtseqValidW (RPC_WSTR Protseq)
 
RPC_STATUS RpcMgmtInqComTimeout (RPC_BINDING_HANDLE Binding, unsigned int *Timeout)
 
RPC_STATUS RpcMgmtSetComTimeout (RPC_BINDING_HANDLE Binding, unsigned int Timeout)
 
RPC_STATUS RpcMgmtSetCancelTimeout (long Timeout)
 
RPC_STATUS RpcNetworkInqProtseqsA (RPC_PROTSEQ_VECTORA **ProtseqVector)
 
RPC_STATUS RpcNetworkInqProtseqsW (RPC_PROTSEQ_VECTORW **ProtseqVector)
 
RPC_STATUS RpcObjectInqType (UUID *ObjUuid, UUID *TypeUuid)
 
RPC_STATUS RpcObjectSetInqFn (RPC_OBJECT_INQ_FN *InquiryFn)
 
RPC_STATUS RpcObjectSetType (UUID *ObjUuid, UUID *TypeUuid)
 
RPC_STATUS RpcProtseqVectorFreeA (RPC_PROTSEQ_VECTORA **ProtseqVector)
 
RPC_STATUS RpcProtseqVectorFreeW (RPC_PROTSEQ_VECTORW **ProtseqVector)
 
RPC_STATUS RpcServerInqBindings (RPC_BINDING_VECTOR **BindingVector)
 
RPC_STATUS RpcServerInqIf (RPC_IF_HANDLE IfSpec, UUID *MgrTypeUuid, RPC_MGR_EPV **MgrEpv)
 
RPC_STATUS RpcServerListen (unsigned int MinimumCallThreads, unsigned int MaxCalls, unsigned int DontWait)
 
RPC_STATUS RpcServerRegisterIf (RPC_IF_HANDLE IfSpec, UUID *MgrTypeUuid, RPC_MGR_EPV *MgrEpv)
 
RPC_STATUS RpcServerRegisterIfEx (RPC_IF_HANDLE IfSpec, UUID *MgrTypeUuid, RPC_MGR_EPV *MgrEpv, unsigned int Flags, unsigned int MaxCalls, RPC_IF_CALLBACK_FN *IfCallback)
 
RPC_STATUS RpcServerRegisterIf2 (RPC_IF_HANDLE IfSpec, UUID *MgrTypeUuid, RPC_MGR_EPV *MgrEpv, unsigned int Flags, unsigned int MaxCalls, unsigned int MaxRpcSize, RPC_IF_CALLBACK_FN *IfCallbackFn)
 
RPC_STATUS RpcServerUnregisterIf (RPC_IF_HANDLE IfSpec, UUID *MgrTypeUuid, unsigned int WaitForCallsToComplete)
 
RPC_STATUS RpcServerUnregisterIfEx (RPC_IF_HANDLE IfSpec, UUID *MgrTypeUuid, int RundownContextHandles)
 
RPC_STATUS RpcServerUseAllProtseqs (unsigned int MaxCalls, void *SecurityDescriptor)
 
RPC_STATUS RpcServerUseAllProtseqsEx (unsigned int MaxCalls, void *SecurityDescriptor, PRPC_POLICY Policy)
 
RPC_STATUS RpcServerUseAllProtseqsIf (unsigned int MaxCalls, RPC_IF_HANDLE IfSpec, void *SecurityDescriptor)
 
RPC_STATUS RpcServerUseAllProtseqsIfEx (unsigned int MaxCalls, RPC_IF_HANDLE IfSpec, void *SecurityDescriptor, PRPC_POLICY Policy)
 
RPC_STATUS RpcServerUseProtseqA (RPC_CSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor)
 
RPC_STATUS RpcServerUseProtseqExA (RPC_CSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor, PRPC_POLICY Policy)
 
RPC_STATUS RpcServerUseProtseqW (RPC_WSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor)
 
RPC_STATUS RpcServerUseProtseqExW (RPC_WSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor, PRPC_POLICY Policy)
 
RPC_STATUS RpcServerUseProtseqEpA (RPC_CSTR Protseq, unsigned int MaxCalls, RPC_CSTR Endpoint, void *SecurityDescriptor)
 
RPC_STATUS RpcServerUseProtseqEpExA (RPC_CSTR Protseq, unsigned int MaxCalls, RPC_CSTR Endpoint, void *SecurityDescriptor, PRPC_POLICY Policy)
 
RPC_STATUS RpcServerUseProtseqEpW (RPC_WSTR Protseq, unsigned int MaxCalls, RPC_WSTR Endpoint, void *SecurityDescriptor)
 
RPC_STATUS RpcServerUseProtseqEpExW (RPC_WSTR Protseq, unsigned int MaxCalls, RPC_WSTR Endpoint, void *SecurityDescriptor, PRPC_POLICY Policy)
 
RPC_STATUS RpcServerUseProtseqIfA (RPC_CSTR Protseq, unsigned int MaxCalls, RPC_IF_HANDLE IfSpec, void *SecurityDescriptor)
 
RPC_STATUS RpcServerUseProtseqIfExA (RPC_CSTR Protseq, unsigned int MaxCalls, RPC_IF_HANDLE IfSpec, void *SecurityDescriptor, PRPC_POLICY Policy)
 
RPC_STATUS RpcServerUseProtseqIfW (RPC_WSTR Protseq, unsigned int MaxCalls, RPC_IF_HANDLE IfSpec, void *SecurityDescriptor)
 
RPC_STATUS RpcServerUseProtseqIfExW (RPC_WSTR Protseq, unsigned int MaxCalls, RPC_IF_HANDLE IfSpec, void *SecurityDescriptor, PRPC_POLICY Policy)
 
void RpcServerYield ()
 
RPC_STATUS RpcMgmtStatsVectorFree (RPC_STATS_VECTOR **StatsVector)
 
RPC_STATUS RpcMgmtInqStats (RPC_BINDING_HANDLE Binding, RPC_STATS_VECTOR **Statistics)
 
RPC_STATUS RpcMgmtIsServerListening (RPC_BINDING_HANDLE Binding)
 
RPC_STATUS RpcMgmtStopServerListening (RPC_BINDING_HANDLE Binding)
 
RPC_STATUS RpcMgmtWaitServerListen (void)
 
RPC_STATUS RpcMgmtSetServerStackSize (unsigned long ThreadStackSize)
 
void RpcSsDontSerializeContext (void)
 
RPC_STATUS RpcMgmtEnableIdleCleanup (void)
 
RPC_STATUS RpcMgmtInqIfIds (RPC_BINDING_HANDLE Binding, RPC_IF_ID_VECTOR **IfIdVector)
 
RPC_STATUS RpcIfIdVectorFree (RPC_IF_ID_VECTOR **IfIdVector)
 
RPC_STATUS RpcMgmtInqServerPrincNameA (RPC_BINDING_HANDLE Binding, unsigned long AuthnSvc, RPC_CSTR *ServerPrincName)
 
RPC_STATUS RpcMgmtInqServerPrincNameW (RPC_BINDING_HANDLE Binding, unsigned long AuthnSvc, RPC_WSTR *ServerPrincName)
 
RPC_STATUS RpcServerInqDefaultPrincNameA (unsigned long AuthnSvc, RPC_CSTR *PrincName)
 
RPC_STATUS RpcServerInqDefaultPrincNameW (unsigned long AuthnSvc, RPC_WSTR *PrincName)
 
RPC_STATUS RpcEpResolveBinding (RPC_BINDING_HANDLE Binding, RPC_IF_HANDLE IfSpec)
 
RPC_STATUS RpcNsBindingInqEntryNameA (RPC_BINDING_HANDLE Binding, unsigned long EntryNameSyntax, RPC_CSTR *EntryName)
 
RPC_STATUS RpcNsBindingInqEntryNameW (RPC_BINDING_HANDLE Binding, unsigned long EntryNameSyntax, RPC_WSTR *EntryName)
 
RPC_STATUS RpcImpersonateClient (RPC_BINDING_HANDLE BindingHandle)
 
RPC_STATUS RpcRevertToSelfEx (RPC_BINDING_HANDLE BindingHandle)
 
RPC_STATUS RpcRevertToSelf ()
 
RPC_STATUS RpcBindingInqAuthClientA (RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs, RPC_CSTR *ServerPrincName, unsigned long *AuthnLevel, unsigned long *AuthnSvc, unsigned long *AuthzSvc)
 
RPC_STATUS RpcBindingInqAuthClientW (RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs, RPC_WSTR *ServerPrincName, unsigned long *AuthnLevel, unsigned long *AuthnSvc, unsigned long *AuthzSvc)
 
RPC_STATUS RpcBindingInqAuthClientExA (RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs, RPC_CSTR *ServerPrincName, unsigned long *AuthnLevel, unsigned long *AuthnSvc, unsigned long *AuthzSvc, unsigned long Flags)
 
RPC_STATUS RpcBindingInqAuthClientExW (RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs, RPC_WSTR *ServerPrincName, unsigned long *AuthnLevel, unsigned long *AuthnSvc, unsigned long *AuthzSvc, unsigned long Flags)
 
RPC_STATUS RpcBindingInqAuthInfoA (RPC_BINDING_HANDLE Binding, RPC_CSTR *ServerPrincName, unsigned long *AuthnLevel, unsigned long *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, unsigned long *AuthzSvc)
 
RPC_STATUS RpcBindingInqAuthInfoW (RPC_BINDING_HANDLE Binding, RPC_WSTR *ServerPrincName, unsigned long *AuthnLevel, unsigned long *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, unsigned long *AuthzSvc)
 
RPC_STATUS RpcBindingSetAuthInfoA (RPC_BINDING_HANDLE Binding, RPC_CSTR ServerPrincName, unsigned long AuthnLevel, unsigned long AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, unsigned long AuthzSvc)
 
RPC_STATUS RpcBindingSetAuthInfoExA (RPC_BINDING_HANDLE Binding, RPC_CSTR ServerPrincName, unsigned long AuthnLevel, unsigned long AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, unsigned long AuthzSvc, RPC_SECURITY_QOS *SecurityQos)
 
RPC_STATUS RpcBindingSetAuthInfoW (RPC_BINDING_HANDLE Binding, RPC_WSTR ServerPrincName, unsigned long AuthnLevel, unsigned long AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, unsigned long AuthzSvc)
 
RPC_STATUS RpcBindingSetAuthInfoExW (RPC_BINDING_HANDLE Binding, RPC_WSTR ServerPrincName, unsigned long AuthnLevel, unsigned long AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, unsigned long AuthzSvc, RPC_SECURITY_QOS *SecurityQOS)
 
RPC_STATUS RpcBindingInqAuthInfoExA (RPC_BINDING_HANDLE Binding, RPC_CSTR *ServerPrincName, unsigned long *AuthnLevel, unsigned long *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, unsigned long *AuthzSvc, unsigned long RpcQosVersion, RPC_SECURITY_QOS *SecurityQOS)
 
RPC_STATUS RpcBindingInqAuthInfoExW (RPC_BINDING_HANDLE Binding, RPC_WSTR *ServerPrincName, unsigned long *AuthnLevel, unsigned long *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, unsigned long *AuthzSvc, unsigned long RpcQosVersion, RPC_SECURITY_QOS *SecurityQOS)
 
RPC_STATUS RpcServerRegisterAuthInfoA (RPC_CSTR ServerPrincName, unsigned long AuthnSvc, RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn, void *Arg)
 
RPC_STATUS RpcServerRegisterAuthInfoW (RPC_WSTR ServerPrincName, unsigned long AuthnSvc, RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn, void *Arg)
 
RPC_STATUS RpcBindingServerFromClient (RPC_BINDING_HANDLE ClientBinding, RPC_BINDING_HANDLE *ServerBinding)
 
void RpcRaiseException (RPC_STATUS exception)
 
RPC_STATUS RpcTestCancel ()
 
RPC_STATUS RpcServerTestCancel (RPC_BINDING_HANDLE BindingHandle)
 
RPC_STATUS RpcCancelThread (void *Thread)
 
RPC_STATUS RpcCancelThreadEx (void *Thread, long Timeout)
 
RPC_STATUS UuidCreate (UUID *Uuid)
 
RPC_STATUS UuidCreateSequential (UUID *Uuid)
 
RPC_STATUS UuidToStringA (const UUID *Uuid, RPC_CSTR *StringUuid)
 
RPC_STATUS UuidToStringW (const UUID *Uuid, RPC_WSTR *StringUuid)
 
RPC_STATUS UuidFromStringA (RPC_CSTR StringUuid, UUID *Uuid)
 
RPC_STATUS UuidFromStringW (RPC_WSTR StringUuid, UUID *Uuid)
 
signed int UuidCompare (const UUID *Uuid1, const UUID *Uuid2, RPC_STATUS *Status)
 
RPC_STATUS UuidCreateNil (UUID *NilUuid)
 
int UuidEqual (const UUID *Uuid1, const UUID *Uuid2, RPC_STATUS *Status)
 
unsigned short UuidHash (const UUID *Uuid, RPC_STATUS *Status)
 
int UuidIsNil (const UUID *Uuid, RPC_STATUS *Status)
 
RPC_STATUS RpcEpRegisterNoReplaceA (RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR *BindingVector, UUID_VECTOR *UuidVector, RPC_CSTR Annotation)
 
RPC_STATUS RpcEpRegisterNoReplaceW (RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR *BindingVector, UUID_VECTOR *UuidVector, RPC_WSTR Annotation)
 
RPC_STATUS RpcEpRegisterA (RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR *BindingVector, UUID_VECTOR *UuidVector, RPC_CSTR Annotation)
 
RPC_STATUS RpcEpRegisterW (RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR *BindingVector, UUID_VECTOR *UuidVector, RPC_WSTR Annotation)
 
RPC_STATUS RpcEpUnregister (RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR *BindingVector, UUID_VECTOR *UuidVector)
 
RPC_STATUS DceErrorInqTextA (RPC_STATUS RpcStatus, RPC_CSTR ErrorText)
 
RPC_STATUS DceErrorInqTextW (RPC_STATUS RpcStatus, RPC_WSTR ErrorText)
 
RPC_STATUS RpcMgmtEpEltInqBegin (RPC_BINDING_HANDLE EpBinding, unsigned long InquiryType, RPC_IF_ID *IfId, unsigned long VersOption, UUID *ObjectUuid, RPC_EP_INQ_HANDLE *InquiryContext)
 
RPC_STATUS RpcMgmtEpEltInqDone (RPC_EP_INQ_HANDLE *InquiryContext)
 
RPC_STATUS RpcMgmtEpEltInqNextA (RPC_EP_INQ_HANDLE InquiryContext, RPC_IF_ID *IfId, RPC_BINDING_HANDLE *Binding, UUID *ObjectUuid, RPC_CSTR *Annotation)
 
RPC_STATUS RpcMgmtEpEltInqNextW (RPC_EP_INQ_HANDLE InquiryContext, RPC_IF_ID *IfId, RPC_BINDING_HANDLE *Binding, UUID *ObjectUuid, RPC_WSTR *Annotation)
 
RPC_STATUS RpcMgmtEpUnregister (RPC_BINDING_HANDLE EpBinding, RPC_IF_ID *IfId, RPC_BINDING_HANDLE Binding, UUID *ObjectUuid)
 
RPC_STATUS RpcMgmtSetAuthorizationFn (RPC_MGMT_AUTHORIZATION_FN AuthorizationFn)
 
RPC_STATUS RpcServerInqBindingHandle (RPC_BINDING_HANDLE *Binding)
 

Variables

static UUID UUID_NIL
 

Macro Definition Documentation

#define TAG   WINPR_TAG("rpc")

WinPR: Windows Portable Runtime Microsoft Remote Procedure Call (MSRPC)

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

RPC_STATUS DceErrorInqTextA ( RPC_STATUS  RpcStatus,
RPC_CSTR  ErrorText 
)
RPC_STATUS DceErrorInqTextW ( RPC_STATUS  RpcStatus,
RPC_WSTR  ErrorText 
)
RPC_STATUS RpcBindingCopy ( RPC_BINDING_HANDLE  SourceBinding,
RPC_BINDING_HANDLE DestinationBinding 
)
RPC_STATUS RpcBindingFree ( RPC_BINDING_HANDLE Binding)
RPC_STATUS RpcBindingFromStringBindingA ( RPC_CSTR  StringBinding,
RPC_BINDING_HANDLE Binding 
)
RPC_STATUS RpcBindingFromStringBindingW ( RPC_WSTR  StringBinding,
RPC_BINDING_HANDLE Binding 
)
RPC_STATUS RpcBindingInqAuthClientA ( RPC_BINDING_HANDLE  ClientBinding,
RPC_AUTHZ_HANDLE Privs,
RPC_CSTR ServerPrincName,
unsigned long *  AuthnLevel,
unsigned long *  AuthnSvc,
unsigned long *  AuthzSvc 
)
RPC_STATUS RpcBindingInqAuthClientExA ( RPC_BINDING_HANDLE  ClientBinding,
RPC_AUTHZ_HANDLE Privs,
RPC_CSTR ServerPrincName,
unsigned long *  AuthnLevel,
unsigned long *  AuthnSvc,
unsigned long *  AuthzSvc,
unsigned long  Flags 
)
RPC_STATUS RpcBindingInqAuthClientExW ( RPC_BINDING_HANDLE  ClientBinding,
RPC_AUTHZ_HANDLE Privs,
RPC_WSTR ServerPrincName,
unsigned long *  AuthnLevel,
unsigned long *  AuthnSvc,
unsigned long *  AuthzSvc,
unsigned long  Flags 
)
RPC_STATUS RpcBindingInqAuthClientW ( RPC_BINDING_HANDLE  ClientBinding,
RPC_AUTHZ_HANDLE Privs,
RPC_WSTR ServerPrincName,
unsigned long *  AuthnLevel,
unsigned long *  AuthnSvc,
unsigned long *  AuthzSvc 
)
RPC_STATUS RpcBindingInqAuthInfoA ( RPC_BINDING_HANDLE  Binding,
RPC_CSTR ServerPrincName,
unsigned long *  AuthnLevel,
unsigned long *  AuthnSvc,
RPC_AUTH_IDENTITY_HANDLE AuthIdentity,
unsigned long *  AuthzSvc 
)
RPC_STATUS RpcBindingInqAuthInfoExA ( RPC_BINDING_HANDLE  Binding,
RPC_CSTR ServerPrincName,
unsigned long *  AuthnLevel,
unsigned long *  AuthnSvc,
RPC_AUTH_IDENTITY_HANDLE AuthIdentity,
unsigned long *  AuthzSvc,
unsigned long  RpcQosVersion,
RPC_SECURITY_QOS SecurityQOS 
)
RPC_STATUS RpcBindingInqAuthInfoExW ( RPC_BINDING_HANDLE  Binding,
RPC_WSTR ServerPrincName,
unsigned long *  AuthnLevel,
unsigned long *  AuthnSvc,
RPC_AUTH_IDENTITY_HANDLE AuthIdentity,
unsigned long *  AuthzSvc,
unsigned long  RpcQosVersion,
RPC_SECURITY_QOS SecurityQOS 
)
RPC_STATUS RpcBindingInqAuthInfoW ( RPC_BINDING_HANDLE  Binding,
RPC_WSTR ServerPrincName,
unsigned long *  AuthnLevel,
unsigned long *  AuthnSvc,
RPC_AUTH_IDENTITY_HANDLE AuthIdentity,
unsigned long *  AuthzSvc 
)
RPC_STATUS RpcBindingInqObject ( RPC_BINDING_HANDLE  Binding,
UUID *  ObjectUuid 
)
RPC_STATUS RpcBindingInqOption ( RPC_BINDING_HANDLE  hBinding,
unsigned long  option,
ULONG_PTR *  pOptionValue 
)
RPC_STATUS RpcBindingReset ( RPC_BINDING_HANDLE  Binding)
RPC_STATUS RpcBindingServerFromClient ( RPC_BINDING_HANDLE  ClientBinding,
RPC_BINDING_HANDLE ServerBinding 
)
RPC_STATUS RpcBindingSetAuthInfoA ( RPC_BINDING_HANDLE  Binding,
RPC_CSTR  ServerPrincName,
unsigned long  AuthnLevel,
unsigned long  AuthnSvc,
RPC_AUTH_IDENTITY_HANDLE  AuthIdentity,
unsigned long  AuthzSvc 
)
RPC_STATUS RpcBindingSetAuthInfoExA ( RPC_BINDING_HANDLE  Binding,
RPC_CSTR  ServerPrincName,
unsigned long  AuthnLevel,
unsigned long  AuthnSvc,
RPC_AUTH_IDENTITY_HANDLE  AuthIdentity,
unsigned long  AuthzSvc,
RPC_SECURITY_QOS SecurityQos 
)
RPC_STATUS RpcBindingSetAuthInfoExW ( RPC_BINDING_HANDLE  Binding,
RPC_WSTR  ServerPrincName,
unsigned long  AuthnLevel,
unsigned long  AuthnSvc,
RPC_AUTH_IDENTITY_HANDLE  AuthIdentity,
unsigned long  AuthzSvc,
RPC_SECURITY_QOS SecurityQOS 
)
RPC_STATUS RpcBindingSetAuthInfoW ( RPC_BINDING_HANDLE  Binding,
RPC_WSTR  ServerPrincName,
unsigned long  AuthnLevel,
unsigned long  AuthnSvc,
RPC_AUTH_IDENTITY_HANDLE  AuthIdentity,
unsigned long  AuthzSvc 
)
RPC_STATUS RpcBindingSetObject ( RPC_BINDING_HANDLE  Binding,
UUID *  ObjectUuid 
)
RPC_STATUS RpcBindingSetOption ( RPC_BINDING_HANDLE  hBinding,
unsigned long  option,
ULONG_PTR  optionValue 
)
RPC_STATUS RpcBindingToStringBindingA ( RPC_BINDING_HANDLE  Binding,
RPC_CSTR StringBinding 
)
RPC_STATUS RpcBindingToStringBindingW ( RPC_BINDING_HANDLE  Binding,
RPC_WSTR StringBinding 
)
RPC_STATUS RpcBindingVectorFree ( RPC_BINDING_VECTOR **  BindingVector)
RPC_STATUS RpcCancelThread ( void Thread)
RPC_STATUS RpcCancelThreadEx ( void Thread,
long  Timeout 
)
RPC_STATUS RpcEpRegisterA ( RPC_IF_HANDLE  IfSpec,
RPC_BINDING_VECTOR BindingVector,
UUID_VECTOR UuidVector,
RPC_CSTR  Annotation 
)
RPC_STATUS RpcEpRegisterNoReplaceA ( RPC_IF_HANDLE  IfSpec,
RPC_BINDING_VECTOR BindingVector,
UUID_VECTOR UuidVector,
RPC_CSTR  Annotation 
)
RPC_STATUS RpcEpRegisterNoReplaceW ( RPC_IF_HANDLE  IfSpec,
RPC_BINDING_VECTOR BindingVector,
UUID_VECTOR UuidVector,
RPC_WSTR  Annotation 
)
RPC_STATUS RpcEpRegisterW ( RPC_IF_HANDLE  IfSpec,
RPC_BINDING_VECTOR BindingVector,
UUID_VECTOR UuidVector,
RPC_WSTR  Annotation 
)
RPC_STATUS RpcEpResolveBinding ( RPC_BINDING_HANDLE  Binding,
RPC_IF_HANDLE  IfSpec 
)
RPC_STATUS RpcEpUnregister ( RPC_IF_HANDLE  IfSpec,
RPC_BINDING_VECTOR BindingVector,
UUID_VECTOR UuidVector 
)
RPC_STATUS RpcIfIdVectorFree ( RPC_IF_ID_VECTOR **  IfIdVector)
RPC_STATUS RpcIfInqId ( RPC_IF_HANDLE  RpcIfHandle,
RPC_IF_ID RpcIfId 
)
RPC_STATUS RpcImpersonateClient ( RPC_BINDING_HANDLE  BindingHandle)
RPC_STATUS RpcMgmtEnableIdleCleanup ( void  )
RPC_STATUS RpcMgmtEpEltInqBegin ( RPC_BINDING_HANDLE  EpBinding,
unsigned long  InquiryType,
RPC_IF_ID IfId,
unsigned long  VersOption,
UUID *  ObjectUuid,
RPC_EP_INQ_HANDLE InquiryContext 
)
RPC_STATUS RpcMgmtEpEltInqDone ( RPC_EP_INQ_HANDLE InquiryContext)
RPC_STATUS RpcMgmtEpEltInqNextA ( RPC_EP_INQ_HANDLE  InquiryContext,
RPC_IF_ID IfId,
RPC_BINDING_HANDLE Binding,
UUID *  ObjectUuid,
RPC_CSTR Annotation 
)
RPC_STATUS RpcMgmtEpEltInqNextW ( RPC_EP_INQ_HANDLE  InquiryContext,
RPC_IF_ID IfId,
RPC_BINDING_HANDLE Binding,
UUID *  ObjectUuid,
RPC_WSTR Annotation 
)
RPC_STATUS RpcMgmtEpUnregister ( RPC_BINDING_HANDLE  EpBinding,
RPC_IF_ID IfId,
RPC_BINDING_HANDLE  Binding,
UUID *  ObjectUuid 
)
RPC_STATUS RpcMgmtInqComTimeout ( RPC_BINDING_HANDLE  Binding,
unsigned int *  Timeout 
)
RPC_STATUS RpcMgmtInqDefaultProtectLevel ( unsigned long  AuthnSvc,
unsigned long *  AuthnLevel 
)
RPC_STATUS RpcMgmtInqIfIds ( RPC_BINDING_HANDLE  Binding,
RPC_IF_ID_VECTOR **  IfIdVector 
)
RPC_STATUS RpcMgmtInqServerPrincNameA ( RPC_BINDING_HANDLE  Binding,
unsigned long  AuthnSvc,
RPC_CSTR ServerPrincName 
)
RPC_STATUS RpcMgmtInqServerPrincNameW ( RPC_BINDING_HANDLE  Binding,
unsigned long  AuthnSvc,
RPC_WSTR ServerPrincName 
)
RPC_STATUS RpcMgmtInqStats ( RPC_BINDING_HANDLE  Binding,
RPC_STATS_VECTOR **  Statistics 
)
RPC_STATUS RpcMgmtIsServerListening ( RPC_BINDING_HANDLE  Binding)
RPC_STATUS RpcMgmtSetAuthorizationFn ( RPC_MGMT_AUTHORIZATION_FN  AuthorizationFn)
RPC_STATUS RpcMgmtSetCancelTimeout ( long  Timeout)
RPC_STATUS RpcMgmtSetComTimeout ( RPC_BINDING_HANDLE  Binding,
unsigned int  Timeout 
)
RPC_STATUS RpcMgmtSetServerStackSize ( unsigned long  ThreadStackSize)
RPC_STATUS RpcMgmtStatsVectorFree ( RPC_STATS_VECTOR **  StatsVector)
RPC_STATUS RpcMgmtStopServerListening ( RPC_BINDING_HANDLE  Binding)
RPC_STATUS RpcMgmtWaitServerListen ( void  )
RPC_STATUS RpcNetworkInqProtseqsA ( RPC_PROTSEQ_VECTORA **  ProtseqVector)
RPC_STATUS RpcNetworkInqProtseqsW ( RPC_PROTSEQ_VECTORW **  ProtseqVector)
RPC_STATUS RpcNetworkIsProtseqValidA ( RPC_CSTR  Protseq)
RPC_STATUS RpcNetworkIsProtseqValidW ( RPC_WSTR  Protseq)
RPC_STATUS RpcNsBindingInqEntryNameA ( RPC_BINDING_HANDLE  Binding,
unsigned long  EntryNameSyntax,
RPC_CSTR EntryName 
)
RPC_STATUS RpcNsBindingInqEntryNameW ( RPC_BINDING_HANDLE  Binding,
unsigned long  EntryNameSyntax,
RPC_WSTR EntryName 
)
RPC_STATUS RpcObjectInqType ( UUID *  ObjUuid,
UUID *  TypeUuid 
)
RPC_STATUS RpcObjectSetInqFn ( RPC_OBJECT_INQ_FN InquiryFn)
RPC_STATUS RpcObjectSetType ( UUID *  ObjUuid,
UUID *  TypeUuid 
)
RPC_STATUS RpcProtseqVectorFreeA ( RPC_PROTSEQ_VECTORA **  ProtseqVector)
RPC_STATUS RpcProtseqVectorFreeW ( RPC_PROTSEQ_VECTORW **  ProtseqVector)
void RpcRaiseException ( RPC_STATUS  exception)

Here is the caller graph for this function:

RPC_STATUS RpcRevertToSelf ( void  )
RPC_STATUS RpcRevertToSelfEx ( RPC_BINDING_HANDLE  BindingHandle)
RPC_STATUS RpcServerInqBindingHandle ( RPC_BINDING_HANDLE Binding)
RPC_STATUS RpcServerInqBindings ( RPC_BINDING_VECTOR **  BindingVector)
RPC_STATUS RpcServerInqDefaultPrincNameA ( unsigned long  AuthnSvc,
RPC_CSTR PrincName 
)
RPC_STATUS RpcServerInqDefaultPrincNameW ( unsigned long  AuthnSvc,
RPC_WSTR PrincName 
)
RPC_STATUS RpcServerInqIf ( RPC_IF_HANDLE  IfSpec,
UUID *  MgrTypeUuid,
RPC_MGR_EPV **  MgrEpv 
)
RPC_STATUS RpcServerListen ( unsigned int  MinimumCallThreads,
unsigned int  MaxCalls,
unsigned int  DontWait 
)
RPC_STATUS RpcServerRegisterAuthInfoA ( RPC_CSTR  ServerPrincName,
unsigned long  AuthnSvc,
RPC_AUTH_KEY_RETRIEVAL_FN  GetKeyFn,
void Arg 
)
RPC_STATUS RpcServerRegisterAuthInfoW ( RPC_WSTR  ServerPrincName,
unsigned long  AuthnSvc,
RPC_AUTH_KEY_RETRIEVAL_FN  GetKeyFn,
void Arg 
)
RPC_STATUS RpcServerRegisterIf ( RPC_IF_HANDLE  IfSpec,
UUID *  MgrTypeUuid,
RPC_MGR_EPV MgrEpv 
)
RPC_STATUS RpcServerRegisterIf2 ( RPC_IF_HANDLE  IfSpec,
UUID *  MgrTypeUuid,
RPC_MGR_EPV MgrEpv,
unsigned int  Flags,
unsigned int  MaxCalls,
unsigned int  MaxRpcSize,
RPC_IF_CALLBACK_FN IfCallbackFn 
)
RPC_STATUS RpcServerRegisterIfEx ( RPC_IF_HANDLE  IfSpec,
UUID *  MgrTypeUuid,
RPC_MGR_EPV MgrEpv,
unsigned int  Flags,
unsigned int  MaxCalls,
RPC_IF_CALLBACK_FN IfCallback 
)
RPC_STATUS RpcServerTestCancel ( RPC_BINDING_HANDLE  BindingHandle)
RPC_STATUS RpcServerUnregisterIf ( RPC_IF_HANDLE  IfSpec,
UUID *  MgrTypeUuid,
unsigned int  WaitForCallsToComplete 
)
RPC_STATUS RpcServerUnregisterIfEx ( RPC_IF_HANDLE  IfSpec,
UUID *  MgrTypeUuid,
int  RundownContextHandles 
)
RPC_STATUS RpcServerUseAllProtseqs ( unsigned int  MaxCalls,
void SecurityDescriptor 
)
RPC_STATUS RpcServerUseAllProtseqsEx ( unsigned int  MaxCalls,
void SecurityDescriptor,
PRPC_POLICY  Policy 
)
RPC_STATUS RpcServerUseAllProtseqsIf ( unsigned int  MaxCalls,
RPC_IF_HANDLE  IfSpec,
void SecurityDescriptor 
)
RPC_STATUS RpcServerUseAllProtseqsIfEx ( unsigned int  MaxCalls,
RPC_IF_HANDLE  IfSpec,
void SecurityDescriptor,
PRPC_POLICY  Policy 
)
RPC_STATUS RpcServerUseProtseqA ( RPC_CSTR  Protseq,
unsigned int  MaxCalls,
void SecurityDescriptor 
)
RPC_STATUS RpcServerUseProtseqEpA ( RPC_CSTR  Protseq,
unsigned int  MaxCalls,
RPC_CSTR  Endpoint,
void SecurityDescriptor 
)
RPC_STATUS RpcServerUseProtseqEpExA ( RPC_CSTR  Protseq,
unsigned int  MaxCalls,
RPC_CSTR  Endpoint,
void SecurityDescriptor,
PRPC_POLICY  Policy 
)
RPC_STATUS RpcServerUseProtseqEpExW ( RPC_WSTR  Protseq,
unsigned int  MaxCalls,
RPC_WSTR  Endpoint,
void SecurityDescriptor,
PRPC_POLICY  Policy 
)
RPC_STATUS RpcServerUseProtseqEpW ( RPC_WSTR  Protseq,
unsigned int  MaxCalls,
RPC_WSTR  Endpoint,
void SecurityDescriptor 
)
RPC_STATUS RpcServerUseProtseqExA ( RPC_CSTR  Protseq,
unsigned int  MaxCalls,
void SecurityDescriptor,
PRPC_POLICY  Policy 
)
RPC_STATUS RpcServerUseProtseqExW ( RPC_WSTR  Protseq,
unsigned int  MaxCalls,
void SecurityDescriptor,
PRPC_POLICY  Policy 
)
RPC_STATUS RpcServerUseProtseqIfA ( RPC_CSTR  Protseq,
unsigned int  MaxCalls,
RPC_IF_HANDLE  IfSpec,
void SecurityDescriptor 
)
RPC_STATUS RpcServerUseProtseqIfExA ( RPC_CSTR  Protseq,
unsigned int  MaxCalls,
RPC_IF_HANDLE  IfSpec,
void SecurityDescriptor,
PRPC_POLICY  Policy 
)
RPC_STATUS RpcServerUseProtseqIfExW ( RPC_WSTR  Protseq,
unsigned int  MaxCalls,
RPC_IF_HANDLE  IfSpec,
void SecurityDescriptor,
PRPC_POLICY  Policy 
)
RPC_STATUS RpcServerUseProtseqIfW ( RPC_WSTR  Protseq,
unsigned int  MaxCalls,
RPC_IF_HANDLE  IfSpec,
void SecurityDescriptor 
)
RPC_STATUS RpcServerUseProtseqW ( RPC_WSTR  Protseq,
unsigned int  MaxCalls,
void SecurityDescriptor 
)
void RpcServerYield ( void  )
void RpcSsDontSerializeContext ( void  )
RPC_STATUS RpcSsGetContextBinding ( void ContextHandle,
RPC_BINDING_HANDLE Binding 
)
RPC_STATUS RpcStringBindingComposeA ( RPC_CSTR  ObjUuid,
RPC_CSTR  Protseq,
RPC_CSTR  NetworkAddr,
RPC_CSTR  Endpoint,
RPC_CSTR  Options,
RPC_CSTR StringBinding 
)
RPC_STATUS RpcStringBindingComposeW ( RPC_WSTR  ObjUuid,
RPC_WSTR  Protseq,
RPC_WSTR  NetworkAddr,
RPC_WSTR  Endpoint,
RPC_WSTR  Options,
RPC_WSTR StringBinding 
)
RPC_STATUS RpcStringBindingParseA ( RPC_CSTR  StringBinding,
RPC_CSTR ObjUuid,
RPC_CSTR Protseq,
RPC_CSTR NetworkAddr,
RPC_CSTR Endpoint,
RPC_CSTR NetworkOptions 
)
RPC_STATUS RpcStringBindingParseW ( RPC_WSTR  StringBinding,
RPC_WSTR ObjUuid,
RPC_WSTR Protseq,
RPC_WSTR NetworkAddr,
RPC_WSTR Endpoint,
RPC_WSTR NetworkOptions 
)
RPC_STATUS RpcStringFreeA ( RPC_CSTR String)

Here is the caller graph for this function:

RPC_STATUS RpcStringFreeW ( RPC_WSTR String)
RPC_STATUS RpcTestCancel ( void  )
signed int UuidCompare ( const UUID *  Uuid1,
const UUID *  Uuid2,
RPC_STATUS Status 
)

Here is the caller graph for this function:

RPC_STATUS UuidCreate ( UUID *  Uuid)

Here is the call graph for this function:

Here is the caller graph for this function:

RPC_STATUS UuidCreateNil ( UUID *  NilUuid)

Here is the caller graph for this function:

RPC_STATUS UuidCreateSequential ( UUID *  Uuid)

Here is the call graph for this function:

int UuidEqual ( const UUID *  Uuid1,
const UUID *  Uuid2,
RPC_STATUS Status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

RPC_STATUS UuidFromStringA ( RPC_CSTR  StringUuid,
UUID *  Uuid 
)

Here is the call graph for this function:

RPC_STATUS UuidFromStringW ( RPC_WSTR  StringUuid,
UUID *  Uuid 
)
unsigned short UuidHash ( const UUID *  Uuid,
RPC_STATUS Status 
)
int UuidIsNil ( const UUID *  Uuid,
RPC_STATUS Status 
)

Here is the call graph for this function:

RPC_STATUS UuidToStringA ( const UUID *  Uuid,
RPC_CSTR StringUuid 
)

Format is 32 hex digits partitioned in 5 groups: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Here is the caller graph for this function:

RPC_STATUS UuidToStringW ( const UUID *  Uuid,
RPC_WSTR StringUuid 
)

Variable Documentation

UUID UUID_NIL
static
Initial value:
=
{
0x00000000, 0x0000, 0x0000,
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
}

UUID Functions