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.

262 lines
9.5 KiB

  1. # wow.it read by genwowit.exe to generate wowit.c and wowit.h
  2. #
  3. # The syntax is very restricted, # begins comment lines and the
  4. # the first two lines define allowable types.
  5. #
  6. # Note that you should keep these declarations in the same
  7. # order as the InterpretThunk's switch statement for best code
  8. # generation.
  9. #
  10. Argument Types: WORD, INT, DWORD, LPDWORD, PTR, PTRORATOM, HGDI, HUSER, COLOR, HINST, HICON, HCURS, 16ONLY, 32ONLY;
  11. Return Types: DWORD, WORD, INT, HGDI, HUSER, ZERO, HICON, HCURS, ONE, HPRNDWP;
  12. #
  13. DWORD RegQueryValueEx(DWORD, PTR, LPDWORD, LPDWORD, PTR, LPDWORD);
  14. DWORD RegQueryValue(DWORD, PTR, PTR, LPDWORD);
  15. DWORD RegOpenKey(DWORD, PTR, LPDWORD);
  16. DWORD RegEnumKey(DWORD, DWORD, PTR, DWORD);
  17. DWORD RegEnumValue(DWORD, DWORD, PTR, LPDWORD, LPDWORD, LPDWORD, PTR, LPDWORD);
  18. DWORD RegCloseKey(DWORD);
  19. DWORD RegCreateKey(DWORD, PTR, LPDWORD);
  20. DWORD RegDeleteKey=WOWRegDeleteKey(DWORD, PTR);
  21. DWORD RegSetValue(DWORD, PTR, DWORD, PTR, DWORD);
  22. DWORD RegSetValueEx(DWORD, PTR, DWORD, DWORD, PTR, DWORD);
  23. DWORD RegDeleteValue(DWORD, PTR);
  24. DWORD RegFlushKey(DWORD);
  25. HGDI SelectObject(HGDI, HGDI);
  26. WORD PatBlt(HGDI, INT, INT, INT, INT, DWORD);
  27. WORD EnableMenuItem(HUSER, WORD, WORD);
  28. DWORD SetBkColor(HGDI, COLOR);
  29. INT SetBkMode(HGDI, INT);
  30. DWORD SetTextColor(HGDI, COLOR);
  31. WORD GetMenuItemID(HUSER, INT);
  32. HUSER GetSubMenu(HUSER, INT);
  33. WORD GetMenuState(HUSER, WORD, WORD);
  34. HUSER GetParent(HUSER);
  35. HUSER GetWindow(HUSER, WORD);
  36. WORD LineTo(HGDI, INT, INT);
  37. INT GetClassName(HUSER, PTR, INT);
  38. WORD IsWindowVisible(HUSER);
  39. INT CombineRgn(HGDI, HGDI, HGDI, INT);
  40. ZERO SetRectRgn(HGDI, INT, INT, INT, INT);
  41. INT SelectClipRgn(HGDI, HGDI);
  42. INT GetAsyncKeyState(INT);
  43. DWORD RegLoadKey(DWORD, PTR, PTR);
  44. DWORD RegUnLoadKey(DWORD, PTR);
  45. DWORD RegSaveKey(DWORD, PTR, PTR);
  46. WORD SetTextAlign(HGDI, WORD);
  47. WORD GetProp(HUSER, PTRORATOM);
  48. WORD SetProp(HUSER, PTRORATOM, WORD);
  49. DWORD AnsiToOem(PTR, PTR);
  50. DWORD OemToAnsi(PTR, PTR);
  51. HGDI CreateSolidBrush(COLOR);
  52. DWORD GetPrivateProfileSectionNames(PTR, WORD, PTR);
  53. DWORD CreateDirectory(PTR, PTR);
  54. DWORD RemoveDirectory(PTR);
  55. DWORD DeleteFile(PTR);
  56. DWORD SetLastError(DWORD);
  57. DWORD GetLastError();
  58. DWORD WritePrivateProfileStruct(PTR, PTR, PTR, WORD, PTR);
  59. DWORD GetPrivateProfileStruct(PTR, PTR, PTR, WORD, PTR);
  60. DWORD GetCurrentDirectory(DWORD, PTR);
  61. DWORD SetCurrentDirectory(PTR);
  62. DWORD WritePrivateProfileSection(PTR, PTR, PTR);
  63. DWORD WriteProfileSection(PTR, PTR);
  64. DWORD GetPrivateProfileSection(PTR, PTR, DWORD, PTR);
  65. DWORD GetProfileSection(PTR, PTR, DWORD);
  66. DWORD GetFileAttributes(PTR);
  67. DWORD SetFileAttributes(PTR, DWORD);
  68. DWORD GetDiskFreeSpace(PTR, LPDWORD, LPDWORD, LPDWORD, LPDWORD);
  69. DWORD FileTimeToLocalFileTime(PTR, PTR);
  70. DWORD AbortPath(HGDI);
  71. DWORD BeginPath(HGDI);
  72. DWORD EndPath(HGDI);
  73. DWORD FillPath(HGDI);
  74. DWORD FlattenPath(HGDI);
  75. DWORD GetPath(HGDI, PTR, PTR, DWORD);
  76. HGDI PathToRegion(HGDI);
  77. DWORD SelectClipPath(HGDI, INT);
  78. DWORD StrokeAndFillPath(HGDI);
  79. DWORD StrokePath(HGDI);
  80. DWORD WidenPath(HGDI);
  81. DWORD CloseFigure(HGDI);
  82. HGDI CloseEnhMetaFile(HGDI);
  83. HGDI CopyEnhMetaFile(HGDI, PTR);
  84. DWORD DeleteEnhMetaFile(HGDI);
  85. HGDI GetEnhMetaFile(PTR);
  86. DWORD GetEnhMetaFileBits(HGDI, DWORD, PTR);
  87. DWORD GetEnhMetaFileDescription(HGDI, DWORD, PTR);
  88. DWORD GetEnhMetaFileHeader(HGDI, DWORD, PTR);
  89. DWORD GetEnhMetaFilePaletteEntries(HGDI, DWORD, PTR);
  90. DWORD PlayEnhMetaFileRecord(HGDI, PTR, PTR, DWORD);
  91. HGDI SetEnhMetaFileBits(DWORD, PTR);
  92. DWORD GdiComment(HGDI, DWORD, PTR);
  93. INT SetMetaRgn(HGDI);
  94. INT ExtSelectClipRgn(HGDI, HGDI, INT);
  95. HGDI CreateHalftonePalette(HGDI);
  96. HGDI ExtCreateRegion(PTR, DWORD, PTR);
  97. DWORD ExtCreatePen(DWORD, DWORD, PTR, DWORD, DWORD);
  98. INT GetArcDirection(HGDI);
  99. DWORD GetFontLanguageInfo(HGDI);
  100. DWORD GetMiterLimit(HGDI, LPDWORD);
  101. DWORD SetMiterLimit(HGDI, DWORD, LPDWORD);
  102. INT SetArcDirection(HGDI, INT);
  103. INT GetRandomRgn(HGDI, HGDI, INT);
  104. INT GetTextCharset(HGDI);
  105. DWORD SetMagicColors(HGDI, DWORD, WORD);
  106. DWORD ChangeDisplaySettings(PTR, DWORD);
  107. WORD CheckMenuRadioItem(HUSER, WORD, WORD, WORD, WORD);
  108. DWORD GetMenuContextHelpId(HUSER);
  109. DWORD SetMenuContextHelpId(HUSER, DWORD);
  110. DWORD GetMenuDefaultItem(HUSER, WORD, WORD);
  111. DWORD SetMenuDefaultItem(HUSER, WORD, WORD);
  112. HICON CreateIconFromResourceEx(PTR, DWORD, WORD, DWORD, WORD, WORD, WORD);
  113. WORD DestroyIcon32=DestroyIcon(HICON, 16ONLY);
  114. WORD DispatchMessage32=DispatchMessage(PTR, 16ONLY);
  115. WORD DrawIconEx(HGDI, INT, INT, HICON, INT, INT, WORD, HGDI, WORD);
  116. WORD EnumDisplaySettings(PTR, DWORD, PTR);
  117. HUSER FindWindowEx(HUSER, HUSER, PTR, PTR);
  118. HUSER GetForegroundWindow();
  119. DWORD ActivateKeyboardLayout(DWORD, WORD);
  120. DWORD GetKeyboardLayout(DWORD);
  121. INT GetKeyboardLayoutList(WORD, PTR);
  122. WORD GetKeyboardLayoutName(PTR);
  123. DWORD LoadKeyboardLayout(PTR, WORD);
  124. WORD UnloadKeyboardLayout(DWORD);
  125. DWORD GetPropEx=GetProp(HUSER, PTRORATOM);
  126. WORD SetPropEx=SetProp(HUSER, PTRORATOM, DWORD);
  127. WORD GetScrollInfo(HUSER, INT, PTR);
  128. DWORD SetScrollInfo(HUSER, INT, PTR, WORD);
  129. HUSER GetShellWindow();
  130. HGDI GetSysColorBrush(INT);
  131. DWORD GetWindowContextHelpId(HUSER);
  132. WORD SetWindowContextHelpId(HUSER, DWORD);
  133. INT GetWindowRgn(HUSER, HGDI);
  134. WORD SetWindowRgn(HUSER, HGDI, WORD);
  135. HUSER LoadImage(HINST, PTRORATOM, WORD, INT, INT, WORD);
  136. INT LookupIconIdFromDirectoryEx(PTR, WORD, INT, INT, WORD);
  137. DWORD MsgWaitForMultipleObjects(DWORD, PTR, WORD, DWORD, DWORD);
  138. DWORD RemovePropEx=RemoveProp(HUSER, PTRORATOM);
  139. WORD SetForegroundWindow(HUSER);
  140. DWORD GetMessageExtraInfo();
  141. DWORD SetMessageExtraInfo(DWORD);
  142. WORD EnableScrollBar(HUSER, WORD, WORD);
  143. HCURS GetCursor();
  144. HUSER GetOpenClipboardWindow();
  145. WORD IsMenu(HUSER);
  146. WORD LockWindowUpdate(HUSER);
  147. DWORD GetQueueStatus(WORD);
  148. WORD GetInputState();
  149. HUSER WindowFromDC(HGDI);
  150. DWORD DragObject(HUSER, HUSER, WORD, DWORD, HCURS);
  151. WORD DrawIcon(HGDI, INT, INT, HICON);
  152. INT ExcludeUpdateRgn(HGDI, HUSER);
  153. HUSER GetCapture();
  154. DWORD GetVersionEx(PTR);
  155. WORD GetDoubleClickTime();
  156. HUSER GetFocus();
  157. HUSER GetLastActivePopup(HUSER);
  158. INT GetScrollPos(HUSER, INT);
  159. INT GetUpdateRgn(HUSER, HGDI, WORD);
  160. WORD GlobalFindAtom(PTR);
  161. ZERO MessageBeep(WORD);
  162. WORD OpenIcon(HUSER);
  163. ZERO ReleaseCapture();
  164. WORD RemoveProp(HUSER, PTRORATOM);
  165. ZERO SetDoubleClickTime(WORD);
  166. HUSER SetFocus(HUSER);
  167. DWORD SetScrollPos(HUSER, INT, INT, WORD);
  168. ZERO SetScrollRange(HUSER, INT, INT, INT, WORD);
  169. ZERO ShowOwnedPopups(HUSER, WORD);
  170. WORD SwapMouseButton(WORD);
  171. DWORD GetShortPathName(PTR, PTR, WORD);
  172. DWORD FreeLibrary32W=FreeLibrary(DWORD);
  173. DWORD GetProcAddress32W=GetProcAddress(DWORD, PTRORATOM);
  174. WORD AnyPopup();
  175. WORD ArrangeIconicWindows(HUSER);
  176. HPRNDWP BeginDeferWindowPos(INT);
  177. WORD BringWindowToTop(HUSER);
  178. ZERO CloseWindow(HUSER);
  179. WORD EnableWindow(HUSER, WORD);
  180. WORD FlashWindow(HUSER, WORD);
  181. INT GetWindowTextLength(HUSER);
  182. HUSER SetActiveWindow(HUSER);
  183. HUSER SetParent(HUSER, HUSER);
  184. ZERO ShowScrollBar(HUSER, WORD, WORD);
  185. WORD ShowWindow(HUSER, INT);
  186. WORD Arc(HGDI, INT, INT, INT, INT, INT, INT, INT, INT);
  187. WORD BitBlt(HGDI, INT, INT, INT, INT, HGDI, INT, INT, DWORD);
  188. INT GetRelAbs(HGDI, 32ONLY);
  189. INT SetRelAbs(HGDI, INT);
  190. WORD Chord(HGDI, INT, INT, INT, INT, INT, INT, INT, INT);
  191. HGDI CreateCompatibleBitmap(HGDI, INT, INT);
  192. HGDI CreateDiscardableBitmap(HGDI, INT, INT);
  193. HGDI CreateEllipticRgn(INT, INT, INT, INT);
  194. HGDI CreateHatchBrush(INT, DWORD);
  195. HGDI CreatePen(INT, INT, DWORD);
  196. HGDI CreateRectRgn(INT, INT, INT, INT);
  197. HGDI CreateRoundRectRgn(INT, INT, INT, INT, INT, INT);
  198. WORD Ellipse(HGDI, INT, INT, INT, INT);
  199. DWORD GetRegionData(HGDI, DWORD, PTR);
  200. WORD EqualRgn(HGDI, HGDI);
  201. INT ExcludeClipRect(HGDI, INT, INT, INT, INT);
  202. WORD ExtFloodFill(HGDI, INT, INT, DWORD, WORD);
  203. WORD FillRgn(HGDI, HGDI, HGDI);
  204. WORD FloodFill(HGDI, INT, INT, DWORD);
  205. WORD FrameRgn(HGDI, HGDI, HGDI, INT, INT);
  206. DWORD GetBitmapBits(HGDI, DWORD, PTR);
  207. DWORD GetBkColor(HGDI);
  208. INT GetBkMode(HGDI);
  209. INT GetMapMode(HGDI);
  210. DWORD GetNearestColor(HGDI, COLOR);
  211. DWORD GetPixel(HGDI, INT, INT);
  212. INT GetPolyFillMode(HGDI);
  213. INT GetROP2(HGDI);
  214. HGDI GetStockObject(INT);
  215. INT GetStretchBltMode(HGDI);
  216. INT IntersectClipRect(HGDI, INT, INT, INT, INT);
  217. WORD InvertRgn(HGDI, HGDI);
  218. INT OffsetClipRgn(HGDI, INT, INT);
  219. INT OffsetRgn(HGDI, INT, INT);
  220. WORD PaintRgn(HGDI, HGDI);
  221. WORD Pie(HGDI, INT, INT, INT, INT, INT, INT, INT, INT);
  222. WORD PtInRegion(HGDI, INT, INT);
  223. WORD PtVisible(HGDI, INT, INT);
  224. WORD Rectangle(HGDI, INT, INT, INT, INT);
  225. WORD RestoreDC(HGDI, INT);
  226. WORD RoundRect(HGDI, INT, INT, INT, INT, INT, INT);
  227. INT SaveDC(HGDI);
  228. INT SetMapMode(HGDI, INT);
  229. DWORD SetMapperFlags(HGDI, DWORD);
  230. DWORD SetPixel(HGDI, INT, INT, DWORD);
  231. INT SetPolyFillMode(HGDI, INT);
  232. INT SetROP2(HGDI, INT);
  233. INT SetStretchBltMode(HGDI, INT);
  234. WORD StretchBlt(HGDI, INT, INT, INT, INT, HGDI, INT, INT, INT, INT, DWORD);
  235. WORD UnrealizeObject(HGDI);
  236. HGDI GetCurrentObject(HGDI, WORD);
  237. ZERO AnimatePalette(HGDI, WORD, WORD, PTR);
  238. HGDI CreatePalette(PTR);
  239. WORD GetNearestPaletteIndex(HGDI, DWORD);
  240. WORD GetPaletteEntries(HGDI, WORD, WORD, PTR);
  241. WORD GetSystemPaletteUse(HGDI);
  242. WORD RealizePalette(HGDI);
  243. WORD ResizePalette(HGDI, WORD);
  244. HGDI SelectPalette(HGDI, HGDI, WORD);
  245. WORD SetPaletteEntries(HGDI, WORD, WORD, PTR);
  246. WORD SetSystemPaletteUse(HGDI, WORD);
  247. INT UpdateColors(HGDI);
  248. INT StartPage(HGDI);
  249. INT EndPage(HGDI);
  250. DWORD GetFontData(HGDI, DWORD, DWORD, PTR, DWORD);
  251. WORD IsGDIObject=GetObjectType(HGDI);
  252. WORD GetTextAlign(HGDI);
  253. INT GetTextCharacterExtra(HGDI);
  254. INT SetTextCharacterExtra(HGDI, INT);
  255. DWORD GetTextColor(HGDI);
  256. INT GetTextFace(HGDI, INT, PTR);
  257. INT SetTextJustification(HGDI, INT, INT);
  258. WORD TextOut(HGDI, INT, INT, PTR, INT);
  259. WORD UnregisterClass(PTRORATOM, HINST);
  260. #ifdef FE_SB //add GetSystemDefaultLangID()
  261. WORD GetSystemDefaultLangID();
  262. #endif