Compartir a través de


8.1 Local Interfaces

Provides local interfaces for RPC server implementations that in some instances differ from those local interfaces specified in [C706]. The tables below detail the differences, additions, and exceptions.

Additions:

The following APIs are not defined in [C706] and are additions in the Remote Procedure Call extensions implementation. The definition for each API is located on MSDN and is identified in the following table.

Windows RPC API

Reference

I_RpcBindingInqLocalClientPID

[MSDN-I_RpcBindInqLocalCltPID]

MesBufferHandleReset

[MSDN-MesBufferHandleReset]

MesDecodeBufferHandleCreate

[MSDN-MesDecodeBufHandleCreate]

MesDecodeIncrementalHandleCreate

[MSDN-MesDecodeIncremtHdlCreate]

MesEncodeDynBufferHandleCreate

[MSDN-MesEncodeDynBufHdlCreate]

MesEncodeFixedBufferHandleCreate

[MSDN-MesEncodeFixBufHdlCreate]

MesEncodeIncrementalHandleCreate

[MSDN-MesEncodeIncremtHdlCreate]

MesHandleFree

[MSDN-MesHandleFree]

MesIncrementalHandleReset

[MSDN-MesIncrementalHndReset]

MesInqProcEncodingId

[MSDN-MesInqProcEncodingId]

RpcAsyncAbortCall

[MSDN-RpcAsyncAbortCall]

RpcAsyncCancelCall

[MSDN-RpcAsyncCancelCall]

RpcAsyncCompleteCall

[MSDN-RpcAsyncCompleteCall]

RpcAsyncGetCallStatus

[MSDN-RpcAsyncGetCallStatus]

RpcAsyncInitializeHandle

[MSDN-RpcAsyncInitializeHandle]

RpcAsyncRegisterInfo

[MSDN-RpcAsyncRegisterInfo]

RpcBindingBind

[MSDN-RpcBindingBind]

RpcBindingCreate

[MSDN-RpcBindingCreate]

RpcBindingInqAuthClientEx

[MSDN-RpcBindingInqAuthClientEx]

RpcBindingInqAuthInfoEx

[MSDN-RpcBindingInqAuthInfoEx]

RpcBindingInqOption

[MSDN-RpcBindingInqOption]

RpcBindingSetAuthInfoEx

[MSDN-RpcBindingSetAuthInfoEx]

RpcBindingSetOption

[MSDN-RpcBindingSetOption]

RpcBindingUnbind

[MSDN-RpcBindingUnbind]

RpcCancelThread

[MSDN-RpcCancelThread]

RpcCancelThreadEx

[MSDN-RpcCancelThreadEx]

RpcCertGeneratePrincipalName

[MSDN-RpcCertGenPrincipalName]

RpcDiagnoseError

[MSDN-RpcDiagnoseError]

RpcErrorAddRecord

[MSDN-RpcErrorAddRecord]

RpcErrorClearInformation

[MSDN-RpcErrorClearInformation]

RpcErrorEndEnumeration

[MSDN-RpcErrorEndEnumeration]

RpcErrorGetNextRecord

[MSDN-RpcErrorGetNextRecord]

RpcErrorGetNumberOfRecords

[MSDN-RpcErrorGetNumberOfRecords]

RpcErrorLoadErrorInfo

[MSDN-RpcErrorLoadErrorInfo]

RpcErrorResetEnumeration

[MSDN-RpcErrorResetEnumeration]

RpcErrorSaveErrorInfo

[MSDN-RpcErrorSaveErrorInfo]

RpcErrorStartEnumeration

[MSDN-RpcErrorStartEnumeration]

RpcExceptionCode

[MSDN-RpcExceptionCode]

RpcFreeAuthorizationContext

[MSDN-RpcFreeAuthorizeContext]

RpcGetAuthorizationContextForClient

[MSDN-RpcGetAuthContextForClient]

RpcImpersonateClient

[MSDN-RpcImpersonateClient]

RpcMgmtEnableIdleCleanup

[MSDN-RpcMgmtEnableIdleCleanup]

RpcMgmtInqDefaultProtectLevel

