Leaked source code of windows server 2003
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.

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