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.

76 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. dcomss.h
  5. Abstract:
  6. Common services provided by core the orpcss service.
  7. Author:
  8. Mario Goertzel [MarioGo]
  9. Revision History:
  10. MarioGo 06-14-95 Bits 'n pieces
  11. --*/
  12. #ifndef __DCOMSS_H
  13. #define __DCOMSS_H
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. #include <windows.h>
  18. #if DBG && !defined(DEBUGRPC)
  19. #define DEBUGRPC
  20. #endif
  21. // Endpoint related functions
  22. USHORT GetProtseqId(PWSTR Protseq);
  23. USHORT GetProtseqIdAnsi(PSTR Protseq);
  24. PWSTR GetProtseq(USHORT ProtseqId);
  25. PWSTR GetEndpoint(USHORT ProtseqId);
  26. RPC_STATUS UseProtseqIfNecessary(USHORT id);
  27. RPC_STATUS DelayedUseProtseq(USHORT id);
  28. VOID CompleteDelayedUseProtseqs();
  29. BOOL IsLocal(USHORT ProtseqId);
  30. DWORD RegisterAuthInfoIfNecessary(USHORT authnSvc);
  31. extern BOOL gfRegisteredAuthInfo;
  32. extern BOOL s_fEnableDCOM; // Set by StartObjectExporter.
  33. // Shared by wrapper\epts.c and olescm\clsdata.cxx.
  34. typedef enum {
  35. STOPPED = 1,
  36. START,
  37. STARTED
  38. } PROTSEQ_STATE;
  39. typedef struct {
  40. PROTSEQ_STATE state;
  41. PWSTR pwstrProtseq;
  42. PWSTR pwstrEndpoint;
  43. } PROTSEQ_INFO;
  44. extern PROTSEQ_INFO gaProtseqInfo[];
  45. #ifdef __cplusplus
  46. }
  47. #endif
  48. #endif