[MSDN-RpcMgmtInqDeftProtectLevel]

RpcMgmtWaitServerListen

[MSDN-RpcMgmtWaitServerListen]

RpcRaiseException

[MSDN-RpcRaiseException]

RpcRevertToSelf

[MSDN-RpcRevertToSelf]

RpcRevertToSelfEx

[MSDN-RpcRevertToSelfEx]

RpcServerInqBindingHandle

[MSDN-RpcServerInqBindingHandle]

RpcServerInqCallAttributes

[MSDN-RpcServerInqCallAttributes]

RpcServerInqDefaultPrincName

[MSDN-RpcServerInqDeftPrincName]

RpcServerRegisterIf

[MSDN-RpcServerRegisterIf]

RpcServerRegisterIf2

[MSDN-RpcServerRegisterIf2]

RpcServerRegisterIfEx

[MSDN-RpcServerRegisterIfEx]

RpcServerSubscribeForNotification

[MSDN-RpcServerSubsForNotif]

RpcServerUnsubscribeForNotification

[MSDN-RpcServerUnsubForNotif]

RpcServerTestCancel

[MSDN-RpcServerTestCancel]

RpcServerUnregisterIf

[MSDN-RpcServerUnregisterIf]

RpcServerUnregisterIfEx

[MSDN-RpcServerUnregisterIfEx]

RpcServerUseAllProtseqsEx

[MSDN-RpcServerUseAllProtseqsEx]

RpcServerUseAllProtseqsIfEx

[MSDN-RpcServUseAllProtseqsIfEx]

RpcServerUseProtseqEx

[MSDN-RpcServerUseProtseqEx]

RpcServerUseProtseqEpEx

[MSDN-RpcServerUseProtseqEpEx]

RpcServerUseProtseqIfEx

[MSDN-RpcServerUseProtseqIfEx]

RpcSsAllocate

[MSDN-RpcSsAllocate]

RpcSsContextLockExclusive

[MSDN-RpcSsContextLockExclus]

RpcSsContextLockShared

[MSDN-RpcSsContextLockShared]

RpcSsDestroyClientContext

[MSDN-RpcSsDestroyClientContext]

RpcSsDisableAllocate

[MSDN-RpcSsDisableAllocate]

RpcSsDontSerializeContext

[MSDN-RpcSsDontSerializeContext]

RpcSsEnableAllocate

[MSDN-RpcSsEnableAllocate]

RpcSsFree

[MSDN-RpcSsFree]

RpcSsGetThreadHandle

[MSDN-RpcSsGetThreadHandle]

RpcSsSetClientAllocFree

[MSDN-RpcSsSetClientAllocFree]

RpcSsSetThreadHandle

[MSDN-RpcSsSetThreadHandle]

RpcSsSwapClientAllocFree

[MSDN-RpcSsSwapClientAllocFree]

RpcTestCancel

[MSDN-RpcTestCancel]

UuidCreateSequential

[MSDN-UUidCreateSequential]

Exceptions

The following APIs as defined in [C706] do not have an equivalent API in the Windows implementation of this protocol extension.

  • cs_byte_from_netcs

  • cs_byte_local_size

  • cs_byte_net_size

  • cs_byte_to_netcs

  • dce_cs_loc_to_rgy

  • dce_cs_rgy_to_loc

  • rpc_binding_inq_auth_caller

  • rpc_cs_binding_set_tags

  • rpc_cs_char_set_compat_check

  • rpc_cs_eval_with_universal

  • rpc_cs_eval_without_universal

  • rpc_cs_get_tags

  • rpc_rgy_get_codesets

  • rpc_rgy_get_max_bytes

  • rpc_ss_bind_authn_client

  • rpc_tower_to_binding

  • rpc_tower_vector_free

  • rpc_tower_vector_from_binding

  • wchar_t_from_netcs

  • wchar_t_local_size

  • wchar_t_net_size

  • wchar_t_to_netcs

Name Differences

API as defined in [C706]

Closest equivalent in Windows

MSDN Reference

dce_error_inq_text

DceErrorInqText

[MSDN-DceErrorInqText]

