windows-nt/Source/XPSP1/NT/ds/netapi/svcdlls/wkssvc/client/wsclient.h
2020-09-26 16:20:57 +08:00

82 lines
1.6 KiB
C

/*++
Copyright (c) 1991 Microsoft Corporation
Module Name:
wsclient.h
Abstract:
Private header file for the client end of the Workstation service
modules.
Author:
Rita Wong (ritaw) 10-May-1991
Revision History:
--*/
#include <nt.h> // DbgPrint prototype
#include <ntrtl.h> // DbgPrint
#include <nturtl.h> // Needed by winbase.h
#include <windef.h> // DWORD
#include <winbase.h> // LocalFree
#include <rpc.h> // DataTypes and runtime APIs
#include <rpcutil.h> // GENERIC_ENUM_STRUCT
#include <lmcons.h> // NET_API_STATUS
#include <lmerr.h> // NetError codes
#include <lmremutl.h> // SUPPORTS_RPC
#include <netlibnt.h> // NetpNtStatusToApiStatus
#include <netdebug.h> // NetpDbgPrint
#include <wkssvc.h> // generated by the MIDL complier
#include <wsnames.h> // Service and interface names
//
// Debug trace level bits for turning on/off trace statements in the client
// end of the Workstation service
//
//
// Client stub trace output
//
#define WKSTA_DEBUG_CLIENTSTUBS 0x00000001
//
// Client RPC binding trace output
//
#define WKSTA_DEBUG_RPCBIND 0x00000002
//
// All debug flags on
//
#define WKSTA_DEBUG_ALL 0xFFFFFFFF
#if DBG
#define STATIC
extern DWORD WorkstationClientTrace;
#define DEBUG if (TRUE)
#define IF_DEBUG(Function) if (WorkstationClientTrace & WKSTA_DEBUG_ ## Function)
#else
#define STATIC static
#define DEBUG if (FALSE)
#define IF_DEBUG(Function) if (FALSE)
#endif // DBG