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.

281 lines
7.4 KiB

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