COMMDLG.ASI
上传用户:ys_happy
上传日期:2007-01-09
资源大小:20k
文件大小:8k
源码类别:

汇编语言

开发平台:

Asm

  1. tagOFN              STRUC   
  2. oflStructSize         DD      ?
  3. ofhwndOwner           DD      ?
  4. ofhInstance           DD      ?
  5. oflpstrFilter         DD      ?
  6. oflpstrCustomFilter   DD      ?
  7. ofnMaxCustFilter      DD      ?
  8. ofnFilterIndex        DD      ?
  9. oflpstrFile           DD      ?
  10. ofnMaxFile            DD      ?
  11. oflpstrFileTitle      DD      ?
  12. ofnMaxFileTitle       DD      ?
  13. oflpstrInitialDir     DD      ?
  14. oflpstrTitle          DD      ?
  15. ofFlags               DD      ?
  16. ofnFileOffset         DW      ?
  17. ofnFileExtension      DW      ?
  18. oflpstrDefExt         DD      ?
  19. oflCustData           DD      ?
  20. oflpfnHook            DD      ?
  21. oflpTemplateName      DD      ?
  22. tagOFN              ENDS
  23. OPENFILENAME        TYPEDEF tagOFN
  24. LPOPENFILENAME      TYPEDEF tagOFN
  25. OFN_READONLY        EQU     <00000001h>
  26. OFN_OVERWRITEPROMPT EQU     <00000002h>
  27. OFN_HIDEREADONLY    EQU     <00000004h>
  28. OFN_NOCHANGEDIR     EQU     <00000008h>
  29. OFN_SHOWHELP        EQU     <00000010h>
  30. OFN_ENABLEHOOK      EQU     <00000020h>
  31. OFN_ENABLETEMPLATE  EQU     <00000040h>
  32. OFN_ENABLETEMPLATEHANDLE                EQU     <00000080h>
  33. OFN_NOVALIDATE      EQU     <00000100h>
  34. OFN_NOLONGNAMES     EQU     <00040000h>
  35. OFN_EXPLORER        EQU     <00080000h>
  36. OFN_NODEREFERENCELINKS EQU  <00100000h>
  37. OFN_LONGNAMES       EQU     <00200000h>
  38. OFN_ALLOWMULTISELECT          EQU     <00000200h>
  39. OFN_EXTENSIONDIFFERENT                  EQU     <00000400h>
  40. OFN_PATHMUSTEXIST   EQU     <00000800h>
  41. OFN_FILEMUSTEXIST   EQU     <00001000h>
  42. OFN_CREATEPROMPT    EQU     <00002000h>
  43. OFN_SHAREAWARE      EQU     <00004000h>
  44. OFN_NOREADONLYRETURN          EQU     <00008000h>
  45. OFN_NOTESTFILECREATE          EQU     <00010000h>
  46. OFN_SHAREFALLTHROUGH          EQU     2
  47. OFN_SHARENOWARN     EQU     1
  48. OFN_SHAREWARN       EQU     0
  49. tagCHOOSECOLOR      STRUC   
  50. cclStructSize         DD      ?
  51. cchwndOwner           DW      ?
  52. cchInstance           DW      ?
  53. ccrgbResult           DD      ?
  54. cclpCustColors        DD      ?
  55. ccFlags               DD      ?
  56. cclCustData           DD      ?
  57. cclpfnHook            DW      ?
  58. cclpTemplateName      DD      ?
  59. tagCHOOSECOLOR      ENDS
  60. CHOOSECOLOR         TYPEDEF tagCHOOSECOLOR
  61. LPCHOOSECOLOR       TYPEDEF tagCHOOSECOLOR
  62. CC_RGBINIT          EQU     <00000001h>
  63. CC_FULLOPEN         EQU     <00000002h>
  64. CC_PREVENTFULLOPEN  EQU     <00000004h>
  65. CC_SHOWHELP         EQU     <00000008h>
  66. CC_ENABLEHOOK       EQU     <00000010h>
  67. CC_ENABLETEMPLATE   EQU     <00000020h>
  68. CC_ENABLETEMPLATEHANDLE                 EQU     <00000040h>
  69. tagFINDREPLACE      STRUC   
  70. frlStructSize         DD      ?
  71. frhwndOwner           DD      ?
  72. frhInstance           DD      ?
  73. frFlags               DD      ?
  74. frlpstrFindWhat       DD      ?
  75. frlpstrReplaceWith    DD      ?
  76. frwFindWhatLen        DW      ?
  77. frwReplaceWithLen     DW      ?
  78. frlCustData           DD      ?
  79. frlpfnHook            DD      ?
  80. frlpTemplateName      DD      ?
  81. tagFINDREPLACE      ENDS
  82. FINDREPLACE         TYPEDEF tagFINDREPLACE
  83. FR_DOWN             EQU     <00000001h>
  84. FR_WHOLEWORD        EQU     <00000002h>
  85. FR_MATCHCASE        EQU     <00000004h>
  86. FR_FINDNEXT         EQU     <00000008h>
  87. FR_REPLACE          EQU     <00000010h>
  88. FR_REPLACEALL       EQU     <00000020h>
  89. FR_DIALOGTERM       EQU     <00000040h>
  90. FR_SHOWHELP         EQU     <00000080h>
  91. FR_ENABLEHOOK       EQU     <00000100h>
  92. FR_ENABLETEMPLATE   EQU     <00000200h>
  93. FR_NOUPDOWN         EQU     <00000400h>
  94. FR_NOMATCHCASE      EQU     <00000800h>
  95. FR_NOWHOLEWORD      EQU     <00001000h>
  96. FR_ENABLETEMPLATEHANDLE                 EQU     <00002000h>
  97. FR_HIDEUPDOWN       EQU     <00004000h>
  98. FR_HIDEMATCHCASE    EQU     <00008000h>
  99. FR_HIDEWHOLEWORD    EQU     <00010000h>
  100. tagCHOOSEFONT       STRUC   
  101. cflStructSize         DD      ?
  102. cfhwndOwner           DW      ?
  103. cfhDC                 DW      ?
  104. cflpLogFont           DD      ?
  105. cfiPointSize          DW      ?
  106. cfFlags               DD      ?
  107. cfrgbColors           DD      ?
  108. cflCustData           DD      ?
  109. cflpfnHook            DD      ?
  110. cflpTemplateName      DD      ?
  111. cfhInstance           DD      ?
  112. cflpszStyle           DD      ?
  113. cfnFontType           DW      ?
  114. cfnSizeMin            DW      ?
  115. cfnSizeMax            DW      ?
  116. tagCHOOSEFONT       ENDS
  117. CHOOSEFONT          TYPEDEF tagCHOOSEFONT
  118. CF_SCREENFONTS      EQU     <00000001h>
  119. CF_PRINTERFONTS     EQU     <00000002h>
  120. CF_BOTH             EQU     <(CF_SCREENFONTS | CF_PRINTERFONTS)>
  121. CF_SHOWHELP         EQU     <00000004h>
  122. CF_ENABLEHOOK       EQU     <00000008h>
  123. CF_ENABLETEMPLATE   EQU     <00000010h>
  124. CF_ENABLETEMPLATEHANDLE                 EQU     <00000020h>
  125. CF_INITTOLOGFONTSTRUCT                  EQU     <00000040h>
  126. CF_USESTYLE         EQU     <00000080h>
  127. CF_EFFECTS          EQU     <00000100h>
  128. CF_APPLY            EQU     <00000200h>
  129. CF_ANSIONLY         EQU     <00000400h>
  130. CF_NOVECTORFONTS    EQU     <00000800h>
  131. CF_NOOEMFONTS       EQU     <CF_NOVECTORFONTS>
  132. CF_NOSIMULATIONS    EQU     <00001000h>
  133. CF_LIMITSIZE        EQU     <00002000h>
  134. CF_FIXEDPITCHONLY   EQU     <00004000h>
  135. CF_WYSIWYG          EQU     <00008000h>
  136. CF_FORCEFONTEXIST   EQU     <00010000h>
  137. CF_SCALABLEONLY     EQU     <00020000h>
  138. CF_TTONLY           EQU     <00040000h>
  139. CF_NOFACESEL        EQU     <00080000h>
  140. CF_NOSTYLESEL       EQU     <00100000h>
  141. CF_NOSIZESEL        EQU     <00200000h>
  142. SIMULATED_FONTTYPE  EQU     08000h
  143. PRINTER_FONTTYPE    EQU     04000h
  144. SCREEN_FONTTYPE     EQU     02000h
  145. BOLD_FONTTYPE       EQU     00100h
  146. ITALIC_FONTTYPE     EQU     00200h
  147. REGULAR_FONTTYPE    EQU     00400h
  148. WM_CHOOSEFONT_GETLOGFONT                EQU     <(WM_USER + 1)>
  149. LBSELCHSTRING       EQU     <"commdlg_LBSelChangedNotify">
  150. SHAREVISTRING       EQU     <"commdlg_ShareViolation">
  151. FILEOKSTRING        EQU     <"commdlg_FileNameOK">
  152. COLOROKSTRING       EQU     <"commdlg_ColorOK">
  153. SETRGBSTRING        EQU     <"commdlg_SetRGBColor">
  154. FINDMSGSTRING       EQU     <"commdlg_FindReplace">
  155. HELPMSGSTRING       EQU     <"commdlg_help">
  156. CD_LBSELNOITEMS     EQU     <-1>
  157. CD_LBSELCHANGE      EQU     0
  158. CD_LBSELSUB         EQU     1
  159. CD_LBSELADD         EQU     2
  160. tagPD               STRUC   
  161. pdlStructSize         DD      ?
  162. pdhwndOwner           DD      ?
  163. pdhDevMode            DD      ?
  164. pdhDevNames           DD      ?
  165. pdhDC                 DD      ?
  166. pdFlags               DD      ?
  167. pdnFromPage           DW      ?
  168. pdnToPage             DW      ?
  169. pdnMinPage            DW      ?
  170. pdnMaxPage            DW      ?
  171. pdnCopies             DW      ?
  172. pdhInstance           DW      ?
  173. pdlCustData           DD      ?
  174. pdlpfnPrintHook       DD      ?
  175. pdlpfnSetupHook       DD      ?
  176. pdlpPrintTemplateName DD      ?
  177. pdlpSetupTemplateName DD      ?
  178. pdhPrintTemplate      DD      ?
  179. pdhSetupTemplate      DD      ?
  180. tagPD               ENDS
  181. PRINTDLG            TYPEDEF tagPD
  182. PD_ALLPAGES         EQU     0
  183. PD_SELECTION        EQU     <00000001h>
  184. PD_PAGENUMS         EQU     <00000002h>
  185. PD_NOSELECTION      EQU     <00000004h>
  186. PD_NOPAGENUMS       EQU     <00000008h>
  187. PD_COLLATE          EQU     <00000010h>
  188. PD_PRINTTOFILE      EQU     <00000020h>
  189. PD_PRINTSETUP       EQU     <00000040h>
  190. PD_NOWARNING        EQU     <00000080h>
  191. PD_RETURNDC         EQU     <00000100h>
  192. PD_RETURNIC         EQU     <00000200h>
  193. PD_RETURNDEFAULT    EQU     <00000400h>
  194. PD_SHOWHELP         EQU     <00000800h>
  195. PD_ENABLEPRINTHOOK  EQU     <00001000h>
  196. PD_ENABLESETUPHOOK  EQU     <00002000h>
  197. PD_ENABLEPRINTTEMPLATE                  EQU     <00004000h>
  198. PD_ENABLESETUPTEMPLATE                  EQU     <00008000h>
  199. PD_ENABLEPRINTTEMPLATEHANDLE            EQU     <00010000h>
  200. PD_ENABLESETUPTEMPLATEHANDLE            EQU     <00020000h>
  201. PD_USEDEVMODECOPIES EQU     <00040000h>
  202. PD_DISABLEPRINTTOFILE                   EQU     <00080000h>
  203. PD_HIDEPRINTTOFILE  EQU     <00100000h>
  204. tagDEVNAMES         STRUC   
  205. wDriverOffset       DW      ?
  206. wDeviceOffset       DW      ?
  207. wOutputOffset       DW      ?
  208. wDefault            DW      ?
  209. tagDEVNAMES         ENDS
  210. DEVNAMES            TYPEDEF tagDEVNAMES
  211. DN_DEFAULTPRN       EQU     00001h