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.

59 lines
1.2 KiB

  1. TITLE commdlg.ASM
  2. PAGE ,132
  3. ;
  4. ; WOW v1.0
  5. ;
  6. ; Copyright (c) 1993, Microsoft Corporation
  7. ;
  8. ; COMMDLG.ASM
  9. ; Thunks in 16-bit space to route commdlg API calls to WOW32
  10. ;
  11. ; History:
  12. ; John Vert (jvert) 30-Dec-1992
  13. ; Created.
  14. ;
  15. .286p
  16. include wow.inc
  17. include wowcmdlg.inc
  18. include cmacros.inc
  19. __acrtused = 0
  20. public __acrtused ;satisfy external C ref.
  21. createSeg _TEXT,CODE,WORD,PUBLIC,CODE
  22. createSeg _DATA,DATA,WORD,PUBLIC,DATA,DGROUP
  23. defgrp DGROUP,DATA
  24. externFP SetWowCommDlg
  25. externFP WOW16Call
  26. sBegin DATA
  27. Reserved db 16 dup (0) ;reserved for Windows //!!!!! what is this
  28. commdlg_Identifier db 'commdlg16 Data Segment'
  29. extrn dwExtError:dword
  30. sEnd
  31. sEnd DATA
  32. sBegin CODE
  33. assumes CS,CODE
  34. assumes DS,DATA
  35. assumes ES,NOTHING
  36. CommdlgThunk GETOPENFILENAME
  37. CommdlgThunk GETSAVEFILENAME
  38. CommdlgThunk FINDTEXT
  39. CommdlgThunk REPLACETEXT
  40. CommdlgThunk CHOOSECOLOR
  41. CommdlgThunk CHOOSEFONT
  42. CommdlgThunk PRINTDLG
  43. CommdlgThunk WOWCOMMDLGEXTENDEDERROR
  44. sEnd CODE
  45. end