windows-nt/Source/XPSP1/NT/com/rpc/runtime/mtrt/epmap.h
2020-09-26 16:20:57 +08:00

78 lines
1.5 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
Copyright (C) Microsoft Corporation, 1991 - 1999
Module Name:
epmap.h
Abstract:
This file specifies the interface to the endpoint mapper Dll which
provides endpoint mapping services to the RPC runtime.
Author:
Michael Montague (mikemon) 06-Jan-1992
Revision History:
--*/
#ifndef __EPMAP_H__
#define __EPMAP_H__
START_C_EXTERN
typedef struct _ProtseqEndpointPair {
char PAPI * Protseq;
char PAPI * Endpoint;
} ProtseqEndpointPair;
RPC_STATUS RPC_ENTRY
EpResolveEndpoint (
IN UUID PAPI * ObjectUuid, OPTIONAL
IN RPC_SYNTAX_IDENTIFIER PAPI * IfId,
IN RPC_SYNTAX_IDENTIFIER PAPI * XferId,
IN RPC_CHAR PAPI * RpcProtocolSequence,
IN RPC_CHAR PAPI * NetworkAddress,
IN RPC_CHAR PAPI * NetworkOptions,
IN OUT void PAPI * PAPI * EpLookupHandle,
IN unsigned ConnTimeout,
IN ULONG CallTimeout,
IN CLIENT_AUTH_INFO *AuthInfo, OPTIONAL
OUT RPC_CHAR * PAPI * Endpoint
);
RPC_STATUS RPC_ENTRY
EpGetEpmapperEndpoint(
IN OUT RPC_CHAR * PAPI * Endpoint,
IN RPC_CHAR PAPI * Protseq
);
void RPC_ENTRY
EpFreeLookupHandle (
IN void PAPI * EpLookupHandle
);
RPC_STATUS RPC_ENTRY
BindToEpMapper(
OUT RPC_BINDING_HANDLE PAPI * MapperHandle,
IN RPC_CHAR * NWAddress OPTIONAL,
IN RPC_CHAR * Protseq OPTIONAL,
IN RPC_CHAR * Options OPTIONAL,
IN unsigned ConnTimeout,
IN ULONG CallTimeout,
IN CLIENT_AUTH_INFO *AuthInfo OPTIONAL
);
RPC_STATUS
InitializeEPMapperClient(
void
);
END_C_EXTERN
#endif // __EPMAP_H__