FreeRDP
winpr/libwinpr/rpc/rpc.c File Reference
#include <winpr/config.h>
#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 (void)
 
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 (void)
 
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 (void)
 
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

◆ TAG

#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

◆ DceErrorInqTextA()

RPC_STATUS DceErrorInqTextA ( RPC_STATUS  RpcStatus,
RPC_CSTR  ErrorText 
)

◆ DceErrorInqTextW()

RPC_STATUS DceErrorInqTextW ( RPC_STATUS  RpcStatus,
RPC_WSTR  ErrorText 
)

◆ RpcBindingCopy()

RPC_STATUS RpcBindingCopy ( RPC_BINDING_HANDLE  SourceBinding,
RPC_BINDING_HANDLE DestinationBinding 
)

◆ RpcBindingFree()

RPC_STATUS RpcBindingFree ( RPC_BINDING_HANDLE Binding)

◆ RpcBindingFromStringBindingA()

RPC_STATUS RpcBindingFromStringBindingA ( RPC_CSTR  StringBinding,
RPC_BINDING_HANDLE Binding 
)

◆ RpcBindingFromStringBindingW()

RPC_STATUS RpcBindingFromStringBindingW ( RPC_WSTR  StringBinding,
RPC_BINDING_HANDLE Binding 
)

◆ RpcBindingInqAuthClientA()

RPC_STATUS RpcBindingInqAuthClientA ( RPC_BINDING_HANDLE  ClientBinding,
RPC_AUTHZ_HANDLE Privs,
RPC_CSTR ServerPrincName,
unsigned long *  AuthnLevel,
unsigned long *  AuthnSvc,
unsigned long *  AuthzSvc 
)

◆ RpcBindingInqAuthClientExA()

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 
)

◆ RpcBindingInqAuthClientExW()

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 
)

◆ RpcBindingInqAuthClientW()

RPC_STATUS RpcBindingInqAuthClientW ( RPC_BINDING_HANDLE  ClientBinding,
RPC_AUTHZ_HANDLE Privs,
RPC_WSTR ServerPrincName,
unsigned long *  AuthnLevel,
unsigned long *  AuthnSvc,
unsigned long *  AuthzSvc 
)

◆ RpcBindingInqAuthInfoA()

RPC_STATUS RpcBindingInqAuthInfoA ( RPC_BINDING_HANDLE  Binding,
RPC_CSTR ServerPrincName,
unsigned long *  AuthnLevel,
unsigned long *  AuthnSvc,
RPC_AUTH_IDENTITY_HANDLE AuthIdentity,
unsigned long *  AuthzSvc 
)

◆ RpcBindingInqAuthInfoExA()

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 
)

◆ RpcBindingInqAuthInfoExW()

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 
)

◆ RpcBindingInqAuthInfoW()

RPC_STATUS RpcBindingInqAuthInfoW ( RPC_BINDING_HANDLE  Binding,
RPC_WSTR ServerPrincName,
unsigned long *  AuthnLevel,
unsigned long *  AuthnSvc,
RPC_AUTH_IDENTITY_HANDLE AuthIdentity,
unsigned long *  AuthzSvc 
)

◆ RpcBindingInqObject()

RPC_STATUS RpcBindingInqObject ( RPC_BINDING_HANDLE  Binding,
UUID *  ObjectUuid 
)

◆ RpcBindingInqOption()

RPC_STATUS RpcBindingInqOption ( RPC_BINDING_HANDLE  hBinding,
unsigned long  option,
ULONG_PTR *  pOptionValue 
)

◆ RpcBindingReset()

RPC_STATUS RpcBindingReset ( RPC_BINDING_HANDLE  Binding)

◆ RpcBindingServerFromClient()

RPC_STATUS RpcBindingServerFromClient ( RPC_BINDING_HANDLE  ClientBinding,
RPC_BINDING_HANDLE ServerBinding 
)

◆ RpcBindingSetAuthInfoA()

RPC_STATUS RpcBindingSetAuthInfoA ( RPC_BINDING_HANDLE  Binding,
RPC_CSTR  ServerPrincName,
unsigned long  AuthnLevel,
unsigned long  AuthnSvc,
RPC_AUTH_IDENTITY_HANDLE  AuthIdentity,
unsigned long  AuthzSvc 
)