rpc_binding_copy

RpcBindingCopy

[MSDN-RpcBindingCopy]

rpc_binding_free

RpcBindingFree

[MSDN-RpcBindingFree]

rpc_binding_from_string_binding

RpcBindingFromStringBinding

[MSDN-RpcBindingFromStringBind]

rpc_binding_inq_auth_client

RpcBindingInqAuthClient

[MSDN-RpcBindingInqAuthClient]

rpc_binding_inq_auth_info

RpcBindingInqAuthInfo

[MSDN-RpcBindingInqAuthInfo]

rpc_binding_inq_object

RpcBindingInqObject

[MSDN-RpcBindingInqObject]

rpc_binding_reset

RpcBindingReset

[MSDN-RpcBindingReset]

rpc_binding_server_from_client

RpcBindingServerFromClient

[MSDN-RpcBindingServerFromClient]

rpc_binding_set_auth_info

RpcBindingSetAuthInfo

[MSDN-RpcBindingSetAuthInfoEx]

rpc_binding_set_object

RpcBindingSetObject

[MSDN-RpcBindingSetObject]

rpc_binding_to_string_binding

RpcBindingToStringBinding

[MSDN-RpcBindingToStringBind]

rpc_binding_vector_free

RpcBindingVectorFree

[MSDN-RpcBindingVectorFree]

rpc_ep_register

RpcEpRegister

[MSDN-RpcEpRegister]

rpc_ep_register_no_replace

RpcEpRegisterNoReplace

[MSDN-RpcEpRegisterNoReplace]

rpc_ep_resolve_binding

RpcEpResolveBinding

[MSDN-RpcEpResolveBinding]

rpc_ep_unregister

RpcEpUnregister

[MSDN-RpcEpUnregister]

rpc_if_id_vector_free

RpcIfIdVectorFree

[MSDN-RpcIfIdVectorFree]

rpc_if_inq_id

RpcIfInqId

[MSDN-RpcIfInqId]

rpc_mgmt_ep_elt_inq_begin

RpcMgmtEpEltInqBegin

[MSDN-RpcMgmtEpEltInqBegin]

rpc_mgmt_ep_elt_inq_done

RpcMgmtEpEltInqDone

[MSDN-RpcMgmtEpEltInqDone]

rpc_mgmt_ep_elt_inq_next

RpcMgmtEpEltInqNext

[MSDN-RpcMgmtEpEltInqNext]

rpc_mgmt_ep_unregister

RpcMgmtEpUnregister

[MSDN-RpcMgmtEpUnregister]

rpc_mgmt_inq_com_timeout

RpcMgmtInqComTimeout

[MSDN-RpcMgmtInqComTimeout]

rpc_mgmt_inq_dflt_protect_level

RpcMgmtInqDfltProtectLevel

[MSDN-RpcMgmtInqDfltProtectLvl]

rpc_mgmt_inq_if_ids

RpcMgmtInqIfIds

[MSDN-RpcMgmtInqIfIds]

rpc_mgmt_inq_server_princ_name

RpcMgmtInqServerPrincName

[MSDN-RpcMgmtInqServerPrincName]

rpc_mgmt_inq_stats

RpcMgmtInqStats

[MSDN-RpcMgmtInqStats]

rpc_mgmt_is_server_listening

RpcMgmtIsServerListening

[MSDN-RpcMgmtIsServerListening]

rpc_mgmt_set_authorization_fn

RpcMgmtSetAuthorizationFn

[MSDN-RpcMgmtSetAuthorizationFn]

rpc_mgmt_set_cancel_timeout

RpcMgmtSetCancelTimeout

[MSDN-RpcMgmtSetCancelTimeout]

rpc_mgmt_set_com_timeout

RpcMgmtSetComTimeout

[MSDN-RpcMgmtSetComTimeout]

rpc_mgmt_set_server_stack_size

RpcMgmtSetServerStackSize

[MSDN-RpcMgmtSetServerStackSize]

rpc_mgmt_stats_vector_free

RpcMgmtStatsVectorFree

[MSDN-RpcMgmtStatsVectorFree]

