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.

223 lines
4.5 KiB

  1. /*++
  2. Copyright (c) 1997-1999 Microsoft Corporation
  3. Module Name:
  4. Callcent.h
  5. Abstract:
  6. Author:
  7. noela 12-04-97
  8. Notes:
  9. Revision History:
  10. --*/
  11. #ifndef __callcentre_h__
  12. #define __callcentre_h__
  13. /*
  14. // Proxy message - LINEPROXYREQUEST_ENUMAGENTS : struct - GetAgentList
  15. LONG
  16. WINAPI
  17. lineGetAgentList(
  18. HLINE hLine,
  19. LPAGENTLIST lpAgentList
  20. );
  21. HRESULT
  22. LineGetAgentList(
  23. HLINE hLine,
  24. LPAGENTLIST *ppAgentList
  25. );
  26. // Proxy message - LINEPROXYREQUEST_FINDAGENT : struct - FindAgent
  27. LONG
  28. WINAPI
  29. lineGetAgent(
  30. HLINE hLine,
  31. LPAGENTENTRY lpAgent
  32. );
  33. // Proxy message - LINEPROXYREQUEST_AGENTINFO : struct - GetAgentInfo
  34. LONG
  35. WINAPI
  36. lineGetAgentInfo(
  37. HLINE hLine,
  38. LPAGENTINFO lpAgentInfo
  39. );
  40. // Proxy message - LINEPROXYREQUEST_AGENTGETPERIOD : struct - GetSetAgentMeasurementPeriod
  41. LONG
  42. WINAPI
  43. LineGetAgentMeasurementPeriod(
  44. HLINE hLine,
  45. DWORD dwAgentHandle,
  46. LPDWORD lpdwMeasurementPeriod
  47. );
  48. // Proxy message - LINEPROXYREQUEST_AGENTSETPERIOD : struct - GetSetAgentMeasurementPeriod
  49. LONG
  50. WINAPI
  51. LineSetAgentMeasurementPeriod(
  52. HLINE hLine,
  53. DWORD dwAgentHandle,
  54. DWORD dwMeasurementPeriod
  55. );
  56. // Proxy mesage LINEPROXYREQUEST_AGENTCREATESESSION :struct - CreateSession
  57. LONG
  58. WINAPI
  59. LineCreateAgentSession(
  60. HLINE hLine,
  61. LPDWORD lpdwAgentSessionHandle,
  62. AGENTENTRY Agent,
  63. DWORD dwAddressID,
  64. DWORD dwGroupAddressID
  65. );
  66. // Proxy message LINEPROXYREQUEST_AGENTENUMSESSIONS : struct - GetAgentSessionList
  67. LONG
  68. WINAPI
  69. lineGetAgentSessionList(
  70. HLINE hLine,
  71. DWORD dwAgentHandle,
  72. LPAGENTSESSIONLIST lpAgentSessionList
  73. );
  74. HRESULT LineGetAgentSessionList(
  75. HLINE hLine,
  76. DWORD dwAgentHandle,
  77. LPAGENTSESSIONLIST *ppAgentSessionList
  78. );
  79. // Proxy message LINEPROXYREQUEST_AGENTSESSIONSETSTATE : struct - SetAgentSessionState
  80. LONG
  81. WINAPI
  82. lineSetAgentSessionState(
  83. HLINE hLine,
  84. DWORD dwAgentSessionHandle,
  85. DWORD dwAgentState,
  86. DWORD dwNextAgentState
  87. );
  88. // Proxy message LINEPROXYREQUEST_AGENTSESSIONINFO : struct - GetAgentSessionInfo
  89. LONG
  90. WINAPI
  91. lineGetAgentSessionInfo(
  92. HLINE hLine,
  93. LPAGENTSESSIONINFO lpAgentSessionInfo
  94. );
  95. // Proxy message - LINEPROXYREQUEST_QUEUEGETPERIOD : struct - GetSetQueueMeasurementPeriod
  96. LONG
  97. WINAPI
  98. LineGetQueueMeasurementPeriod(
  99. HLINEAPP hLine,
  100. DWORD dwQueueAddressID,
  101. LPDWORD lpdwMeasurementPeriod
  102. );
  103. // Proxy message - LINEPROXYREQUEST_QUEUESETPERIOD : struct - GetSetQueueMeasurementPeriod
  104. LONG
  105. WINAPI
  106. LineSetQueueMeasurementPeriod(
  107. HLINEAPP hLine,
  108. DWORD dwQueueAddressID,
  109. DWORD dwMeasurementPeriod
  110. );
  111. // Proxy message - LINEPROXYREQUEST_QUEUEINFO : struct - GetQueueInfo
  112. LONG
  113. WINAPI
  114. LineGetQueueInfo(
  115. HLINEAPP hLine,
  116. DWORD dwQueueAddressID,
  117. LPQUEUEINFO *lpQueueInfo
  118. );
  119. // Proxy message - LINEPROXYREQUEST_ACDENUMAGENTS : struct - GetACDGroupAgentList
  120. LONG
  121. WINAPI
  122. LineGetGroupAgentList(
  123. HLINE hLine,
  124. DWORD dwACDGroupAddressID,
  125. LPAGENTLIST lpAgentList
  126. );
  127. // Proxy message - LINEPROXYREQUEST_ACDENUMAGENTSESSIONS : struct - GetACDGroupAgentSessionList
  128. LONG
  129. WINAPI
  130. lineGetGroupAgentSessionList(
  131. HLINE hLine,
  132. DWORD dwACDGroupAddressID,
  133. LPAGENTSESSIONLIST lpAgentSessionList
  134. );
  135. HRESULT LineGetGroupAgentSessionList(
  136. HLINE hLine,
  137. DWORD dwACDGroupAddressID,
  138. LPAGENTSESSIONLIST *ppAgentSessionList
  139. );
  140. */
  141. STDMETHODIMP FindAgent(DWORD dwAgentHandle, ITAgent ** ppAgent );
  142. STDMETHODIMP FindGroup(DWORD dwAddressID, ITACDGroup ** ppGroup );
  143. STDMETHODIMP FindQueue(DWORD dwAddressID, ITQueue ** ppQueue );
  144. HRESULT UpdateGlobalAgentSessionList(LPLINEAGENTSESSIONLIST pAgentSessionList);
  145. #endif