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.

90 lines
2.0 KiB

  1. /****************************************************************************
  2. *
  3. * $Archive: S:/STURGEON/SRC/CALLCONT/VCS/Userman.c_v $
  4. *
  5. * INTEL Corporation Prorietary Information
  6. *
  7. * This listing is supplied under the terms of a license agreement
  8. * with INTEL Corporation and may not be copied nor disclosed except
  9. * in accordance with the terms of that agreement.
  10. *
  11. * Copyright (c) 1993-1994 Intel Corporation.
  12. *
  13. * $Revision: 1.22 $
  14. * $Date: 22 Jan 1997 14:55:54 $
  15. * $Author: MANDREWS $
  16. *
  17. * Deliverable:
  18. *
  19. * Abstract:
  20. *
  21. *
  22. * Notes:
  23. *
  24. ***************************************************************************/
  25. #pragma warning ( disable : 4115 4201 4214 )
  26. #include <nt.h>
  27. #include <ntrtl.h>
  28. #include <nturtl.h>
  29. #include <windows.h>
  30. #pragma warning ( default : 4115 4201 4214 )
  31. #include "apierror.h"
  32. #include "incommon.h"
  33. #include "callcont.h"
  34. #include "q931.h"
  35. #include "ccmain.h"
  36. HRESULT InitUserManager()
  37. {
  38. return CC_OK;
  39. }
  40. HRESULT DeInitUserManager()
  41. {
  42. return CC_OK;
  43. }
  44. HRESULT InvokeUserListenCallback( PLISTEN pListen,
  45. HRESULT status,
  46. PCC_LISTEN_CALLBACK_PARAMS pListenCallbackParams)
  47. {
  48. ASSERT(pListen != NULL);
  49. ASSERT(pListenCallbackParams != NULL);
  50. pListen->ListenCallback(status, pListenCallbackParams);
  51. return CC_OK;
  52. }
  53. HRESULT InvokeUserConferenceCallback(
  54. PCONFERENCE pConference,
  55. BYTE bIndication,
  56. HRESULT status,
  57. void * pConferenceCallbackParams)
  58. {
  59. HRESULT ReturnStatus;
  60. ASSERT(pConference != NULL);
  61. // Note that ConferenceCallback and/or pConferenceCallbackParams may legitimately be NULL
  62. if ((pConference->ConferenceCallback != NULL) &&
  63. (pConference->LocalEndpointAttached != DETACHED)) {
  64. ReturnStatus = pConference->ConferenceCallback(bIndication,
  65. status,
  66. pConference->hConference,
  67. pConference->dwConferenceToken,
  68. pConferenceCallbackParams);
  69. } else {
  70. ReturnStatus = CC_OK;
  71. }
  72. return ReturnStatus;
  73. }