/*++ Copyright (c) 1991 Microsoft Corporation Module Name: ws.h Abstract: Private header file for the NT Workstation service included by every module of the Workstation service. Author: Rita Wong (ritaw) 15-Feb-1991 Revision History: --*/ #ifndef _WS_INCLUDED_ #define _WS_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 // LAN Man utility routines #include // NetpNtStatusToApiStatus #include // NetpDbgPrint #include // Transitional string functions #include // I_Net canonicalize functions #include // ROUND_UP_COUNT macro #include // DataTypes and runtime APIs #include // Prototypes for MIDL user functions #include // Generated by the MIDL complier // // Debug trace level bits for turning on/off trace statements in the // Workstation service // // // NetWksta[Get|Set]Info APIs // #define WKSTA_DEBUG_INFO 0x00000001 // // NetWkstaUser APIs // #define WKSTA_DEBUG_USER 0x00000002 // // NetUse APIs // #define WKSTA_DEBUG_USE 0x00000004 // // NetAlert APIs // #define WKSTA_DEBUG_ALERT 0x00000008 // // NetServerEnum // #define WKSTA_DEBUG_SERVER_ENUM 0x00000010 // // Utility trace statements // #define WKSTA_DEBUG_UTIL 0x00000020 // // Configuration trace statements // #define WKSTA_DEBUG_CONFIG 0x00000040 // // Main service functionality // #define WKSTA_DEBUG_MAIN 0x00000080 // // NetMessageBufferSend // #define WKSTA_DEBUG_MESSAGE 0x00000100 // // Logon support trace statements // #define WKSTA_DEBUG_LOGON 0x00000200 // // Logon support trace statements // #define WKSTA_DEBUG_START 0x00000400 // // All debug flags on // #define WKSTA_DEBUG_ALL 0xFFFFFFFF #if DBG #define STATIC extern DWORD WorkstationTrace; #define DEBUG if (TRUE) #define IF_DEBUG(Function) if (WorkstationTrace & WKSTA_DEBUG_ ## Function) #else #define STATIC static #define DEBUG if (FALSE) #define IF_DEBUG(Function) if (FALSE) #endif // DBG extern NET_API_STATUS WsUpdateStatus( VOID ); #endif // ifdef _WS_INCLUDED_