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.

100 lines
2.6 KiB

  1. __foldwin32sstuff __foldwin32sstuff;
  2. foldstyleinitialization = true;
  3. /*
  4. * USER message api thunks for Win32s
  5. */
  6. enablemapdirect3216 = true;
  7. flatthunks = false; /* BUGBUG [KevinR] 01-Sep-1993 */
  8. #include "types.thk"
  9. typedef DWORD HHOOK;
  10. /*
  11. * This takes care of
  12. * PostThreadMessageA (0)
  13. * PostMessageA (1)
  14. */
  15. LONG PostMessageThing32(UINT, HWND, UINT, DWORD, DWORD) =
  16. LONG PostMessageThingA(UINT, HWND, UINT, DWORD, DWORD)
  17. {body = special;}
  18. /*
  19. * This takes care of
  20. * GetMessageA
  21. * PeekMessageA
  22. */
  23. BOOL GetMessageThing32(BOOL fPeekM, DWORD lpmsg, HWND, UINT, UINT, DWORD) =
  24. BOOL GetMessageThingA(BOOL fPeekM, DWORD lpmsg, HWND, UINT, UINT, DWORD)
  25. {body= special;}
  26. /*
  27. * This takes care of
  28. * TranslateAccelerator
  29. * TranslateMDISysAccel
  30. * IsDialogMessage
  31. * TranslateMessageA
  32. */
  33. BOOL TranslateMessageThing(UINT, HWND, HANDLE, DWORD) =
  34. BOOL TranslateMessageThing(UINT, HWND, HANDLE, DWORD)
  35. {body = special;}
  36. BOOL DispatchMessage32(DWORD pmsg, BOOL fMsg32) =
  37. BOOL DispatchMessageA(DWORD pmsg, BOOL fMsg32 deleted)
  38. {body = special;}
  39. /*
  40. * This takes care of
  41. * SendMessageA
  42. * DefWindowProcA
  43. * DefMDIChildProcA
  44. * DefFrameProcA
  45. * DefDlgProcA
  46. */
  47. LONG SendMessageThingA(UINT, HWND, HWND, UINT, DWORD, DWORD) =
  48. LONG SendMessageThingA(UINT, HWND, HWND, UINT, DWORD, DWORD)
  49. {body = special;}
  50. LONG SendMessageTimeout32(HWND, UINT, WORD, LONG, WORD, UINT, WORD, LPDWORD) =
  51. LONG SendMessageTimeoutA(HWND, UINT, DWORD, LONG, DWORD deleted, UINT, DWORD, LPDWORD)
  52. {body = special;}
  53. /*
  54. * SendNotifyMessage _is_ SendMessageCallback with NULL for lpCallback
  55. */
  56. BOOL SendMessageCallback32(HWND, UINT, WORD, LONG, WORD wParamHi, FARPROC lpCallback, DWORD dwData) =
  57. BOOL SendMessageCallbackA(HWND, UINT, DWORD, LONG, DWORD wParamHi deleted, FARPROC lpCallback, DWORD dwData)
  58. {body = special;}
  59. LONG CallWindowProc32(DWORD pfnPrev, HWND hwnd, WORD message, WORD wParamLo, DWORD lParam, WORD wParamHi) =
  60. LONG SlowCallWindowProcA(DWORD pfnPrev, HWND hwnd, DWORD message, DWORD wParam, DWORD lParam, DWORD wParamHi deleted)
  61. {body = special;}
  62. LONG CallNextHookEx(HHOOK hhk, INT nCode, WORD wParam, LONG lParam) =
  63. LONG CallNextHookEx(HHOOK hhk, INT nCode, DWORD wParam, LONG lParam)
  64. {body = special;}
  65. LONG CallMsgFilter32(DWORD pmsg, WORD nCode, BOOL fMsg32) =
  66. LONG CallMsgFilter(DWORD pmsg, DWORD nCode, BOOL fMsg32 deleted)
  67. {body = special;}
  68. LONG BroadcastSystemMessage(DWORD, LPDWORD, UINT, WORD, LONG) =
  69. LONG BroadcastSystemMessage(DWORD, LPDWORD, UINT, UINT, LONG)
  70. {body = special;} /* Need to map lParam if the BSF_LPARAMPOINTER is set */