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.

66 lines
1.1 KiB

  1. /*++
  2. Copyright(c) 2001 Microsoft Corporation
  3. Module Name:
  4. NLB Manager provider test harness
  5. File Name:
  6. private.h
  7. Abstract:
  8. Internal headers
  9. History:
  10. 04/08/01 JosephJ Created
  11. --*/
  12. // #include "windows.h"
  13. // #include <ntddk.h>
  14. //
  15. // Preceed parameters passed by reference by this...
  16. //
  17. #define REF
  18. #include <FWcommon.h>
  19. #include <assert.h>
  20. #include <objbase.h>
  21. #include <initguid.h>
  22. #include <strsafe.h>
  23. #include "wlbsconfig.h"
  24. #include "myntrtl.h"
  25. #include "wlbsparm.h"
  26. #include <wlbsiocl.h>
  27. #include <nlberr.h>
  28. #include <cfgutil.h>
  29. #include "updatecfg.h"
  30. #include "eventlog.h"
  31. //
  32. // Debugging stuff...
  33. //
  34. extern BOOL g_DoBreaks;
  35. #define MyBreak(_str) ((g_DoBreaks) ? (OutputDebugString(_str),DebugBreak(),1):0)
  36. #define ASSERT assert
  37. #define ASIZE(_array) (sizeof(_array)/sizeof(_array[0]))
  38. //
  39. // Use this to copy to an array (not pointer) destination
  40. //
  41. #define ARRAYSTRCPY(_dest, _src) \
  42. StringCbCopy((_dest), sizeof(_dest), (_src))
  43. #define ARRAYSTRCAT(_dest, _src) \
  44. StringCbCat((_dest), sizeof(_dest), (_src))