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.

53 lines
1.7 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 2000 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: QueuedMsg.cpp
  6. * Content: Queued Message Objects
  7. *@@BEGIN_MSINTERNAL
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 07/31/00 mjn Created
  12. *@@END_MSINTERNAL
  13. *
  14. ***************************************************************************/
  15. #include "dncorei.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. //**********************************************************************
  32. // Function definitions
  33. //**********************************************************************
  34. #undef DPF_MODNAME
  35. #define DPF_MODNAME "CQueuedMsg::SetAsyncOp"
  36. void CQueuedMsg::SetAsyncOp(CAsyncOp *const pAsyncOp)
  37. {
  38. if (pAsyncOp)
  39. {
  40. pAsyncOp->AddRef();
  41. }
  42. m_pAsyncOp = pAsyncOp;
  43. };