rpc_mgmt_stop_server_listening

RpcMgmtStopServerListening

[MSDN-RpcMgmtStopSvrListening]

rpc_network_inq_protseqs

RpcNetworkInqProtseqs

[MSDN-RpcNetworkInqProtseqs]

rpc_network_is_protseq_valid

RpcNetworkIsProtseqValid

[MSDN-RpcNetworkIsProtseqValid]

rpc_object_inq_type

RpcObjectInqType

[MSDN-RpcObjectInqType]

rpc_object_set_inq_fn

RpcObjectSetInqFn

[MSDN-RpcObjectSetInqFn]

rpc_object_set_type

RpcObjectSetType

[MSDN-RpcObjectSetType]

rpc_protseq_vector_free

RpcProtseqVectorFree

[MSDN-RpcProtseqVectorFree]

rpc_server_inq_bindings

RpcServerInqBindings

[MSDN-RpcServerInqBindings]

rpc_server_inq_if

RpcServerInqIf

[MSDN-RpcServerInqIf]

rpc_server_listen

RpcServerListen

[MSDN-RpcServerListen]

rpc_server_register_auth_info

RpcServerRegisterAuthInfo

[MSDN-RpcServerRegisterAuthInfo]

rpc_server_register_if

RpcServerRegisterIf

[MSDN-RpcServerRegisterIf]

rpc_server_unregister_if

RpcServerUnregisterIf

[MSDN-RpcServerUnregisterIf]

rpc_server_use_all_protseqs

RpcServerUseAllProtseqs

[MSDN-RpcServerUseAllProtseqs]

rpc_server_use_all_protseqs_if

RpcServerUseAllProtseqsIf

[MSDN-RpcServerUseAllProtseqsIf]

rpc_server_use_protseq

RpcServerUseProtseq

[MSDN-RpcServerUseProtseq]

rpc_server_use_protseq_ep

RpcServerUseProtseqEp

[MSDN-RpcServerUseProtseqEp]

rpc_server_use_protseq_if

RpcServerUseProtseqIf

[MSDN-RpcServerUseProtseqIf]

rpc_sm_allocate

RpcSmAllocate

[MSDN-RpcSmAllocate]

rpc_sm_client_free

RpcSmClientFree

[MSDN-RpcSmClientFree]

rpc_sm_destroy_client_context

RpcSmDestroyClientContext

[MSDN-RpcSmDestroyClientContext]

rpc_sm_disable_allocate

RpcSmDisableAllocate

[MSDN-RpcSmDisableAllocate]

rpc_sm_enable_allocate

RpcSmEnableAllocate

[MSDN-RpcSmEnableAllocate]

rpc_sm_free

RpcSmFree

[MSDN-RpcSmFree]

rpc_sm_get_thread_handle

RpcSmGetThreadHandle

[MSDN-RpcSmGetThreadHandle]

rpc_sm_set_client_alloc_free

RpcSmSetClientAllocFree

[MSDN-RpcSmSetClientAllocFree]

rpc_sm_set_thread_handle

RpcSmSetThreadHandle

[MSDN-RpcSmSetThreadHandle]

rpc_sm_swap_client_alloc_free

RpcSmSwapClientAllocFree

[MSDN-RpcSmSwapClientAllocFree]

rpc_string_binding_compose

RpcStringBindingCompose

[MSDN-RpcStringBindingCompose]

rpc_string_binding_parse

RpcStringBindingParse

[MSDN-RpcStringBindingParse]

rpc_string_free

RpcStringFree

[MSDN-RpcStringFree]

uuid_compare

UuidCompare

[MSDN-UuidCompare]

uuid_create

UuidCreate

[MSDN-UuidCreate]

uuid_create_nil

UuidCreateNil

[MSDN-UuidCreateNil]

uuid_equal

UuidEqual

[MSDN-UuidEqual]

uuid_from_string

UuidFromString

[MSDN-UuidFromString]

uuid_hash

UuidHash

[MSDN-UuidHash]

uuid_is_nil

UuidIsNil

[MSDN-UuidIsNil]

uuid_to_string

UuidToString

[MSDN-UuidToString]