◆ RpcBindingSetAuthInfoExA()

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 
)

◆ RpcBindingSetAuthInfoExW()

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 
)

◆ RpcBindingSetAuthInfoW()

RPC_STATUS RpcBindingSetAuthInfoW ( RPC_BINDING_HANDLE  Binding,
RPC_WSTR  ServerPrincName,
unsigned long  AuthnLevel,
unsigned long  AuthnSvc,
RPC_AUTH_IDENTITY_HANDLE  AuthIdentity,
unsigned long  AuthzSvc 
)

◆ RpcBindingSetObject()

RPC_STATUS RpcBindingSetObject ( RPC_BINDING_HANDLE  Binding,
UUID *  ObjectUuid 
)

◆ RpcBindingSetOption()

RPC_STATUS RpcBindingSetOption ( RPC_BINDING_HANDLE  hBinding,
unsigned long  option,
ULONG_PTR  optionValue 
)

◆ RpcBindingToStringBindingA()

RPC_STATUS RpcBindingToStringBindingA ( RPC_BINDING_HANDLE  Binding,
RPC_CSTR StringBinding 
)

◆ RpcBindingToStringBindingW()

RPC_STATUS RpcBindingToStringBindingW ( RPC_BINDING_HANDLE  Binding,
RPC_WSTR StringBinding 
)

◆ RpcBindingVectorFree()

RPC_STATUS RpcBindingVectorFree ( RPC_BINDING_VECTOR **  BindingVector)

◆ RpcCancelThread()

RPC_STATUS RpcCancelThread ( void *  Thread)

◆ RpcCancelThreadEx()

RPC_STATUS RpcCancelThreadEx ( void *  Thread,
long  Timeout 
)

◆ RpcEpRegisterA()

RPC_STATUS RpcEpRegisterA ( RPC_IF_HANDLE  IfSpec,
RPC_BINDING_VECTOR BindingVector,
UUID_VECTOR UuidVector,
RPC_CSTR  Annotation 
)

◆ RpcEpRegisterNoReplaceA()

RPC_STATUS RpcEpRegisterNoReplaceA ( RPC_IF_HANDLE  IfSpec,
RPC_BINDING_VECTOR BindingVector,
UUID_VECTOR UuidVector,
RPC_CSTR  Annotation 
)

◆ RpcEpRegisterNoReplaceW()

RPC_STATUS RpcEpRegisterNoReplaceW ( RPC_IF_HANDLE  IfSpec,
RPC_BINDING_VECTOR BindingVector,
UUID_VECTOR UuidVector,
RPC_WSTR  Annotation 
)

◆ RpcEpRegisterW()

RPC_STATUS RpcEpRegisterW ( RPC_IF_HANDLE  IfSpec,
RPC_BINDING_VECTOR BindingVector,
UUID_VECTOR UuidVector,
RPC_WSTR  Annotation 
)

◆ RpcEpResolveBinding()

RPC_STATUS RpcEpResolveBinding ( RPC_BINDING_HANDLE  Binding,
RPC_IF_HANDLE  IfSpec 
)

◆ RpcEpUnregister()

RPC_STATUS RpcEpUnregister ( RPC_IF_HANDLE  IfSpec,
RPC_BINDING_VECTOR BindingVector,
UUID_VECTOR UuidVector 
)

◆ RpcIfIdVectorFree()

RPC_STATUS RpcIfIdVectorFree ( RPC_IF_ID_VECTOR **  IfIdVector)

◆ RpcIfInqId()

RPC_STATUS RpcIfInqId ( RPC_IF_HANDLE  RpcIfHandle,
RPC_IF_ID RpcIfId 
)

◆ RpcImpersonateClient()

RPC_STATUS RpcImpersonateClient ( RPC_BINDING_HANDLE  BindingHandle)

◆ RpcMgmtEnableIdleCleanup()

RPC_STATUS RpcMgmtEnableIdleCleanup ( void  )

◆ RpcMgmtEpEltInqBegin()

RPC_STATUS RpcMgmtEpEltInqBegin ( RPC_BINDING_HANDLE  EpBinding,
unsigned long  InquiryType,
RPC_IF_ID IfId,
unsigned long  VersOption,
UUID *  ObjectUuid,
RPC_EP_INQ_HANDLE InquiryContext 
)

