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.
60 lines
1.1 KiB
60 lines
1.1 KiB
/*++
|
|
|
|
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 <FWcommon.h>
|
|
#include <assert.h>
|
|
#include <objbase.h>
|
|
#include <initguid.h>
|
|
#include <strsafe.h>
|
|
#include "wlbsconfig.h"
|
|
#include "myntrtl.h"
|
|
#include "wlbsparm.h"
|
|
#include <nlberr.h>
|
|
#include <cfgutil.h>
|
|
#include <nlbclient.h>
|
|
#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))
|
|
|