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.

95 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. t30.h
  5. Abstract:
  6. Globals for t30.dll
  7. Author:
  8. Rafael Lisitsa (RafaelL) 12-Feb-1996
  9. Revision History:
  10. --*/
  11. #ifdef DEFINE_T30_GLOBALS
  12. #define DEFINE_T30_EXTERNAL
  13. #else
  14. #define DEFINE_T30_EXTERNAL extern
  15. #endif
  16. // DLL global data
  17. #define STATUS_FAIL 0
  18. #define STATUS_OK 1
  19. typedef struct {
  20. HLINEAPP LineAppHandle;
  21. HANDLE HeapHandle;
  22. int fInit;
  23. int CntConnect;
  24. int Status;
  25. int DbgLevel;
  26. int T4LogLevel;
  27. int MaxErrorLinesPerPage;
  28. int MaxConsecErrorLinesPerPage;
  29. char TmpDirectory[_MAX_FNAME - 15];
  30. DWORD dwLengthTmpDirectory;
  31. } T30_DLL_GLOB;
  32. DEFINE_T30_EXTERNAL T30_DLL_GLOB gT30;
  33. DEFINE_T30_EXTERNAL CRITICAL_SECTION T30CritSection;
  34. // Per job/thread global data.
  35. #define MAX_T30_CONNECT 100
  36. typedef struct {
  37. LPVOID pT30;
  38. int fAvail;
  39. } T30_TABLE;
  40. DEFINE_T30_EXTERNAL T30_TABLE T30Inst[MAX_T30_CONNECT];
  41. // T30 Recovery per job/thread global data.
  42. DEFINE_T30_EXTERNAL T30_RECOVERY_GLOB T30Recovery[MAX_T30_CONNECT];
  43. DEFINE_T30_EXTERNAL CRITICAL_SECTION T30RecoveryCritSection;
  44. //
  45. // Run-Time global flag controlling Exception Handling
  46. //
  47. DEFINE_T30_EXTERNAL DWORD glT30Safe;
  48. DEFINE_T30_EXTERNAL DWORD glSimulateError;
  49. DEFINE_T30_EXTERNAL DWORD glSimulateErrorType;