◆ RpcMgmtEpEltInqDone()

RPC_STATUS RpcMgmtEpEltInqDone ( RPC_EP_INQ_HANDLE InquiryContext)

◆ RpcMgmtEpEltInqNextA()

RPC_STATUS RpcMgmtEpEltInqNextA ( RPC_EP_INQ_HANDLE  InquiryContext,
RPC_IF_ID IfId,
RPC_BINDING_HANDLE Binding,
UUID *  ObjectUuid,
RPC_CSTR Annotation 
)

◆ RpcMgmtEpEltInqNextW()

RPC_STATUS RpcMgmtEpEltInqNextW ( RPC_EP_INQ_HANDLE  InquiryContext,
RPC_IF_ID IfId,
RPC_BINDING_HANDLE Binding,
UUID *  ObjectUuid,
RPC_WSTR Annotation 
)

◆ RpcMgmtEpUnregister()

RPC_STATUS RpcMgmtEpUnregister ( RPC_BINDING_HANDLE  EpBinding,
RPC_IF_ID IfId,
RPC_BINDING_HANDLE  Binding,
UUID *  ObjectUuid 
)

◆ RpcMgmtInqComTimeout()

RPC_STATUS RpcMgmtInqComTimeout ( RPC_BINDING_HANDLE  Binding,
unsigned int *  Timeout 
)

◆ RpcMgmtInqDefaultProtectLevel()

RPC_STATUS RpcMgmtInqDefaultProtectLevel ( unsigned long  AuthnSvc,
unsigned long *  AuthnLevel 
)

◆ RpcMgmtInqIfIds()

RPC_STATUS RpcMgmtInqIfIds ( RPC_BINDING_HANDLE  Binding,
RPC_IF_ID_VECTOR **  IfIdVector 
)

◆ RpcMgmtInqServerPrincNameA()

RPC_STATUS RpcMgmtInqServerPrincNameA ( RPC_BINDING_HANDLE  Binding,
unsigned long  AuthnSvc,
RPC_CSTR ServerPrincName 
)

◆ RpcMgmtInqServerPrincNameW()

RPC_STATUS RpcMgmtInqServerPrincNameW ( RPC_BINDING_HANDLE  Binding,
unsigned long  AuthnSvc,
RPC_WSTR ServerPrincName 
)

◆ RpcMgmtInqStats()

RPC_STATUS RpcMgmtInqStats ( RPC_BINDING_HANDLE  Binding,
RPC_STATS_VECTOR **  Statistics 
)

◆ RpcMgmtIsServerListening()

RPC_STATUS RpcMgmtIsServerListening ( RPC_BINDING_HANDLE  Binding)

◆ RpcMgmtSetAuthorizationFn()

RPC_STATUS RpcMgmtSetAuthorizationFn ( RPC_MGMT_AUTHORIZATION_FN  AuthorizationFn)

◆ RpcMgmtSetCancelTimeout()

RPC_STATUS RpcMgmtSetCancelTimeout ( long  Timeout)

◆ RpcMgmtSetComTimeout()

RPC_STATUS RpcMgmtSetComTimeout ( RPC_BINDING_HANDLE  Binding,
unsigned int  Timeout 
)

◆ RpcMgmtSetServerStackSize()

RPC_STATUS RpcMgmtSetServerStackSize ( unsigned long  ThreadStackSize)

◆ RpcMgmtStatsVectorFree()

RPC_STATUS RpcMgmtStatsVectorFree ( RPC_STATS_VECTOR **  StatsVector)

◆ RpcMgmtStopServerListening()

RPC_STATUS RpcMgmtStopServerListening ( RPC_BINDING_HANDLE  Binding)

◆ RpcMgmtWaitServerListen()

RPC_STATUS RpcMgmtWaitServerListen ( void  )

◆ RpcNetworkInqProtseqsA()

RPC_STATUS RpcNetworkInqProtseqsA ( RPC_PROTSEQ_VECTORA **  ProtseqVector)

◆ RpcNetworkInqProtseqsW()

RPC_STATUS RpcNetworkInqProtseqsW ( RPC_PROTSEQ_VECTORW **  ProtseqVector)

