Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
1.5 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1991 - 1999
  3. Module Name:
  4. epmap.h
  5. Abstract:
  6. This file specifies the interface to the endpoint mapper Dll which
  7. provides endpoint mapping services to the RPC runtime.
  8. Author:
  9. Michael Montague (mikemon) 06-Jan-1992
  10. Revision History:
  11. --*/
  12. #ifndef __EPMAP_H__
  13. #define __EPMAP_H__
  14. START_C_EXTERN
  15. typedef struct _ProtseqEndpointPair {
  16. char PAPI * Protseq;
  17. char PAPI * Endpoint;
  18. } ProtseqEndpointPair;
  19. RPC_STATUS RPC_ENTRY
  20. EpResolveEndpoint (
  21. IN UUID PAPI * ObjectUuid, OPTIONAL
  22. IN RPC_SYNTAX_IDENTIFIER PAPI * IfId,
  23. IN RPC_SYNTAX_IDENTIFIER PAPI * XferId,
  24. IN RPC_CHAR PAPI * RpcProtocolSequence,
  25. IN RPC_CHAR PAPI * NetworkAddress,
  26. IN RPC_CHAR PAPI * NetworkOptions,
  27. IN OUT void PAPI * PAPI * EpLookupHandle,
  28. IN unsigned ConnTimeout,
  29. IN ULONG CallTimeout,
  30. IN CLIENT_AUTH_INFO *AuthInfo, OPTIONAL
  31. OUT RPC_CHAR * PAPI * Endpoint
  32. );
  33. RPC_STATUS RPC_ENTRY
  34. EpGetEpmapperEndpoint(
  35. IN OUT RPC_CHAR * PAPI * Endpoint,
  36. IN RPC_CHAR PAPI * Protseq
  37. );
  38. void RPC_ENTRY
  39. EpFreeLookupHandle (
  40. IN void PAPI * EpLookupHandle
  41. );
  42. RPC_STATUS RPC_ENTRY
  43. BindToEpMapper(
  44. OUT RPC_BINDING_HANDLE PAPI * MapperHandle,
  45. IN RPC_CHAR * NWAddress OPTIONAL,
  46. IN RPC_CHAR * Protseq OPTIONAL,
  47. IN RPC_CHAR * Options OPTIONAL,
  48. IN unsigned ConnTimeout,
  49. IN ULONG CallTimeout,
  50. IN CLIENT_AUTH_INFO *AuthInfo OPTIONAL
  51. );
  52. RPC_STATUS
  53. InitializeEPMapperClient(
  54. void
  55. );
  56. END_C_EXTERN
  57. #endif // __EPMAP_H__