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.

73 lines
2.4 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1995 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: Server.h
  6. * Content: DirectNet Server interface header file
  7. *@@BEGIN_MSINTERNAL
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 07/21/99 mjn Created
  12. * 10/08/99 jtk Split from DNCore.h
  13. * 12/03/99 jtk Moved COM interface definitions to DNet.h
  14. * 02/15/00 mjn Use INFO flags in SetServerInfo and return context in GetClientInfo
  15. * 04/06/00 mjn Added GetClientAddress to API
  16. * 07/24/01 mjn Added DPNBUILD_NOSERVER compile flag
  17. *@@END_MSINTERNAL
  18. *
  19. ***************************************************************************/
  20. #ifndef __SERVER_H__
  21. #define __SERVER_H__
  22. #ifndef DPNBUILD_NOSERVER
  23. //**********************************************************************
  24. // Constant definitions
  25. //**********************************************************************
  26. //**********************************************************************
  27. // Macro definitions
  28. //**********************************************************************
  29. //**********************************************************************
  30. // Structure definitions
  31. //**********************************************************************
  32. //**********************************************************************
  33. // Variable definitions
  34. //**********************************************************************
  35. //
  36. // VTable for server interface
  37. //
  38. extern IDirectPlay8ServerVtbl DN_ServerVtbl;
  39. //**********************************************************************
  40. // Function prototypes
  41. //**********************************************************************
  42. //
  43. // DirectNet - IDirectPlay8Server
  44. //
  45. STDMETHODIMP DN_SetServerInfo(IDirectPlay8Server *pInterface,
  46. const DPN_PLAYER_INFO *const pdpnPlayerInfo,
  47. PVOID const pvAsyncContext,
  48. DPNHANDLE *const phAsyncHandle,
  49. const DWORD dwFlags);
  50. STDMETHODIMP DN_GetClientInfo(IDirectPlay8Server *pInterface,
  51. const DPNID dpnid,
  52. DPN_PLAYER_INFO *const pdpnPlayerInfo,
  53. DWORD *const pdwSize,
  54. const DWORD dwFlags);
  55. STDMETHODIMP DN_GetClientAddress(IDirectPlay8Server *pInterface,
  56. const DPNID dpnid,
  57. IDirectPlay8Address **const ppAddress,
  58. const DWORD dwFlags);
  59. #endif // DPNBUILD_NOSERVER
  60. #endif // __SERVER_H__