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.

67 lines
2.6 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. #ifndef DPNBUILD_NOADDRESSIPINTERFACE
  22. //**********************************************************************
  23. // Constant definitions
  24. //**********************************************************************
  25. //**********************************************************************
  26. // Macro definitions
  27. //**********************************************************************
  28. //**********************************************************************
  29. // Structure definitions
  30. //**********************************************************************
  31. //**********************************************************************
  32. // Variable definitions
  33. //**********************************************************************
  34. //
  35. // VTable for client interface
  36. //
  37. extern IDirectPlay8AddressIPVtbl DP8A_IPVtbl;
  38. //**********************************************************************
  39. // Function prototypes
  40. //**********************************************************************
  41. //
  42. // DirectPlay8AddressTCP
  43. //
  44. STDMETHODIMP DP8ATCP_BuildFromSockAddr( IDirectPlay8AddressIP *pInterface, const SOCKADDR * const pSockAddr );
  45. STDMETHODIMP DP8ATCP_BuildAddressW( IDirectPlay8AddressIP *pInterface, const WCHAR * const pwszAddress, const USHORT usPort );
  46. STDMETHODIMP DP8ATCP_GetSockAddress( IDirectPlay8AddressIP *pInterface, SOCKADDR *pSockAddr, PDWORD pdwBufferSize );
  47. STDMETHODIMP DP8ATCP_GetLocalAddress( IDirectPlay8AddressIP *pInterface, GUID * pguidAdapter, USHORT *psPort );
  48. STDMETHODIMP DP8ATCP_GetAddressW( IDirectPlay8AddressIP *pInterface, WCHAR * pwszAddress, PDWORD pdwAddressLength, USHORT *psPort );
  49. STDMETHODIMP DP8ATCP_BuildLocalAddress( IDirectPlay8AddressIP *pInterface, const GUID * const pguidAdapter, const USHORT psPort );
  50. #endif // ! DPNBUILD_NOADDRESSIPINTERFACE
  51. #endif // __ADDTCP_H__