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.

86 lines
1.9 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. #include "precomp.h"
  26. #include "apierror.h"
  27. #include "incommon.h"
  28. #include "callcont.h"
  29. #include "q931.h"
  30. #include "ccmain.h"
  31. HRESULT InitUserManager()
  32. {
  33. return CC_OK;
  34. }
  35. HRESULT DeInitUserManager()
  36. {
  37. return CC_OK;
  38. }
  39. HRESULT InvokeUserListenCallback( PLISTEN pListen,
  40. HRESULT status,
  41. PCC_LISTEN_CALLBACK_PARAMS pListenCallbackParams)
  42. {
  43. ASSERT(pListen != NULL);
  44. ASSERT(pListenCallbackParams != NULL);
  45. pListen->ListenCallback(status, pListenCallbackParams);
  46. return CC_OK;
  47. }
  48. HRESULT InvokeUserConferenceCallback(
  49. PCONFERENCE pConference,
  50. BYTE bIndication,
  51. HRESULT status,
  52. void * pConferenceCallbackParams)
  53. {
  54. HRESULT ReturnStatus;
  55. ASSERT(pConference != NULL);
  56. // Note that ConferenceCallback and/or pConferenceCallbackParams may legitimately be NULL
  57. if ((pConference->ConferenceCallback != NULL) &&
  58. (pConference->LocalEndpointAttached != DETACHED)) {
  59. ReturnStatus = pConference->ConferenceCallback(bIndication,
  60. status,
  61. pConference->hConference,
  62. pConference->dwConferenceToken,
  63. pConferenceCallbackParams);
  64. } else {
  65. ReturnStatus = CC_OK;
  66. }
  67. return ReturnStatus;
  68. }