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.

131 lines
4.1 KiB

  1. ;-----------------------------------------------------------------------;
  2. ; CVTSTRUC.INC
  3. ;
  4. ; This module contains macros that generate 16-bit code to convert
  5. ; structures in either direction between 16-bit and 32-bit definitions.
  6. ;
  7. ; For use by the message thunks only.
  8. ;
  9. ; For structure definitions, see the file struc.inc.
  10. ;
  11. ; The format of the macro names is: convert<structure-name><direction>
  12. ; where <structure-name> is the name of the structure as defined in
  13. ; struc.inc (all uppercase), and <direction> is either LS (large-to-small,
  14. ; i.e. 32-to-16) or SL (small-to-large, i.e. 16-to-32).
  15. ;-----------------------------------------------------------------------;
  16. include cvt.inc
  17. ;----------------------------------------------------------------------------
  18. ;
  19. ; STRUCTURE TYPES
  20. ;
  21. ; These are the structure types we know how to convert for messages
  22. ; and hooks.
  23. ;
  24. ;----------------------------------------------------------------------------
  25. RECT_STRUC equ 0
  26. DROPSTRUCT_STRUC equ 1
  27. COMPAREITEMSTRUCT_STRUC equ 2
  28. DELETEITEMSTRUCT_STRUC equ 3
  29. DRAWITEMSTRUCT_STRUC equ 4
  30. MEASUREITEMSTRUCT_STRUC equ 5
  31. INTSARRAY_STRUC equ 6
  32. MINMAXINFOSTRUCT_STRUC equ 7
  33. CREATESTRUCT_STRUC equ 8
  34. MDICREATESTRUCT_STRUC equ 9
  35. CREATESTRUCT2_STRUC equ 10
  36. WINDOWPOS_STRUC equ 11
  37. OPENFILENAME_STRUC equ 12
  38. CHOOSECOLOR_STRUC equ 13
  39. CHOOSEFONT2_STRUC equ 14
  40. COPYDATASTRUCT_STRUC equ 15
  41. HELPINFOSTRUCT_STRUC equ 16
  42. MDINEXTMENU_STRUC equ 17
  43. MSGSTRUCT_STRUC equ 18
  44. PRINTDLG_STRUC equ 19
  45. PAINTSTRUCT_STRUC equ 20
  46. NCCALCSIZE_STRUC equ 21
  47. MENUGETOBJECTINFO_STRUC equ 22
  48. ifdef FE_IME
  49. LOGFONT_STRUC equ 23
  50. COMPOSITIONFORM_STRUC equ 24
  51. CANDIDATEFORM_STRUC equ 25
  52. MAX_STRUC equ 26
  53. else
  54. MAX_STRUC equ 23
  55. endif
  56. externDef cvtRECTLS:near16
  57. externDef cvtDROPSTRUCTLS:near16
  58. externDef cvtCOMPAREITEMSTRUCTLS:near16
  59. externDef cvtDELETEITEMSTRUCTLS:near16
  60. externDef cvtDRAWITEMSTRUCTLS:near16
  61. externDef cvtMEASUREITEMSTRUCTLS:near16
  62. externDef cvtMINMAXINFOSTRUCTLS:near16
  63. externDef cvtCREATESTRUCTLS:near16
  64. externDef cvtMDICREATESTRUCTLS:near16
  65. externDef cvtCREATESTRUCT2LS:near16
  66. externDef cvtWINDOWPOSLS:near16
  67. externDef cvtMOUSEHOOKSTRUCTLS:near16
  68. externDef cvtEVENTMSGLS:near16
  69. externDef cvtCBTACTIVATESTRUCTLS:near16
  70. externDef cvtOPENFILENAMELS:near16
  71. externDef cvtCHOOSECOLORLS:near16
  72. externDef cvtCHOOSEFONT2LS:near16
  73. externDef cvtLOGFONTLS:near16
  74. externDef cvtPRINTDLGLS:near16
  75. externDef cvtCOPYDATASTRUCTLS:near16
  76. externDef cvtHELPINFOSTRUCTLS:near16
  77. externDef cvtPAINTSTRUCTLS:near16
  78. externDef cvtINTSARRAYLS:near16
  79. externDef cvtMSGSTRUCTLS:near16
  80. externDef cvtDEBUGHOOKLS:near16
  81. externDef cvtNCCALCSIZELS:near16
  82. externDef cvtMENUGETOBJECTINFOLS:near16
  83. ifdef FE_IME
  84. externDef cvtLOGFONTLS:near16
  85. externDef cvtCOMPOSITIONFORMLS:near16
  86. externDef cvtCANDIDATEFORMLS:near16
  87. endif
  88. externDef cvtRECTSL:near16
  89. externDef cvtDROPSTRUCTSL:near16
  90. externDef cvtCOMPAREITEMSTRUCTSL:near16
  91. externDef cvtDELETEITEMSTRUCTSL:near16
  92. externDef cvtDRAWITEMSTRUCTSL:near16
  93. externDef cvtMEASUREITEMSTRUCTSL:near16
  94. externDef cvtMINMAXINFOSTRUCTSL:near16
  95. externDef cvtCREATESTRUCTSL:near16
  96. externDef cvtMDICREATESTRUCTSL:near16
  97. externDef cvtCREATESTRUCT2SL:near16
  98. externDef cvtWINDOWPOSSL:near16
  99. externDef cvtMOUSEHOOKSTRUCTSL:near16
  100. externDef cvtEVENTMSGSL:near16
  101. externDef cvtCBTACTIVATESTRUCTSL:near16
  102. externDef cvtOPENFILENAMESL:near16
  103. externDef cvtCHOOSECOLORSL:near16
  104. externDef cvtCHOOSEFONT2SL:near16
  105. externDef cvtLOGFONTSL:near16
  106. externDef cvtPRINTDLGSL:near16
  107. externDef cvtCOPYDATASTRUCTSL:near16
  108. externDef cvtHELPINFOSTRUCTSL:near16
  109. externDef cvtPAINTSTRUCTSL:near16
  110. externDef cvtINTSARRAYSL:near16
  111. externDef cvtMDINEXTMENUSL:near16
  112. externDef cvtMSGSTRUCTSL:near16
  113. externDef cvtDEBUGHOOKSL:near16
  114. externDef cvtNCCALCSIZESL:near16
  115. externDef cvtMENUGETOBJECTINFOSL:near16
  116. ifdef FE_IME
  117. externDef cvtLOGFONTSL:near16
  118. externDef cvtCOMPOSITIONFORMSL:near16
  119. externDef cvtCANDIDATEFORMSL:near16
  120. endif