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.

55 lines
1.2 KiB

  1. //***************************************************************************
  2. //
  3. // PRIVATE.H
  4. //
  5. // Module: NLB Manager (client-side exe)
  6. //
  7. // Purpose: Common include file.
  8. //
  9. // Copyright (c)2001 Microsoft Corporation, All Rights Reserved
  10. //
  11. // History:
  12. //
  13. // 07/27/01 JosephJ Created
  14. //
  15. //***************************************************************************
  16. #pragma once
  17. #define BUGFIX334243 1
  18. #define BUGFIX476216 1
  19. #define ASIZE(_array) (sizeof(_array)/sizeof(_array[0]))
  20. #include "utils.h"
  21. #include "engine.h"
  22. class LeftView;
  23. class Document;
  24. class DetailsView;
  25. class LogView;
  26. //
  27. // Fake placeholders for now
  28. //
  29. #define dataSink(_val) (0)
  30. void DummyAction(LPCWSTR szMsg);
  31. extern CNlbEngine gEngine;
  32. #include "MNLBUIData.h"
  33. #include "document.h"
  34. #include "leftview.h"
  35. #include "detailsview.h"
  36. #include "logview.h"
  37. #include "application.h"
  38. #include "resource.h"
  39. //
  40. // Use this to copy to an array (not pointer) destination
  41. //
  42. #define ARRAYSTRCPY(_dest, _src) \
  43. StringCbCopy((_dest), sizeof(_dest), (_src))
  44. #define ARRAYSTRCAT(_dest, _src) \
  45. StringCbCat((_dest), sizeof(_dest), (_src))