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.

59 lines
2.4 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 2000 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: addbase.h
  6. * Content: DirectPlay8Address TCP interface header file
  7. *@@BEGIN_MSINTERNAL
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 02/04/2000 rmt Created
  12. * 02/17/2000 rmt Parameter validation work
  13. * 02/20/2000 rmt Changed ports to USHORTs
  14. * 02/21/2000 rmt Updated to make core Unicode and remove ANSI calls
  15. * 03/21/2000 rmt Renamed all DirectPlayAddress8's to DirectPlay8Addresses
  16. *@@END_MSINTERNAL
  17. *
  18. ***************************************************************************/
  19. #ifndef __ADDTCP_H__
  20. #define __ADDTCP_H__
  21. //**********************************************************************
  22. // Constant definitions
  23. //**********************************************************************
  24. //**********************************************************************
  25. // Macro definitions
  26. //**********************************************************************
  27. //**********************************************************************
  28. // Structure definitions
  29. //**********************************************************************
  30. //**********************************************************************
  31. // Variable definitions
  32. //**********************************************************************
  33. //
  34. // VTable for client interface
  35. //
  36. extern IDirectPlay8AddressIPVtbl DP8A_IPVtbl;
  37. //**********************************************************************
  38. // Function prototypes
  39. //**********************************************************************
  40. //
  41. // DirectPlay8AddressTCP
  42. //
  43. STDMETHODIMP DP8ATCP_BuildFromSockAddr( IDirectPlay8AddressIP *pInterface, const SOCKADDR * const pSockAddr );
  44. STDMETHODIMP DP8ATCP_BuildAddressW( IDirectPlay8AddressIP *pInterface, const WCHAR * const pwszAddress, const USHORT usPort );
  45. STDMETHODIMP DP8ATCP_GetSockAddress( IDirectPlay8AddressIP *pInterface, SOCKADDR *pSockAddr, PDWORD pdwBufferSize );
  46. STDMETHODIMP DP8ATCP_GetLocalAddress( IDirectPlay8AddressIP *pInterface, GUID * pguidAdapter, USHORT *psPort );
  47. STDMETHODIMP DP8ATCP_GetAddressW( IDirectPlay8AddressIP *pInterface, WCHAR * pwszAddress, PDWORD pdwAddressLength, USHORT *psPort );
  48. STDMETHODIMP DP8ATCP_BuildLocalAddress( IDirectPlay8AddressIP *pInterface, const GUID * const pguidAdapter, const USHORT psPort );
  49. #endif