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.

283 lines
7.3 KiB

  1. ;***********************************************************************;
  2. ;!!! use public versions -- delete eventually
  3. ;
  4. ; Stuff in here should come from public include files.
  5. ;***********************************************************************;
  6. ifndef WOW
  7. myDWORD struc
  8. lo dw ?
  9. hi dw ?
  10. myDWORD ends
  11. endif
  12. MF_POPUP equ 00000010h
  13. MF_BITMAP equ 00000004h
  14. MF_OWNERDRAW equ 00000100h
  15. MF_SEPARATOR equ 00000800h
  16. WS_CHILD equ 40000000h
  17. WS_EX_MDICHILD equ 00000040h
  18. DBWF_LPARAMPOINTER equ 08000h
  19. LBS_OWNERDRAWFIXED equ 0010h
  20. LBS_OWNERDRAWVARIABLE equ 0020h
  21. LBS_HASSTRINGS equ 0040h
  22. CBS_OWNERDRAWFIXED equ 0010h
  23. CBS_OWNERDRAWVARIABLE equ 0020h
  24. CBS_HASSTRINGS equ 0200h
  25. PROP_FROMWIN32 equ 0002h
  26. GWL_STYLE equ (-16)
  27. GW_CHILD equ 05
  28. LR_MONOCHROME equ 00001h
  29. LR_LOADFROMFILE equ 00010h
  30. LR_DEFAULTSIZE equ 00040h
  31. LR_SHARED equ 08000h
  32. DI_DRAWICON equ 0000fh
  33. DSI_KERNEL equ 00001h
  34. DSI_32BIT equ 00004h
  35. DSI_NOTSHARED equ 00008h
  36. IMAGE_BITMAP equ 0
  37. IMAGE_ICON equ 1
  38. IMAGE_CURSOR equ 2
  39. SMT_SENDMESSAGE equ 0
  40. SMT_DEFWINDOWPROC equ 1
  41. SMT_DEFMDICHILDPROC equ 2
  42. SMT_DEFDLGPROC equ 3
  43. SMT_DEFFRAMEPROC equ 4
  44. PMT_POSTTHREADMESSAGE equ 0
  45. PMT_POSTMESSAGE equ 1
  46. TMT_TRANSLATEACCELERATOR equ 0
  47. TMT_TRANSLATEMDISYSACCEL equ 1
  48. TMT_ISDIALOGMESSAGE equ 2
  49. TMT_TRANSLATEMESSAGE equ 3
  50. CTLCOLOR_MSGBOX equ 0
  51. CTLCOLOR_EDIT equ 1
  52. CTLCOLOR_LISTBOX equ 2
  53. CTLCOLOR_BTN equ 3
  54. CTLCOLOR_DLG equ 4
  55. CTLCOLOR_SCROLLBAR equ 5
  56. CTLCOLOR_STATIC equ 6
  57. WM_CREATE equ 001h
  58. WM_DESTROY equ 002h
  59. WM_CTLCOLOR equ 019h
  60. WM_CTLCOLORMSGBOX equ 132h
  61. WM_CTLCOLOREDIT equ WM_CTLCOLORMSGBOX + CTLCOLOR_EDIT
  62. WM_CTLCOLORLISTBOX equ WM_CTLCOLORMSGBOX + CTLCOLOR_LISTBOX
  63. WM_CTLCOLORBTN equ WM_CTLCOLORMSGBOX + CTLCOLOR_BTN
  64. WM_CTLCOLORDLG equ WM_CTLCOLORMSGBOX + CTLCOLOR_DLG
  65. WM_CTLCOLORSCROLLBAR equ WM_CTLCOLORMSGBOX + CTLCOLOR_SCROLLBAR
  66. WM_CTLCOLORSTATIC equ WM_CTLCOLORMSGBOX + CTLCOLOR_STATIC
  67. WM_DDE_INITIATE equ 3E0h
  68. WM_DDE_TERMINATE equ 3E1h
  69. WM_DDE_ADVISE equ 3E2h
  70. WM_DDE_UNADVISE equ 3E3h
  71. WM_DDE_ACK equ 3E4h
  72. WM_DDE_DATA equ 3E5h
  73. WM_DDE_REQUEST equ 3E6h
  74. WM_DDE_POKE equ 3E7h
  75. WM_DDE_EXECUTE equ 3E8h
  76. WM_DROPFILES equ 233h
  77. WM_USER equ 400h
  78. OBJ_BRUSH equ 2
  79. OBJ_FONT equ 3
  80. OBJ_BITMAP equ 5
  81. OBJ_RGN equ 6
  82. OBJ_DC equ 7
  83. EM_GETSEL equ 0B0h
  84. LB_ADDSTRING equ 180h
  85. GWL_WNDPROC equ (-4)
  86. GWL_HINSTANCE equ (-6)
  87. GWL_HWNDPARENT equ (-8)
  88. GWL_ID equ (-12)
  89. GWL_STYLE equ (-16)
  90. GWL_EXSTYLE equ (-20)
  91. GWL_USERDATA equ (-21)
  92. DWL_DLGPROC equ 4
  93. GWW_HINSTANCE equ (-6)
  94. GWW_HWNDPARENT equ (-8)
  95. GWW_ID equ (-12)
  96. ; Class field offsets for GetClassLong() and GetClassWord()
  97. GCL_MENUNAME equ (-8)
  98. GCW_HBRBACKGROUND equ (-10)
  99. GCW_HCURSOR equ (-12)
  100. GCW_HICON equ (-14)
  101. GCW_HMODULE equ (-16)
  102. GCW_CBWNDEXTRA equ (-18)
  103. GCW_CBCLSEXTRA equ (-20)
  104. GCL_WNDPROC equ (-24)
  105. GCW_STYLE equ (-26)
  106. GCL_STYLE equ (-26)
  107. GCW_ATOM equ (-32)
  108. GCW_HICONSM equ (-34)
  109. FR_DIALOGTERM equ 00000040h
  110. LB_ERR equ (-1)
  111. WM_DDE_FIRST equ 3E0h
  112. WM_DDE_LAST equ 3EFh
  113. XTYP_MASK equ 00F0h
  114. XTYP_SHIFT equ 4
  115. XTYP_ERROR equ 0000h
  116. XTYP_ADVDATA equ 0010h
  117. XTYP_ADVREQ equ 0020h
  118. XTYP_ADVSTART equ 0030h
  119. XTYP_ADVSTOP equ 0040h
  120. XTYP_EXECUTE equ 0050h
  121. XTYP_CONNECT equ 0060h
  122. XTYP_CONNECT_CONFIRM equ 0070h
  123. XTYP_XACT_COMPLETE equ 0080h
  124. XTYP_POKE equ 0090h
  125. XTYP_REGISTER equ 00A0h
  126. XTYP_REQUEST equ 00B0h
  127. XTYP_DISCONNECT equ 00C0h
  128. XTYP_UNREGISTER equ 00D0h
  129. XTYP_WILDCONNECT equ 00E0h
  130. XTYP_MASK equ 00F0h
  131. XTYP_SHIFT equ 4
  132. XCLASS_NOTIFICATION equ 8000h
  133. XCLASS_FLAGS equ 4000h
  134. XCLASS_DATA equ 2000h
  135. XCLASS_BOOL equ 1000h
  136. DDE_FNOTPROCESSED equ 0
  137. GMEM_DDESHARE equ 2000h
  138. GMEM_ZEROINIT equ 0040h
  139. GMEM_DISCARDED equ 4000h
  140. GMEM_MOVEABLE equ 0002h
  141. LMEM_MOVEABLE equ 2
  142. LPTR equ 40h
  143. GHND equ 42h
  144. GPTR equ 40h
  145. PM_REMOVE equ 1
  146. PM_NOYIELD equ 2
  147. ;This is here so krnthk.inc doesn't have to load in all of struc.inc.
  148. POINT32 struc
  149. x dd ?
  150. y dd ?
  151. POINT32 ends
  152. DC_BINS equ 6
  153. DC_PAPERS equ 2
  154. DC_PAPERSIZE equ 3
  155. DC_MINEXTENT equ 4
  156. DC_MAXEXTENT equ 5
  157. CF_TEXT equ 1
  158. CF_BITMAP equ 2
  159. CF_METAFILEPICT equ 3
  160. CF_DIB equ 8
  161. CF_PALETTE equ 9
  162. CF_PENDATA equ 10
  163. CF_RIFF equ 11
  164. CF_WAVE equ 12
  165. CF_UNICODETEXT equ 13
  166. CF_ENHMETAFILE equ 14
  167. CF_DSPBITMAP equ 82h
  168. CF_DSPMETAFILEPICT equ 83h
  169. CF_DSPENHMETAFILE equ 8Eh
  170. CF_PRIVATEFIRST equ 200h
  171. CF_PRIVATELAST equ 2FFh
  172. CF_GDIOBJFIRST equ 300h
  173. CF_GDIOBJLAST equ 3FFh
  174. HELP_CONTEXT equ 00001h
  175. HELP_QUIT equ 00002h
  176. HELP_INDEX equ 00003h
  177. HELP_HELPONHELP equ 00004h
  178. HELP_SETINDEX equ 00005h
  179. HELP_CONTEXTPOPUP equ 00008h
  180. HELP_FORCEFILE equ 00009h
  181. HELP_CONTEXTMENU equ 0000Ah
  182. HELP_FINDER equ 0000Bh
  183. HELP_WM_HELP equ 0000Ch
  184. HELP_TCARD equ 08000h
  185. HELP_TCARD_DATA equ 00010h
  186. HELP_TCARD_NEXT equ 00011h
  187. HELP_KEY equ 00101h
  188. HELP_COMMAND equ 00102h
  189. HELP_PARTIALKEY equ 00105h
  190. HELP_MULTIKEY equ 00201h
  191. HELP_SETWINPOS equ 00203h
  192. OFN_ENABLEHOOK equ 20h
  193. OFN_ENABLETEMPLATE equ 40h
  194. OFN_ENABLETEMPLATEHANDLE equ 80h
  195. CC_ENABLEHOOK equ 10h
  196. CC_ENABLETEMPLATE equ 20h
  197. CC_ENABLETEMPLATEHANDLE equ 40h
  198. FR_ENABLEHOOK equ 100h
  199. FR_ENABLETEMPLATE equ 200h
  200. FR_ENABLETEMPLATEHANDLE equ 2000h
  201. CF_ENABLEHOOK equ 8h
  202. CF_ENABLETEMPLATE equ 10h
  203. CF_ENABLETEMPLATEHANDLE equ 20h
  204. PD_ENABLEPRINTHOOK equ 1000h
  205. PD_ENABLEPRINTTEMPLATE equ 4000h
  206. PD_ENABLEPRINTTEMPLATEHANDLE equ 10000h
  207. PD_ENABLESETUPHOOK equ 2000h
  208. PD_ENABLESETUPTEMPLATE equ 8000h
  209. PD_ENABLESETUPTEMPLATEHANDLE equ 20000h
  210. BI_RGB equ 0h
  211. BI_BITFIELDS equ 3h
  212. CBM_INIT equ 4h
  213. SM_PENWINDOWS equ 41
  214. DATA_GET equ 0
  215. DATA_WORD equ 0
  216. DATA_SET equ 0001h
  217. DATA_DWORD equ 0002h
  218. DATA_FROMWIN32 equ 0004h
  219. KEYEVENTF_EXTENDEDKEY equ 0001h
  220. KEYEVENTF_KEYUP equ 0002h
  221. CS_SHORTCUT equ 10000000h
  222. ;; MsgWaitForMultipleObjectsEx() uses these flags.
  223. MWMO_WAITALL equ 00000001h
  224. MWMO_ALERTABLE equ 00000002h