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
885 B
53 lines
885 B
//+----------------------------------------------------------------------------
|
|
//
|
|
// Copyright (C) 2000, Microsoft Corporation
|
|
//
|
|
// File: struct.h
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef _STRUCT_H
|
|
#define _STRUCT_H
|
|
|
|
//
|
|
// Globals
|
|
//
|
|
|
|
//
|
|
// Undocumented
|
|
//
|
|
extern BOOLEAN fSwDebug;
|
|
|
|
VOID
|
|
MyPrintf(
|
|
PWCHAR format,
|
|
...);
|
|
|
|
VOID
|
|
MyFPrintf(
|
|
HANDLE hHandle,
|
|
PWCHAR format,
|
|
...);
|
|
|
|
typedef enum tagSHARESTATUS
|
|
{
|
|
PathLocal,
|
|
ShareOffline,
|
|
ShareOnline,
|
|
NoCSC
|
|
} SHARESTATUS;
|
|
|
|
//
|
|
// How we make args & switches
|
|
//
|
|
|
|
#define MAKEARG(x) \
|
|
WCHAR Arg##x[] = L"/" L#x L":"; \
|
|
LONG ArgLen##x = (sizeof(Arg##x) / sizeof(WCHAR)) - 1; \
|
|
BOOLEAN fArg##x;
|
|
|
|
#define SWITCH(x) \
|
|
WCHAR Sw##x[] = L"/" L#x ; \
|
|
BOOLEAN fSw##x;
|
|
|
|
#endif _STRUCT_H
|