Leaked source code of windows server 2003
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.

57 lines
1.2 KiB

  1. /*
  2. * mportmsg.h
  3. *
  4. * Copyright (c) 1993 - 1995 by DataBeam Corporation, Lexington, KY
  5. *
  6. * Abstract:
  7. *
  8. * Portable:
  9. *
  10. * Author:
  11. * James P. Galvin, Jr.
  12. */
  13. #ifndef _LISTEN_MCS_PORTAL_MESSAGE_
  14. #define _LISTEN_MCS_PORTAL_MESSAGE_
  15. #define LISTEN_PORTAL_NAME "MCS Listen Portal"
  16. #define USER_PORTAL_NAME "MCS User Portal"
  17. #define LISTEN_CREATE_PORTAL_REQUEST 0
  18. #define LISTEN_CREATE_PORTAL_CONFIRM 1
  19. #define LISTEN_NO_ERROR 0
  20. #define LISTEN_CREATE_FAILED 1
  21. #define USER_PORTAL_NAME_LENGTH 32
  22. /*
  23. * The following type defines a container that is used to map domain selectors to
  24. * portal memory addresses. This is necessary to find the right in-process
  25. * MCS portal for each domain.
  26. */
  27. typedef struct
  28. {
  29. } LPCreatePortalRequest;
  30. typedef struct
  31. {
  32. ULong return_value;
  33. unsigned int portal_id;
  34. } LPCreatePortalConfirm;
  35. typedef struct
  36. {
  37. } LPClosePortalRequest;
  38. typedef struct
  39. {
  40. unsigned int message_type;
  41. union
  42. {
  43. LPCreatePortalRequest create_portal_request;
  44. LPCreatePortalConfirm create_portal_confirm;
  45. } u;
  46. } ListenPortalMessage;
  47. typedef ListenPortalMessage * PListenPortalMessage;
  48. #endif