Leaked source code of windows server 2003
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.

81 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. wsclient.h
  5. Abstract:
  6. Private header file for the client end of the Workstation service
  7. modules.
  8. Author:
  9. Rita Wong (ritaw) 10-May-1991
  10. Revision History:
  11. --*/
  12. #include <nt.h> // DbgPrint prototype
  13. #include <ntrtl.h> // DbgPrint
  14. #include <nturtl.h> // Needed by winbase.h
  15. #include <windef.h> // DWORD
  16. #include <winbase.h> // LocalFree
  17. #include <rpc.h> // DataTypes and runtime APIs
  18. #include <rpcutil.h> // GENERIC_ENUM_STRUCT
  19. #include <lmcons.h> // NET_API_STATUS
  20. #include <lmerr.h> // NetError codes
  21. #include <lmremutl.h> // SUPPORTS_RPC
  22. #include <netlibnt.h> // NetpNtStatusToApiStatus
  23. #include <netdebug.h> // NetpDbgPrint
  24. #include <wkssvc.h> // generated by the MIDL complier
  25. #include <wsnames.h> // Service and interface names
  26. //
  27. // Debug trace level bits for turning on/off trace statements in the client
  28. // end of the Workstation service
  29. //
  30. //
  31. // Client stub trace output
  32. //
  33. #define WKSTA_DEBUG_CLIENTSTUBS 0x00000001
  34. //
  35. // Client RPC binding trace output
  36. //
  37. #define WKSTA_DEBUG_RPCBIND 0x00000002
  38. //
  39. // All debug flags on
  40. //
  41. #define WKSTA_DEBUG_ALL 0xFFFFFFFF
  42. #if DBG
  43. #define STATIC
  44. extern DWORD WorkstationClientTrace;
  45. #define DEBUG if (TRUE)
  46. #define IF_DEBUG(Function) if (WorkstationClientTrace & WKSTA_DEBUG_ ## Function)
  47. #else
  48. #define STATIC static
  49. #define DEBUG if (FALSE)
  50. #define IF_DEBUG(Function) if (FALSE)
  51. #endif // DBG