Source code of Windows XP (NT5)
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.

74 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. rxdrt.h
  5. Abstract:
  6. Private header file which defines the global data for the Rx DRT
  7. Author:
  8. Balan Sethu Raman -- Created from the workstation service code
  9. --*/
  10. #ifndef _RXDRT_INCLUDED_
  11. #define _RXDRT_INCLUDED_
  12. #include <nt.h> // NT definitions
  13. #include <ntrtl.h> // NT runtime library definitions
  14. #include <nturtl.h>
  15. #include <windef.h> // Win32 type definitions
  16. #include <winbase.h> // Win32 base API prototypes
  17. #include <winsvc.h> // Win32 service control APIs
  18. //
  19. // Debug trace level bits for turning on/off trace statements in the
  20. // Workstation service
  21. //
  22. //
  23. // All debug flags on
  24. //
  25. #define RXDRT_DEBUG_ALL 0xFFFFFFFF
  26. #if DBG
  27. #define STATIC
  28. extern DWORD RxDrtTrace;
  29. #define DEBUG if (TRUE)
  30. #define IF_DEBUG(Function) if (RxDrtTrace & WKSTA_DEBUG_ ## Function)
  31. #else
  32. #define STATIC static
  33. #define DEBUG if (FALSE)
  34. #define IF_DEBUG(Function) if (FALSE)
  35. #endif // DBG
  36. //
  37. // Time for the sender of a start or stop request to the Workstation
  38. // service to wait (in milliseconds) before checking on the
  39. // Workstation service again to see if it is done.
  40. //
  41. #define WS_WAIT_HINT_TIME 60000 // 60 seconds
  42. extern DWORD RxDrtTrace;
  43. #endif // ifndef _RXDRT_INCLUDED_
  44.