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.

79 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. confpdu.h
  5. Abstract:
  6. Declaration of the data structures used in the communication between
  7. the IPconf tsp and the ipconf msp.
  8. Author:
  9. Mu Han (muhan) 5-September-1998
  10. --*/
  11. #ifndef __CONFPDU_H_
  12. #define __CONFPDU_H_
  13. typedef enum
  14. {
  15. // sent from TSP to MSP to start a call
  16. CALL_START,
  17. // sent from TSP to MSP to stop a call
  18. CALL_STOP,
  19. // sent from MSP to TSP to notify that the call is connected.
  20. CALL_CONNECTED,
  21. // sent from MSP to TSP to notify that the call is disconnected.
  22. CALL_DISCONNECTED,
  23. // sent from MSP to TSP to notify that the call is disconnected.
  24. CALL_QOS_EVENT
  25. } TSP_MSP_COMMAND;
  26. typedef struct _MSG_CALL_START
  27. {
  28. DWORD dwAudioQOSLevel;
  29. DWORD dwVideoQOSLevel;
  30. DWORD dwSDPLen; // number of wchars in the string.
  31. WCHAR szSDP[1];
  32. } MSG_CALL_START, *PMSG_CALL_START;
  33. typedef struct _MSG_CALL_DISCONNECTED
  34. {
  35. DWORD dwReason;
  36. } MSG_CALL_DISCONNECTED, *PMSG_CALL_DISCONNECTED;
  37. typedef struct _MSG_QOSEVENT
  38. {
  39. DWORD dwEvent;
  40. DWORD dwMediaMode;
  41. } MSG_QOS_EVENT, *PMSG_QOS_EVENT;
  42. typedef struct _TSPMSPDATA
  43. {
  44. TSP_MSP_COMMAND command;
  45. union
  46. {
  47. MSG_CALL_START CallStart;
  48. MSG_CALL_DISCONNECTED CallDisconnected;
  49. MSG_QOS_EVENT QosEvent;
  50. };
  51. } MSG_TSPMSPDATA, *PMSG_TSPMSPDATA;
  52. #endif //__CONFPDU_H_