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.9 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1995 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: voice.h
  6. * Content: Direct Net Voice Transport Interface
  7. *@@BEGIN_MSINTERNAL
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 01/17/00 rmt Created
  12. *@@END_MSINTERNAL
  13. *
  14. ***************************************************************************/
  15. #ifndef __VOICE_H__
  16. #define __VOICE_H__
  17. //**********************************************************************
  18. // Constant definitions
  19. //**********************************************************************
  20. //**********************************************************************
  21. // Macro definitions
  22. //**********************************************************************
  23. //**********************************************************************
  24. // Structure definitions
  25. //**********************************************************************
  26. typedef struct _DIRECTNETOBJECT DIRECTNETOBJECT, *PDIRECTNETOBJECT;
  27. //**********************************************************************
  28. // Variable definitions
  29. //**********************************************************************
  30. //
  31. // VTable for peer interface
  32. //
  33. //extern IDirectPlayVoiceTransportVtbl DN_VoiceTbl;
  34. #ifndef DPNBUILD_NOVOICE
  35. HRESULT Voice_Notify( PDIRECTNETOBJECT pObject, DWORD dwMsgID, DWORD_PTR dwParam1, DWORD_PTR dwParam2, DWORD dwObjectType = DVTRANSPORT_OBJECTTYPE_BOTH );
  36. HRESULT Voice_Receive(PDIRECTNETOBJECT pObject, DVID dvidFrom, DVID dvidTo, LPVOID lpvMessage, DWORD dwMessageLen );
  37. #endif // !DPNBUILD_NOVOICE
  38. //**********************************************************************
  39. // Function prototypes
  40. //**********************************************************************
  41. #endif // __VOICE_H__