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.

112 lines
2.3 KiB

  1. ;**************************************************************************
  2. ;* TOOLPRIV.INC
  3. ;*
  4. ;* Private assembly-language include file for modules assembled as a
  5. ;* part of TOOLHELP.DLL.
  6. ;*
  7. ;**************************************************************************
  8. ;** CMACROS.INC variables for correct assembly
  9. DOS5 = 1
  10. PMODE = 1
  11. ?WIN = 0
  12. ?PLM = 1
  13. .286p
  14. INCLUDE CMACROS.INC
  15. INCLUDE TOOLHELP.INC
  16. externA __WinFlags
  17. ;** TOOLHELP global variables
  18. ?PLM = 0
  19. externW segKernel
  20. externW wLibInstalled
  21. externW hMaster
  22. externW wTHFlags
  23. externW npwExeHead
  24. externW npwTDBHead
  25. externW npwTDBCur
  26. externW hUserHeap
  27. externW hGDIHeap
  28. externW npdwSelTableStart
  29. externW npwSelTableLen
  30. externW wNotifyInstalled
  31. externW npNotifyHead
  32. externW wIntInstalled
  33. externW npIntHead
  34. externD lpfnGetUserLocalObjType
  35. externD lpfnFatalExitHook
  36. externD lpfnUserSeeUserDo
  37. externD lpfnNotifyHook
  38. externD lpfnGetFreeSystemResources
  39. externD lpfntimeGetTime;
  40. externW wSel
  41. externW wSignalInstalled
  42. externW npSignalHead
  43. externW npNotifyNext
  44. externW wLRUCount
  45. ?PLM = 1
  46. ;** Symbols
  47. TRUE = 1
  48. FALSE = 0
  49. KERNEL_286 EQU 1
  50. KERNEL_386 EQU 2
  51. FAULT_ACTIVE EQU 2
  52. NUM_EXCEP EQU 3
  53. ;** wTHFlag values
  54. TH_KERNEL_286 EQU 1
  55. TH_KERNEL_386 EQU 2
  56. TH_WIN30 EQU 4
  57. TH_WIN30STDMODE EQU 8 ;THWIN30STDMODE set if TH_WIN30 & Std mode
  58. TH_GOODPTRACEHOOK EQU 16
  59. TH_GOTOLDPTRACE EQU 32
  60. ;** Notification values
  61. NI_INCHAR EQU 01h
  62. NI_OUTSTR EQU 12h
  63. NI_LOADSEG EQU 50h
  64. NI_FREESEG EQU 52h
  65. NI_STARTTASK EQU 59h
  66. NI_EXITCALL EQU 62h
  67. NI_LOADDLL EQU 64h
  68. NI_DELMODULE EQU 65h
  69. NI_TASKOUT EQU 0dh
  70. NI_TASKIN EQU 0eh
  71. NI_CTLALTSYSRQ EQU 63h
  72. NI_LOGERROR EQU 66h
  73. NI_LOGPARAMERROR EQU 67h
  74. ;** Structures
  75. NOTIFYSTRUCT STRUC
  76. ns_pNext DW ?
  77. ns_hTask DW ?
  78. ns_lpfn DD ?
  79. ns_wFlags DW ?
  80. NOTIFYSTRUCT ENDS
  81. INTERRUPT STRUC
  82. i_pNext DW ?
  83. i_hTask DW ?
  84. i_lpfn DD ?
  85. INTERRUPT ENDS
  86. SIGNAL STRUC
  87. si_pNext DW ?
  88. si_hTask DW ?
  89. si_lpfn DD ?
  90. si_lpfnOld DD ?
  91. SIGNAL ENDS
  92. ;** Macros
  93. PubLabel MACRO PLabel
  94. labelNP PLabel
  95. PUBLIC PLabel
  96. ENDM