◆ RpcNetworkIsProtseqValidA()

RPC_STATUS RpcNetworkIsProtseqValidA ( RPC_CSTR  Protseq)

◆ RpcNetworkIsProtseqValidW()

RPC_STATUS RpcNetworkIsProtseqValidW ( RPC_WSTR  Protseq)

◆ RpcNsBindingInqEntryNameA()

RPC_STATUS RpcNsBindingInqEntryNameA ( RPC_BINDING_HANDLE  Binding,
unsigned long  EntryNameSyntax,
RPC_CSTR EntryName 
)

◆ RpcNsBindingInqEntryNameW()

RPC_STATUS RpcNsBindingInqEntryNameW ( RPC_BINDING_HANDLE  Binding,
unsigned long  EntryNameSyntax,
RPC_WSTR EntryName 
)

◆ RpcObjectInqType()

RPC_STATUS RpcObjectInqType ( UUID *  ObjUuid,
UUID *  TypeUuid 
)

◆ RpcObjectSetInqFn()

RPC_STATUS RpcObjectSetInqFn ( RPC_OBJECT_INQ_FN InquiryFn)

◆ RpcObjectSetType()

RPC_STATUS RpcObjectSetType ( UUID *  ObjUuid,
UUID *  TypeUuid 
)

◆ RpcProtseqVectorFreeA()

RPC_STATUS RpcProtseqVectorFreeA ( RPC_PROTSEQ_VECTORA **  ProtseqVector)

◆ RpcProtseqVectorFreeW()

RPC_STATUS RpcProtseqVectorFreeW ( RPC_PROTSEQ_VECTORW **  ProtseqVector)

◆ RpcRaiseException()

void RpcRaiseException ( RPC_STATUS  exception)

◆ RpcRevertToSelf()

RPC_STATUS RpcRevertToSelf ( void  )

◆ RpcRevertToSelfEx()

RPC_STATUS RpcRevertToSelfEx ( RPC_BINDING_HANDLE  BindingHandle)

◆ RpcServerInqBindingHandle()

RPC_STATUS RpcServerInqBindingHandle ( RPC_BINDING_HANDLE Binding)

◆ RpcServerInqBindings()

RPC_STATUS RpcServerInqBindings ( RPC_BINDING_VECTOR **  BindingVector)

◆ RpcServerInqDefaultPrincNameA()

RPC_STATUS RpcServerInqDefaultPrincNameA ( unsigned long  AuthnSvc,
RPC_CSTR PrincName 
)

◆ RpcServerInqDefaultPrincNameW()

RPC_STATUS RpcServerInqDefaultPrincNameW ( unsigned long  AuthnSvc,
RPC_WSTR PrincName 
)

◆ RpcServerInqIf()

RPC_STATUS RpcServerInqIf ( RPC_IF_HANDLE  IfSpec,
UUID *  MgrTypeUuid,
RPC_MGR_EPV **  MgrEpv 
)

◆ RpcServerListen()

RPC_STATUS RpcServerListen ( unsigned int  MinimumCallThreads,
unsigned int  MaxCalls,
unsigned int  DontWait 
)

◆ RpcServerRegisterAuthInfoA()

RPC_STATUS RpcServerRegisterAuthInfoA ( RPC_CSTR  ServerPrincName,
unsigned long  AuthnSvc,
RPC_AUTH_KEY_RETRIEVAL_FN  GetKeyFn,
void *  Arg 
)

◆ RpcServerRegisterAuthInfoW()

RPC_STATUS RpcServerRegisterAuthInfoW ( RPC_WSTR  ServerPrincName,
unsigned long  AuthnSvc,
RPC_AUTH_KEY_RETRIEVAL_FN  GetKeyFn,
void *  Arg 
)

◆ RpcServerRegisterIf()

RPC_STATUS RpcServerRegisterIf ( RPC_IF_HANDLE  IfSpec,
UUID *  MgrTypeUuid,
RPC_MGR_EPV MgrEpv 
)

◆ RpcServerRegisterIf2()

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 
)

◆ RpcServerRegisterIfEx()

