/*++ Copyright(c) 2001 Microsoft Corporation Module Name: NLB Manager provider test harness File Name: private.h Abstract: Internal headers History: 04/08/01 JosephJ Created --*/ // #define NLB_USE_MUTEX 1 #include #include #include #include #include #include "wlbsconfig.h" #include "myntrtl.h" #include "wlbsparm.h" #include #include #include #include "fake.h" // // Debugging stuff... // extern BOOL g_DoBreaks; #define MyBreak(_str) ((g_DoBreaks) ? (OutputDebugString(_str),DebugBreak(),1):0) extern BOOL g_Fake; // If true, operate in "fake mode" -- see NlbHostFake() #define REF #define ASSERT assert #define ASIZE(_array) (sizeof(_array)/sizeof(_array[0])) // // Use this to copy to an array (not pointer) destination // #define ARRAYSTRCPY(_dest, _src) \ StringCbCopy((_dest), sizeof(_dest), (_src)) #define ARRAYSTRCAT(_dest, _src) \ StringCbCat((_dest), sizeof(_dest), (_src))