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.

82 lines
2.9 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 2001 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: Mcast.h
  6. * Content: DirectNet Multicast interface header file
  7. *@@BEGIN_MSINTERNAL
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 10/05/01 vanceo Created
  12. *@@END_MSINTERNAL
  13. *
  14. ***************************************************************************/
  15. #ifndef __MCAST_H__
  16. #define __MCAST_H__
  17. //**********************************************************************
  18. // Constant definitions
  19. //**********************************************************************
  20. //**********************************************************************
  21. // Macro definitions
  22. //**********************************************************************
  23. //**********************************************************************
  24. // Structure definitions
  25. //**********************************************************************
  26. //**********************************************************************
  27. // Variable definitions
  28. //**********************************************************************
  29. //
  30. // VTable for client interface
  31. //
  32. extern IDirectPlay8MulticastVtbl DNMcast_Vtbl;
  33. //**********************************************************************
  34. // Function prototypes
  35. //**********************************************************************
  36. void DNCompleteJoinOperation(DIRECTNETOBJECT *const pdnObject,
  37. CAsyncOp *const pAsyncOp);
  38. void DNCompleteUserJoin(DIRECTNETOBJECT *const pdnObject,
  39. CAsyncOp *const pAsyncOp);
  40. STDMETHODIMP DN_Join(IDirectPlay8Multicast *pInterface,
  41. IDirectPlay8Address *const pGroupAddr,
  42. IUnknown *const pDeviceInfo,
  43. const DPN_SECURITY_DESC *const pdnSecurity,
  44. const DPN_SECURITY_CREDENTIALS *const pdnCredentials,
  45. void *const pvAsyncContext,
  46. DPNHANDLE *const phAsyncHandle,
  47. const DWORD dwFlags);
  48. STDMETHODIMP DN_CreateSenderContext(IDirectPlay8Multicast *pInterface,
  49. IDirectPlay8Address *const pSenderAddress,
  50. void *const pvSenderContext,
  51. const DWORD dwFlags);
  52. STDMETHODIMP DN_DestroySenderContext(IDirectPlay8Multicast *pInterface,
  53. IDirectPlay8Address *const pSenderAddress,
  54. const DWORD dwFlags);
  55. STDMETHODIMP DN_GetGroupAddress(IDirectPlay8Multicast *pInterface,
  56. IDirectPlay8Address **const ppAddress,
  57. const DWORD dwFlags);
  58. STDMETHODIMP DN_EnumMulticastScopes(IDirectPlay8Multicast *pInterface,
  59. const GUID *const pguidServiceProvider,
  60. const GUID *const pguidDevice,
  61. const GUID *const pguidApplication,
  62. DPN_MULTICAST_SCOPE_INFO *const pScopeInfoBuffer,
  63. PDWORD const pcbEnumData,
  64. PDWORD const pcReturned,
  65. const DWORD);
  66. #endif // __MCAST_H__