RPC_STATUS RpcServerRegisterIfEx ( RPC_IF_HANDLE  IfSpec,
UUID *  MgrTypeUuid,
RPC_MGR_EPV MgrEpv,
unsigned int  Flags,
unsigned int  MaxCalls,
RPC_IF_CALLBACK_FN IfCallback 
)

◆ RpcServerTestCancel()

RPC_STATUS RpcServerTestCancel ( RPC_BINDING_HANDLE  BindingHandle)

◆ RpcServerUnregisterIf()

RPC_STATUS RpcServerUnregisterIf ( RPC_IF_HANDLE  IfSpec,
UUID *  MgrTypeUuid,
unsigned int  WaitForCallsToComplete 
)

◆ RpcServerUnregisterIfEx()

RPC_STATUS RpcServerUnregisterIfEx ( RPC_IF_HANDLE  IfSpec,
UUID *  MgrTypeUuid,
int  RundownContextHandles 
)

◆ RpcServerUseAllProtseqs()

RPC_STATUS RpcServerUseAllProtseqs ( unsigned int  MaxCalls,
void *  SecurityDescriptor 
)

◆ RpcServerUseAllProtseqsEx()

RPC_STATUS RpcServerUseAllProtseqsEx ( unsigned int  MaxCalls,
void *  SecurityDescriptor,
PRPC_POLICY  Policy 
)

◆ RpcServerUseAllProtseqsIf()

RPC_STATUS RpcServerUseAllProtseqsIf ( unsigned int  MaxCalls,
RPC_IF_HANDLE  IfSpec,
void *  SecurityDescriptor 
)

◆ RpcServerUseAllProtseqsIfEx()

RPC_STATUS RpcServerUseAllProtseqsIfEx ( unsigned int  MaxCalls,
RPC_IF_HANDLE  IfSpec,
void *  SecurityDescriptor,
PRPC_POLICY  Policy 
)

◆ RpcServerUseProtseqA()

RPC_STATUS RpcServerUseProtseqA ( RPC_CSTR  Protseq,
unsigned int  MaxCalls,
void *  SecurityDescriptor 
)

◆ RpcServerUseProtseqEpA()

RPC_STATUS RpcServerUseProtseqEpA ( RPC_CSTR  Protseq,
unsigned int  MaxCalls,
RPC_CSTR  Endpoint,
void *  SecurityDescriptor 
)

◆ RpcServerUseProtseqEpExA()

RPC_STATUS RpcServerUseProtseqEpExA ( RPC_CSTR  Protseq,
unsigned int  MaxCalls,
RPC_CSTR  Endpoint,
void *  SecurityDescriptor,
PRPC_POLICY  Policy 
)

◆ RpcServerUseProtseqEpExW()

RPC_STATUS RpcServerUseProtseqEpExW ( RPC_WSTR  Protseq,
unsigned int  MaxCalls,
RPC_WSTR  Endpoint,
void *  SecurityDescriptor,
PRPC_POLICY  Policy 
)

◆ RpcServerUseProtseqEpW()

RPC_STATUS RpcServerUseProtseqEpW ( RPC_WSTR  Protseq,
unsigned int  MaxCalls,
RPC_WSTR  Endpoint,
void *  SecurityDescriptor 
)

◆ RpcServerUseProtseqExA()

RPC_STATUS RpcServerUseProtseqExA ( RPC_CSTR  Protseq,
unsigned int  MaxCalls,
void *  SecurityDescriptor,
PRPC_POLICY  Policy 
)

◆ RpcServerUseProtseqExW()

RPC_STATUS RpcServerUseProtseqExW ( RPC_WSTR  Protseq,
unsigned int  MaxCalls,
void *  SecurityDescriptor,
PRPC_POLICY  Policy 
)

◆ RpcServerUseProtseqIfA()

RPC_STATUS RpcServerUseProtseqIfA ( RPC_CSTR  Protseq,
unsigned int  MaxCalls,
RPC_IF_HANDLE  IfSpec,
void *  SecurityDescriptor 
)

◆ RpcServerUseProtseqIfExA()

RPC_STATUS RpcServerUseProtseqIfExA ( RPC_CSTR  Protseq,
unsigned int  MaxCalls,
RPC_IF_HANDLE  IfSpec,
void *  SecurityDescriptor,
PRPC_POLICY  Policy 
)

◆ RpcServerUseProtseqIfExW()

