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.

110 lines
2.7 KiB

  1. ;
  2. ; USER3.ASM
  3. ; More Win16 USER thunks
  4. ;
  5. ; History:
  6. ;
  7. ; Created 25-Jan-1991 by Jeff Parsons (jeffpar)
  8. ; Added Win 31 thunks 22nd-March-1992 by Chandan S. Chauhan (ChandanC)
  9. ; Split off from USER2.ASM 4-Dec-92 by barryb
  10. ;
  11. ;--
  12. TITLE USER3.ASM
  13. PAGE ,132
  14. .286p
  15. .xlist
  16. include wow.inc
  17. include wowusr.inc
  18. include cmacros.inc
  19. NOEXTERNS=1 ; to suppress including most of the stuff in user.inc
  20. include user.inc
  21. .list
  22. externFP WOW16Call
  23. createSeg _TEXT,CODE,WORD,PUBLIC,CODE
  24. createSeg _DATA,DATA,WORD,PUBLIC,DATA,DGROUP
  25. defgrp DGROUP,DATA
  26. sBegin CODE
  27. assumes CS,CODE
  28. assumes DS,DATA
  29. assumes ES,NOTHING
  30. cProc TouchNotPresentSel, <PUBLIC, NEAR>
  31. parmD lpsz ; Callers parameter
  32. parmD lpReturn ; Callers Return Address
  33. cBegin
  34. mov ax,es
  35. mov es,word ptr lpsz+2 ; makes NP sel P
  36. mov es,ax
  37. mov sp,bp ; Do cEnd without Ret count (leave parameters there)
  38. pop bp
  39. ret
  40. cEnd <nogen>
  41. UserThunk MAPDIALOGRECT
  42. UserThunk MB_DLGPROC
  43. ;;; UserThunk MDICLIENTWNDPROC ;LOCALAPI in wsubcls.c
  44. UserThunk MENUITEMSTATE
  45. DUserThunk MESSAGEBEEP
  46. UserThunk MESSAGEBOX
  47. UserThunk MODIFYMENU
  48. UserThunk MOVEWINDOW
  49. ;;; UserThunk OFFSETRECT ; LOCALAPI in winrect.asm
  50. ;;; DUserThunk OLDEXITWINDOWS ; LOCALAPI in winutil.asm
  51. UserThunk OPENCLIPBOARD
  52. FUN_WOWOPENCOMM EQU FUN_OPENCOMM
  53. DUserThunk WOWOPENCOMM %(size OPENCOMM16)
  54. UserThunk OPENICON
  55. DUserThunk PAINTRECT
  56. UserThunk PEEKMESSAGE
  57. UserThunk POSTAPPMESSAGE
  58. UserThunk POSTMESSAGE
  59. UserThunk POSTMESSAGE2
  60. DUserThunk POSTQUITMESSAGE
  61. ;;; UserThunk PTINRECT ; LOCALAPI in winrect.asm
  62. UserThunk READCOMM
  63. UserThunk REALIZEPALETTE
  64. UserThunk REGISTERCLASS
  65. UserThunk REGISTERCLIPBOARDFORMAT
  66. PDUserThunk REGISTERWINDOWMESSAGE, TouchNotPresentSel
  67. DUserThunk RELEASECAPTURE,0
  68. UserThunk RELEASEDC
  69. UserThunk REMOVEMENU
  70. UserThunk REMOVEPROP
  71. DUserThunk REPAINTSCREEN
  72. DUserThunk REPLYMESSAGE
  73. ;;; UserThunk SBWNDPROC ;LOCALAPI in wsubcls.c
  74. DUserThunk SCROLLCHILDREN
  75. UserThunk SCROLLDC
  76. UserThunk SCROLLWINDOW
  77. UserThunk SELECTPALETTE
  78. UserThunk SENDDLGITEMMESSAGE
  79. UserThunk SENDMESSAGE
  80. UserThunk SENDMESSAGE2
  81. UserThunk SETACTIVEWINDOW
  82. UserThunk SETCAPTURE
  83. DUserThunk SETCARETBLINKTIME
  84. DUserThunk SETCARETPOS
  85. UserThunk SETCLASSLONG
  86. UserThunk SETCLASSWORD
  87. FUN_WOWSETCLIPBOARDDATA EQU FUN_SETCLIPBOARDDATA
  88. DUserThunk WOWSETCLIPBOARDDATA, %(size SETCLIPBOARDDATA16)
  89. UserThunk SETCLIPBOARDVIEWER
  90. sEnd CODE
  91. end
  92.