/*++ Copyright (c) 1991 Microsoft Corporation Module Name: br.h Abstract: Private header file for the NT Browser service included by every module of the Workstation service. Author: Rita Wong (ritaw) 15-Feb-1991 Revision History: --*/ #ifndef _BR_INCLUDED_ #define _BR_INCLUDED_ #include // NT definitions #include // NT runtime library definitions #include #include // Win32 type definitions #include // Win32 base API prototypes #include // Win32 service control APIs #include // LAN Manager common definitions #include // LAN Manager network error definitions #include // LAN Manager service names #include // NetApiBufferFree #include #include // LAN Man utility routines #include // NetpNtStatusToApiStatus #include // NetpDbgPrint #include // Transitional string functions #include // I_Net canonicalize functions #include // ROUND_UP_COUNT macro #include // Intrinsic service definitions #include #include // DataTypes and runtime APIs #include // Prototypes for MIDL user functions #include // Generated by the MIDL complier #include #include #include #include #include // Common browser routines. #include #include #include #include "bowqueue.h" #include "brdomain.h" #include "browsnet.h" #include "browslst.h" #include "brutil.h" #include "brwan.h" #include "brmain.h" #include "brdevice.h" #include "brconfig.h" #include "browsdom.h" #include "brbackup.h" #include "brmaster.h" #include "srvenum.h" // // The following macros are used to establish the semantics needed // to do a return from within a try-finally clause. As a rule every // try clause must end with a label call try_exit. For example, // // try { // : // : // // try_exit: NOTHING; // } finally { // // : // : // } // // Every return statement executed inside of a try clause should use the // try_return macro. If the compiler fully supports the try-finally construct // then the macro should be // // #define try_return(S) { return(S); } // // If the compiler does not support the try-finally construct then the macro // should be // #define try_return(S) { S; goto try_exit; } #if DBG #define BrPrint(_x_) BrowserTrace _x_ #else #define BrPrint(_x_) #endif // DBG #endif // ifdef _BR_INCLUDED_