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.

55 lines
1.7 KiB

  1. /*++ BUILD Version: 0001
  2. *
  3. * WOW v1.0
  4. *
  5. * Copyright (c) 1991, Microsoft Corporation
  6. *
  7. * WMSG16.H
  8. * WOW32 16-bit message thunks
  9. *
  10. * History:
  11. * Created 11-Mar-1991 by Jeff Parsons (jeffpar)
  12. * Changed 12-May-1992 by Mike Tricker (miketri) Added MultiMedia prototypes
  13. --*/
  14. #define WIN30_MN_MSGMAX WM_USER+200
  15. #define WIN30_MN_FINDMENUWINDOWFROMPOINT WIN30_MN_MSGMAX+2 // 0x602
  16. #define WIN30_MN_GETHMENU WM_USER+2
  17. /* Message number/name association (for debug output only)
  18. */
  19. #ifdef DEBUG
  20. typedef struct _MSGINFO { /* mi */
  21. UINT uMsg; // 0x0001 in the high word means "undocumented"
  22. PSZ pszMsgName; // 0x0002 in the high word means "win32-specific"
  23. } MSGINFO, *PMSGINFO;
  24. #endif
  25. /* Function prototypes
  26. */
  27. #ifdef DEBUG
  28. PSZ GetWMMsgName(UINT uMsg);
  29. #endif
  30. HWND FASTCALL ThunkMsg16(LPMSGPARAMEX lpmpex);
  31. VOID FASTCALL UnThunkMsg16(LPMSGPARAMEX lpmpex);
  32. BOOL FASTCALL ThunkWMMsg16(LPMSGPARAMEX lpmpex);
  33. VOID FASTCALL UnThunkWMMsg16(LPMSGPARAMEX lpmpex);
  34. BOOL FASTCALL ThunkSTMsg16(LPMSGPARAMEX lpmpex);
  35. VOID FASTCALL UnThunkSTMsg16(LPMSGPARAMEX lpmpex);
  36. BOOL FASTCALL ThunkMNMsg16(LPMSGPARAMEX lpmpex);
  37. VOID FASTCALL UnThunkMNMsg16(LPMSGPARAMEX lpmpex);
  38. BOOL ThunkWMGetMinMaxInfo16(VPVOID lParam, LPPOINT *plParamNew);
  39. VOID UnThunkWMGetMinMaxInfo16(VPVOID lParam, LPPOINT lParamNew);
  40. BOOL ThunkWMMDICreate16(VPVOID lParam, LPMDICREATESTRUCT *plParamNew );
  41. VOID UnThunkWMMDICreate16(VPVOID lParam, LPMDICREATESTRUCT lParamNew );
  42. BOOL FinishThunkingWMCreateMDI16(LONG lParamNew, LPCLIENTCREATESTRUCT lpCCS);
  43. BOOL FinishThunkingWMCreateMDIChild16(LONG lParamNew, LPMDICREATESTRUCT lpMCS);
  44. #define StartUnThunkingWMCreateMDI16(lParamNew)