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.

75 lines
2.5 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 2000 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: Caps.h
  6. * Content: DirectPlay8 Caps routines
  7. *@@BEGIN_MSINTERNAL
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 03/17/00 rmt Created
  12. * 03/25/00 rmt Changed Get/SetActualSPCaps so takes interface instead of obj
  13. * 08/20/00 mjn DNSetActualSPCaps() uses CServiceProvider object instead of GUID
  14. * 03/30/01 mjn Removed cached caps functionallity
  15. *@@END_MSINTERNAL
  16. *
  17. ***************************************************************************/
  18. #ifndef __CAPS_H__
  19. #define __CAPS_H__
  20. //**********************************************************************
  21. // Constant definitions
  22. //**********************************************************************
  23. //**********************************************************************
  24. // Macro definitions
  25. //**********************************************************************
  26. //**********************************************************************
  27. // Structure definitions
  28. //**********************************************************************
  29. class CServiceProvider;
  30. //**********************************************************************
  31. // Variable definitions
  32. //**********************************************************************
  33. //**********************************************************************
  34. // Function prototypes
  35. //**********************************************************************
  36. STDMETHODIMP DN_SetCaps(PVOID pv,
  37. const DPN_CAPS *const pdnCaps,
  38. const DWORD dwFlags);
  39. STDMETHODIMP DN_GetCaps(PVOID pv,
  40. DPN_CAPS *const pdnCaps,
  41. const DWORD dwFlags);
  42. STDMETHODIMP DN_GetSPCaps(PVOID pv,
  43. const GUID * const pguidSP,
  44. DPN_SP_CAPS *const pdnSPCaps,
  45. const DWORD dwFlags);
  46. STDMETHODIMP DN_SetSPCaps(PVOID pv,
  47. const GUID * const pguidSP,
  48. const DPN_SP_CAPS *const pdnSPCaps,
  49. const DWORD dwFlags);
  50. STDMETHODIMP DN_GetConnectionInfo(PVOID pv,
  51. const DPNID dpnid,
  52. DPN_CONNECTION_INFO *const pdpConnectionInfo,
  53. const DWORD dwFlags);
  54. STDMETHODIMP DN_GetServerConnectionInfo(PVOID pv,
  55. DPN_CONNECTION_INFO *const pdpConnectionInfo,
  56. const DWORD dwFlags);
  57. HRESULT DNGetActualSPCaps(CServiceProvider *const pSP,
  58. DPN_SP_CAPS *const pCaps);
  59. #endif // __CONNECT_H__