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.

219 lines
8.6 KiB

  1. //--------------------
  2. // Function prototypes
  3. #define GetMessage IGetMessage
  4. #define TranslateMessage ITranslateMessage
  5. #define DispatchMessage IDispatchMessage
  6. #define PeekMessage IPeekMessage
  7. #define lstrcmp Ilstrcmp
  8. #define lstrcmpi Ilstrcmpi
  9. #define SetSysModalWindow ISetSysModalWindow
  10. // #define SendMessage ISendMessage
  11. #define PostMessage IPostMessage
  12. #define PostAppMessage IPostAppMessage
  13. #define CallWindowProc ICallWindowProc
  14. #define IsChild IIsChild
  15. #define IsWindowVisible IIsWindowVisible
  16. #define IsIconic IIsIconic
  17. #define CallMsgFilter ICallMsgFilter
  18. #define GetKeyboardState IGetKeyboardState
  19. #define SetKeyboardState ISetKeyboardState
  20. // #define SetCapture ISetCapture
  21. #define GetQueueStatus IGetQueueStatus
  22. #define SetTimer ISetTimer
  23. #define KillTimer IKillTimer
  24. #define IsWindowEnabled IIsWindowEnabled
  25. #define GetSystemMetrics IGetSystemMetrics
  26. #define GetMenu IGetMenu
  27. #define GetMenuState IGetMenuState
  28. #define DrawMenuBar IDrawMenuBar
  29. #define DestroyMenu IDestroyMenu
  30. #define CheckMenuItem ICheckMenuItem
  31. #define EnableMenuItem IEnableMenuItem
  32. #define GetSubMenu IGetSubMenu
  33. #define GetMenuItemID IGetMenuItemID
  34. #define SetActiveWindow ISetActiveWindow
  35. #define BeginPaint IBeginPaint
  36. #define InvalidateRect IInvalidateRect
  37. #define ValidateRect IValidateRect
  38. #define InvalidateRgn IInvalidateRgn
  39. #define ValidateRgn IValidateRgn
  40. #define SetWindowText ISetWindowText
  41. #define GetWindowText IGetWindowText
  42. #define GetWindowTextLength IGetWindowTextLength
  43. #define GetClientRect IGetClientRect
  44. #define GetWindowRect IGetWindowRect
  45. #define GetCursorPos IGetCursorPos
  46. #define ClipCursor IClipCursor
  47. #define GetClipCursor IGetClipCursor
  48. #define ClientToScreen IClientToScreen
  49. #define ScreenToClient IScreenToClient
  50. #define DefDlgProc IDefDlgProc
  51. #define GetSysColor IGetSysColor
  52. #define DrawFocusRect IDrawFocusRect
  53. #define FillRect IFillRect
  54. #define FrameRect IFrameRect
  55. #define InvertRect IInvertRect
  56. #define SetRect ISetRect
  57. #define SetRectEmpty ISetRectEmpty
  58. #define CopyRect ICopyRect
  59. #define InflateRect IInflateRect
  60. #define IntersectRect IIntersectRect
  61. #define UnionRect IUnionRect
  62. #define SubtractRect ISubtractRect
  63. #define OffsetRect IOffsetRect
  64. #define IsRectEmpty IIsRectEmpty
  65. #define EqualRect IEqualRect
  66. #define PtInRect IPtInRect
  67. #define GetWindowWord IGetWindowWord
  68. #define SetWindowWord ISetWindowWord
  69. #define GetWindowLong IGetWindowLong
  70. #define SetWindowLong ISetWindowLong
  71. #define GetClassWord IGetClassWord
  72. #define SetClassWord ISetClassWord
  73. #define GetClassLong IGetClassLong
  74. #define SetClassLong ISetClassLong
  75. #define EnumTaskWindows IEnumTaskWindows
  76. #define MapWindowPoints IMapWindowPoints
  77. #define GetWindowTask IGetWindowTask
  78. #define SetWindowsHook ISetWindowsHook
  79. #define UnhookWindowsHook IUnhookWindowsHook
  80. #define DefHookProc IDefHookProc
  81. #define SetWindowsHookEx ISetWindowsHookEx
  82. #define UnhookWindowsHookEx IUnhookWindowsHookEx
  83. #define CallNextHookEx ICallNextHookEx
  84. #define DrawText IDrawText
  85. #define GetTabbedTextExtent IGetTabbedTextExtent
  86. #define TabbedTextOut ITabbedTextOut
  87. #define DrawIcon IDrawIcon
  88. #define GetWindowDC IGetWindowDC
  89. #define GetDC IGetDC
  90. #define ReleaseDC IReleaseDC
  91. #define GetDCEx IGetDCEx
  92. #define DefWindowProc IDefWindowProc
  93. #define RegisterClass IRegisterClass
  94. #define UnregisterClass IUnregisterClass
  95. #define GetClassInfo IGetClassInfo
  96. #define GetClassName IGetClassName
  97. #define GetNextQueueWindow IGetNextQueueWindow
  98. #define CreateWindowEx ICreateWindowEx
  99. #define DestroyWindow IDestroyWindow
  100. #define ShowWindow IShowWindow
  101. #define FlashWindow IFlashWindow
  102. #define ShowOwnedPopups IShowOwnedPopups
  103. #define OpenIcon IOpenIcon
  104. #define CloseWindow ICloseWindow
  105. #define MoveWindow IMoveWindow
  106. #define SetWindowPos ISetWindowPos
  107. #define DeferWindowPos IDeferWindowPos
  108. #define EndDeferWindowPos IEndDeferWindowPos
  109. #define CreateDialogParam ICreateDialogParam
  110. #define CreateDialogIndirectParam ICreateDialogIndirectParam
  111. // #define DialogBoxParam IDialogBoxParam
  112. #define DialogBoxIndirectParam IDialogBoxIndirectParam
  113. #define EndDialog IEndDialog
  114. #define GetDlgItem IGetDlgItem
  115. #define GetDlgItemInt IGetDlgItemInt
  116. #define SetDlgItemText ISetDlgItemText
  117. #define GetDlgItemText IGetDlgItemText
  118. #define CheckDlgButton ICheckDlgButton
  119. #define IsDlgButtonChecked IIsDlgButtonChecked
  120. #define SendDlgItemMessage ISendDlgItemMessage
  121. #define GetNextDlgGroupItem IGetNextDlgGroupItem
  122. #define GetNextDlgTabItem IGetNextDlgTabItem
  123. #define GetDlgCtrlID IGetDlgCtrlID
  124. #define OpenClipboard IOpenClipboard
  125. #define SetClipboardViewer ISetClipboardViewer
  126. #define ChangeClipboardChain IChangeClipboardChain
  127. #define GetPriorityClipboardFormat IGetPriorityClipboardFormat
  128. #define SetFocus ISetFocus
  129. #define EnableWindow IEnableWindow
  130. #define TranslateAccelerator ITranslateAccelerator
  131. #define LoadAccelerators ILoadAccelerators
  132. #define LoadMenu ILoadMenu
  133. #define LoadMenuIndirect ILoadMenuIndirect
  134. #define SetMenu ISetMenu
  135. #define ChangeMenu IChangeMenu
  136. #define HiliteMenuItem IHiliteMenuItem
  137. #define GetMenuString IGetMenuString
  138. #define GetSystemMenu IGetSystemMenu
  139. #define SetSystemMenu ISetSystemMenu
  140. #define GetMenuItemCount IGetMenuItemCount
  141. #define InsertMenu IInsertMenu
  142. #define AppendMenu IAppendMenu
  143. #define ModifyMenu IModifyMenu
  144. #define RemoveMenu IRemoveMenu
  145. #define DeleteMenu IDeleteMenu
  146. #define SetMenuItemBitmaps ISetMenuItemBitmaps
  147. #define TrackPopupMenu ITrackPopupMenu
  148. #define GrayString IGrayString
  149. #define UpdateWindow IUpdateWindow
  150. #define EndPaint IEndPaint
  151. #define GetUpdateRect IGetUpdateRect
  152. #define GetUpdateRgn IGetUpdateRgn
  153. #define ExcludeUpdateRgn IExcludeUpdateRgn
  154. #define RedrawWindow IRedrawWindow
  155. #define LockWindowUpdate ILockWindowUpdate
  156. #define ScrollDC IScrollDC
  157. #define ScrollWindowEx IScrollWindowEx
  158. #define SetScrollPos ISetScrollPos
  159. #define GetScrollPos IGetScrollPos
  160. #define SetScrollRange ISetScrollRange
  161. #define GetScrollRange IGetScrollRange
  162. #define ShowScrollBar IShowScrollBar
  163. #define EnableScrollBar IEnableScrollBar
  164. #define SetProp ISetProp
  165. #define GetProp IGetProp
  166. #define RemoveProp IRemoveProp
  167. #define EnumProps IEnumProps
  168. #define AdjustWindowRectEx IAdjustWindowRectEx
  169. #define MessageBox IMessageBox
  170. #define SetCursor ISetCursor
  171. #define CreateCaret ICreateCaret
  172. #define HideCaret IHideCaret
  173. #define ShowCaret IShowCaret
  174. #define ChildWindowFromPoint IChildWindowFromPoint
  175. #define SetSysColors ISetSysColors
  176. #define GetParent IGetParent
  177. #define SetParent ISetParent
  178. #define EnumChildWindows IEnumChildWindows
  179. #define FindWindow IFindWindow
  180. #define EnumWindows IEnumWindows
  181. #define GetTopWindow IGetTopWindow
  182. #define GetLastActivePopup IGetLastActivePopup
  183. #define GetWindow IGetWindow
  184. #define InvalidateDCCache InvalidateDCCache
  185. #define LoadBitmap ILoadBitmap
  186. #define LoadCursor ILoadCursor
  187. #define CreateCursor ICreateCursor
  188. #define DestroyCursor IDestroyCursor
  189. #define LoadIcon ILoadIcon
  190. #define CreateIcon ICreateIcon
  191. #define DestroyIcon IDestroyIcon
  192. #define LoadString ILoadString
  193. #define IsDialogMessage IIsDialogMessage
  194. #define MapDialogRect IMapDialogRect
  195. #define DlgDirList IDlgDirList
  196. #define DlgDirSelect IDlgDirSelect
  197. #define DlgDirSelectEx IDlgDirSelectEx
  198. #define DlgDirListComboBox IDlgDirListComboBox
  199. #define DlgDirSelectComboBox IDlgDirSelectComboBox
  200. #define DlgDirSelectComboBoxEx IDlgDirSelectComboBoxEx
  201. #define DefFrameProc IDefFrameProc
  202. #define DefMDIChildProc IDefMDIChildProc
  203. #define TranslateMDISysAccel ITranslateMDISysAccel
  204. #define ArrangeIconicWindows IArrangeIconicWindows
  205. #define SystemParametersInfo ISystemParametersInfo
  206. #define WinHelp IWinHelp
  207. #define OpenDriver IOpenDriver
  208. #define CloseDriver ICloseDriver
  209. #define GetDriverModuleHandle IGetDriverModuleHandle
  210. #define SendDriverMessage ISendDriverMessage
  211. #define DefDriverProc IDefDriverProc
  212. #define GetNextDriver IGetNextDriver
  213. #define GetDriverInfo IGetDriverInfo
  214. #define SelectPalette ISelectPalette
  215. #define RealizePalette IRealizePalette
  216. //#define wsprintf Iwsprintf // see user.api
  217. #define wvsprintf Iwvsprintf