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.

72 lines
3.3 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1998-2001 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: WSockSP.h
  6. * Content: declaration of DN Winsock SP functions
  7. *
  8. *
  9. * History:
  10. * Date By Reason
  11. * ==== == ======
  12. * 10/26/98 jwo Created it.
  13. ***************************************************************************/
  14. #ifndef __WSOCKSP_H__
  15. #define __WSOCKSP_H__
  16. //**********************************************************************
  17. // Constant definitions
  18. //**********************************************************************
  19. //**********************************************************************
  20. // Macro definitions
  21. //**********************************************************************
  22. //**********************************************************************
  23. // Structure definitions
  24. //**********************************************************************
  25. //**********************************************************************
  26. // Variable definitions
  27. //**********************************************************************
  28. //**********************************************************************
  29. // Function prototypes
  30. //**********************************************************************
  31. STDMETHODIMP DNSP_Initialize( IDP8ServiceProvider*, SPINITIALIZEDATA* );
  32. STDMETHODIMP_(ULONG) DNSP_AddRef( IDP8ServiceProvider* pDNSP );
  33. STDMETHODIMP_(ULONG) DNSP_Release( IDP8ServiceProvider* pDNSP );
  34. STDMETHODIMP DNSP_Connect( IDP8ServiceProvider*, SPCONNECTDATA* );
  35. STDMETHODIMP DNSP_Disconnect( IDP8ServiceProvider*, SPDISCONNECTDATA* );
  36. STDMETHODIMP DNSP_Listen( IDP8ServiceProvider*, SPLISTENDATA* );
  37. STDMETHODIMP DNSP_EnumQuery( IDP8ServiceProvider*, SPENUMQUERYDATA* );
  38. STDMETHODIMP DNSP_EnumRespond( IDP8ServiceProvider*, SPENUMRESPONDDATA* );
  39. STDMETHODIMP DNSP_SendData( IDP8ServiceProvider*, SPSENDDATA* );
  40. STDMETHODIMP DNSP_CancelCommand( IDP8ServiceProvider*, HANDLE, DWORD );
  41. STDMETHODIMP DNSP_Close( IDP8ServiceProvider* );
  42. STDMETHODIMP DNSP_GetCaps( IDP8ServiceProvider*, SPGETCAPSDATA* );
  43. STDMETHODIMP DNSP_SetCaps( IDP8ServiceProvider*, SPSETCAPSDATA* );
  44. STDMETHODIMP DNSP_ReturnReceiveBuffers( IDP8ServiceProvider*, SPRECEIVEDBUFFER* );
  45. STDMETHODIMP DNSP_GetAddressInfo( IDP8ServiceProvider*, SPGETADDRESSINFODATA* );
  46. STDMETHODIMP DNSP_Update( IDP8ServiceProvider*, SPUPDATEDATA* );
  47. #ifndef DPNBUILD_LIBINTERFACE
  48. STDMETHODIMP DNSP_IsApplicationSupported( IDP8ServiceProvider*, SPISAPPLICATIONSUPPORTEDDATA* );
  49. #endif // ! DPNBUILD_LIBINTERFACE
  50. #ifndef DPNBUILD_ONLYONEADAPTER
  51. STDMETHODIMP DNSP_EnumAdapters( IDP8ServiceProvider*, SPENUMADAPTERSDATA* );
  52. #endif // ! DPNBUILD_ONLYONEADAPTER
  53. #ifndef DPNBUILD_SINGLEPROCESS
  54. STDMETHODIMP DNSP_ProxyEnumQuery( IDP8ServiceProvider*, SPPROXYENUMQUERYDATA* );
  55. #endif // ! DPNBUILD_SINGLEPROCESS
  56. STDMETHODIMP DNSP_NotSupported( IDP8ServiceProvider*, PVOID );
  57. #ifndef DPNBUILD_NOMULTICAST
  58. STDMETHODIMP DNSP_EnumMulticastScopes( IDP8ServiceProvider*, SPENUMMULTICASTSCOPESDATA* );
  59. STDMETHODIMP DNSP_ShareEndpointInfo( IDP8ServiceProvider*, SPSHAREENDPOINTINFODATA* );
  60. STDMETHODIMP DNSP_GetEndpointByAddress( IDP8ServiceProvider*, SPGETENDPOINTBYADDRESSDATA* );
  61. #endif // ! DPNBUILD_NOMULTICAST
  62. #endif // __WSOCKSP_H__