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.

65 lines
2.4 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 2000 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: Receive.h
  6. * Content: DirectNet receive user data
  7. *@@BEGIN_MSINTERNAL
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 01/27/00 mjn Created
  12. * 04/20/00 mjn ReceiveBuffers use CAsyncOp
  13. * 08/02/00 mjn Added dwFlags to DNReceiveUserData()
  14. * mjn Added DNSendUserProcessCompletion()
  15. * 03/30/01 mjn Changes to prevent multiple loading/unloading of SP's
  16. * mjn Added service provider to DNReceiveUserData()
  17. *@@END_MSINTERNAL
  18. *
  19. ***************************************************************************/
  20. #ifndef __RECEIVE_H__
  21. #define __RECEIVE_H__
  22. //**********************************************************************
  23. // Constant definitions
  24. //**********************************************************************
  25. //**********************************************************************
  26. // Macro definitions
  27. //**********************************************************************
  28. //**********************************************************************
  29. // Structure definitions
  30. //**********************************************************************
  31. //**********************************************************************
  32. // Variable definitions
  33. //**********************************************************************
  34. //**********************************************************************
  35. // Function prototypes
  36. //**********************************************************************
  37. HRESULT DNReceiveUserData(DIRECTNETOBJECT *const pdnObject,
  38. CConnection *const pConnection,
  39. BYTE *const pBufferData,
  40. const DWORD dwBufferSize,
  41. const HANDLE hProtocol,
  42. CRefCountBuffer *const pRefCountBuffer,
  43. const DPNHANDLE hCompletionOp,
  44. const DWORD dwFlags);
  45. HRESULT DNSendUserProcessCompletion(DIRECTNETOBJECT *const pdnObject,
  46. CConnection *const pConnection,
  47. const DPNHANDLE hCompletionOp);
  48. void DNFreeProtocolBuffer(void *const pv,void *const pvBuffer);
  49. void DNCompleteReceiveBuffer(DIRECTNETOBJECT *const pdnObject,
  50. CAsyncOp *const pAsyncOp);
  51. //**********************************************************************
  52. // Class prototypes
  53. //**********************************************************************
  54. #endif // __RECEIVE_H__