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.

51 lines
1.8 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: dvserver.h
  6. * Content: Defines functions for the DirectXVoiceServer interface
  7. *
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 02/07/99 rodtoll Created It
  12. * 08/25/99 rodtoll General Cleanup/Modifications to support new
  13. * compression sub-system.
  14. * Added parameter to GetCompressionTypes
  15. * 09/14/99 rodtoll Added DVS_SetNotifyMask
  16. * 01/14/2000 rodtoll Updated with new parameters for Set/GetTransmitTarget
  17. ***************************************************************************/
  18. #ifndef __DVSERVER__
  19. #define __DVSERVER__
  20. class CDirectVoiceServerEngine;
  21. volatile struct DIRECTVOICESERVEROBJECT : public DIRECTVOICEOBJECT
  22. {
  23. CDirectVoiceServerEngine *lpDVServerEngine;
  24. };
  25. typedef DIRECTVOICESERVEROBJECT *LPDIRECTVOICESERVEROBJECT;
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29. STDAPI DVS_QueryInterface( LPDIRECTVOICESERVEROBJECT lpDVC, REFIID riid, LPVOID * ppvObj );
  30. STDAPI DVS_StartSession(LPDIRECTVOICESERVEROBJECT, LPDVSESSIONDESC, DWORD );
  31. STDAPI DVS_StopSession(LPDIRECTVOICESERVEROBJECT, DWORD );
  32. STDAPI DVS_GetSessionDesc(LPDIRECTVOICESERVEROBJECT, LPDVSESSIONDESC );
  33. STDAPI DVS_SetSessionDesc(LPDIRECTVOICESERVEROBJECT, LPDVSESSIONDESC );
  34. STDAPI DVS_GetCaps(LPDIRECTVOICESERVEROBJECT, LPDVCAPS );
  35. STDAPI DVS_GetCompressionTypes( LPDIRECTVOICESERVEROBJECT, LPVOID, LPDWORD, LPDWORD, DWORD );
  36. STDAPI DVS_SetTransmitTarget( LPDIRECTVOICESERVEROBJECT, DVID, PDVID, DWORD, DWORD );
  37. STDAPI DVS_GetTransmitTarget( LPDIRECTVOICESERVEROBJECT, DVID, LPDVID, PDWORD, DWORD );
  38. STDAPI DVS_Release(LPDIRECTVOICESERVEROBJECT lpDV );
  39. STDAPI DVS_SetNotifyMask( LPDIRECTVOICESERVEROBJECT, LPDWORD, DWORD );
  40. #ifdef __cplusplus
  41. }
  42. #endif
  43. #endif