RPC_STATUS RpcServerUseProtseqIfExW ( RPC_WSTR  Protseq,
unsigned int  MaxCalls,
RPC_IF_HANDLE  IfSpec,
void *  SecurityDescriptor,
PRPC_POLICY  Policy 
)

◆ RpcServerUseProtseqIfW()

RPC_STATUS RpcServerUseProtseqIfW ( RPC_WSTR  Protseq,
unsigned int  MaxCalls,
RPC_IF_HANDLE  IfSpec,
void *  SecurityDescriptor 
)

◆ RpcServerUseProtseqW()

RPC_STATUS RpcServerUseProtseqW ( RPC_WSTR  Protseq,
unsigned int  MaxCalls,
void *  SecurityDescriptor 
)

◆ RpcServerYield()

void RpcServerYield ( void  )

◆ RpcSsDontSerializeContext()

void RpcSsDontSerializeContext ( void  )

◆ RpcSsGetContextBinding()

RPC_STATUS RpcSsGetContextBinding ( void *  ContextHandle,
RPC_BINDING_HANDLE Binding 
)

◆ RpcStringBindingComposeA()

RPC_STATUS RpcStringBindingComposeA ( RPC_CSTR  ObjUuid,
RPC_CSTR  Protseq,
RPC_CSTR  NetworkAddr,
RPC_CSTR  Endpoint,
RPC_CSTR  Options,
RPC_CSTR StringBinding 
)

◆ RpcStringBindingComposeW()

RPC_STATUS RpcStringBindingComposeW ( RPC_WSTR  ObjUuid,
RPC_WSTR  Protseq,
RPC_WSTR  NetworkAddr,
RPC_WSTR  Endpoint,
RPC_WSTR  Options,
RPC_WSTR StringBinding 
)

◆ RpcStringBindingParseA()

RPC_STATUS RpcStringBindingParseA ( RPC_CSTR  StringBinding,
RPC_CSTR ObjUuid,
RPC_CSTR Protseq,
RPC_CSTR NetworkAddr,
RPC_CSTR Endpoint,
RPC_CSTR NetworkOptions 
)

◆ RpcStringBindingParseW()

RPC_STATUS RpcStringBindingParseW ( RPC_WSTR  StringBinding,
RPC_WSTR ObjUuid,
RPC_WSTR Protseq,
RPC_WSTR NetworkAddr,
RPC_WSTR Endpoint,
RPC_WSTR NetworkOptions 
)

◆ RpcStringFreeA()

RPC_STATUS RpcStringFreeA ( RPC_CSTR String)
Here is the caller graph for this function:

◆ RpcStringFreeW()

RPC_STATUS RpcStringFreeW ( RPC_WSTR String)

◆ RpcTestCancel()

RPC_STATUS RpcTestCancel ( void  )

◆ UuidCompare()

signed int UuidCompare ( const UUID *  Uuid1,
const UUID *  Uuid2,
RPC_STATUS Status 
)
Here is the caller graph for this function:

◆ UuidCreate()

RPC_STATUS UuidCreate ( UUID *  Uuid)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UuidCreateNil()

RPC_STATUS UuidCreateNil ( UUID *  NilUuid)
Here is the caller graph for this function:

◆ UuidCreateSequential()

RPC_STATUS UuidCreateSequential ( UUID *  Uuid)
Here is the call graph for this function:

◆ UuidEqual()

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:

◆ UuidFromStringA()

RPC_STATUS UuidFromStringA ( RPC_CSTR  StringUuid,
UUID *  Uuid 
)
Here is the call graph for this function:

◆ UuidFromStringW()

RPC_STATUS UuidFromStringW ( RPC_WSTR  StringUuid,
UUID *  Uuid 
)

◆ UuidHash()

unsigned short UuidHash ( const UUID *  Uuid,
RPC_STATUS Status 
)

◆ UuidIsNil()

int UuidIsNil ( const UUID *  Uuid,
RPC_STATUS Status 
)
Here is the call graph for this function:

◆ UuidToStringA()

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:

◆ UuidToStringW()

RPC_STATUS UuidToStringW ( const UUID *  Uuid,
RPC_WSTR StringUuid 
)

Variable Documentation

◆ UUID_NIL

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

UUID Functions