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.

1771 lines
54 KiB

  1. //
  2. // Copyright 2001 - Microsoft Corporation
  3. //
  4. // Created By:
  5. // Geoff Pease (GPease) 23-JAN-2001
  6. //
  7. // Maintained By:
  8. // Geoff Pease (GPease) 23-JAN-2001
  9. //
  10. // Description:
  11. // This file contains the property mapping for property that can be
  12. // displayed in the "Advanced" view of the Summary Tab.
  13. //
  14. #include "pch.h"
  15. #include "defprop.h"
  16. #include "doctypes.h"
  17. //
  18. // Property Folder ID definitions
  19. // HACKHACK: These should go in shlguid
  20. //
  21. // {19469210-75DE-11d2-BE77-00A0C9A83DA1}
  22. static const PFID PFID_Description =
  23. { 0x19469210, 0x75de, 0x11d2, { 0xbe, 0x77, 0x0, 0xa0, 0xc9, 0xa8, 0x3d, 0xa1 } };
  24. // {19469211-75DE-11d2-BE77-00A0C9A83DA1}
  25. static const PFID PFID_Origin =
  26. { 0x19469211, 0x75de, 0x11d2, { 0xbe, 0x77, 0x0, 0xa0, 0xc9, 0xa8, 0x3d, 0xa1 } };
  27. // {19469212-75DE-11d2-BE77-00A0C9A83DA1}
  28. static const PFID PFID_ImageProperties =
  29. { 0x19469212, 0x75de, 0x11d2, { 0xbe, 0x77, 0x0, 0xa0, 0xc9, 0xa8, 0x3d, 0xa1 } };
  30. // {19469213-75DE-11d2-BE77-00A0C9A83DA1}
  31. static const PFID PFID_AudioProperties =
  32. { 0x19469213, 0x75de, 0x11d2, { 0xbe, 0x77, 0x0, 0xa0, 0xc9, 0xa8, 0x3d, 0xa1 } };
  33. // {19469214-75DE-11d2-BE77-00A0C9A83DA1}
  34. static const PFID PFID_VideoProperties =
  35. { 0x19469214, 0x75de, 0x11d2, { 0xbe, 0x77, 0x0, 0xa0, 0xc9, 0xa8, 0x3d, 0xa1 } };
  36. // {19469214-75DE-11d2-BE77-00A0C9A83DA1}
  37. static const PFID PFID_MidiProperties =
  38. { 0x19469215, 0x75de, 0x11d2, { 0xbe, 0x77, 0x0, 0xa0, 0xc9, 0xa8, 0x3d, 0xa1 } };
  39. // {4C927CBB-7994-11d2-BE78-00A0C9A83DA1}
  40. static const PFID PFID_FaxProperties =
  41. { 0x4c927cbb, 0x7994, 0x11d2, { 0xbe, 0x78, 0x0, 0xa0, 0xc9, 0xa8, 0x3d, 0xa1 } };
  42. // {3F18DAD5-2B47-4ade-9D6B-E751D7AAFCDC}
  43. static const PFID PFID_MusicProperties =
  44. { 0x3f18dad5, 0x2b47, 0x4ade, { 0x9d, 0x6b, 0xe7, 0x51, 0xd7, 0xaa, 0xfc, 0xdc } };
  45. /* 95329798-08a5-4c9d-82ff-d3b1a8009d44 */
  46. static const PFID PFID_ExifProperties =
  47. { 0x95329798, 0x08a5, 0x4c9d, { 0x82, 0xff, 0xd3, 0xb1, 0xa8, 0x00, 0x9d, 0x44 } };
  48. // ***************************************************************************
  49. //
  50. // Table Definition Macros
  51. //
  52. // ***************************************************************************
  53. //
  54. // DEFPROP macros
  55. //
  56. #define BEGIN_DEFPROP_MAP( mapname ) \
  57. static const DEFPROPERTYITEM mapname[] = {
  58. #define DEFPROP_ENTRY( name, fmtid, propid, type, srctype, pfid, access, addmissing, ctlID ) \
  59. { name, &fmtid, propid, type, srctype, &pfid, access, addmissing, FALSE, &ctlID, 0, 0 },
  60. #define DEFPROP_ENUM_ENTRY( name, fmtid, propid, type, srctype, pfid, access, addmissing, ctlID, cVals, vals ) \
  61. { name, &fmtid, propid, type, srctype, &pfid, access, addmissing, TRUE, &ctlID, cVals, vals },
  62. #define END_DEFPROP_MAP \
  63. { NULL, NULL, 0, 0, 0, NULL, 0, 0, 0, 0, 0 } };
  64. // ***************************************************************************
  65. //
  66. // Table Definitions
  67. //
  68. // ***************************************************************************
  69. //
  70. // Top level "folder" names
  71. //
  72. static const DEFFOLDERITEM g_rgTopLevelFolders[] = {
  73. { &PFID_FaxProperties , IDS_FOLDER_FAX }
  74. , { &PFID_ImageProperties , IDS_FOLDER_IMAGE }
  75. , { &PFID_MusicProperties , IDS_FOLDER_MUSIC }
  76. , { &PFID_Description , IDS_FOLDER_DESCRIPTION }
  77. , { &PFID_Origin , IDS_FOLDER_SOURCE }
  78. , { &PFID_AudioProperties , IDS_FOLDER_AUDIO }
  79. , { &PFID_VideoProperties , IDS_FOLDER_VIDEO }
  80. , { NULL , 0 }
  81. };
  82. //
  83. // Template table to lookup VARIANT_BOOLs into strings.
  84. //
  85. static const DEFVAL g_rgBoolYesNo[] = {
  86. { VARIANT_TRUE , NULL }
  87. , { VARIANT_FALSE , NULL }
  88. , { 0 , NULL }
  89. };
  90. //
  91. // Template table to lookup "Status values" into strings.
  92. //
  93. static const DEFVAL g_rgMediaStatusVals[] = {
  94. { PIDMSI_STATUS_NORMAL , NULL }
  95. , { PIDMSI_STATUS_NEW , NULL }
  96. , { PIDMSI_STATUS_PRELIM , NULL }
  97. , { PIDMSI_STATUS_DRAFT , NULL }
  98. , { PIDMSI_STATUS_EDIT , NULL }
  99. , { PIDMSI_STATUS_INPROGRESS, NULL }
  100. , { PIDMSI_STATUS_REVIEW , NULL }
  101. , { PIDMSI_STATUS_PROOF , NULL }
  102. , { PIDMSI_STATUS_FINAL , NULL }
  103. , { PIDMSI_STATUS_OTHER , NULL }
  104. , { 0 , NULL }
  105. };
  106. //
  107. // Use these defines to help make the table more readable.
  108. //
  109. #define READONLY TRUE
  110. #define READWRITE FALSE
  111. #define ADDIFMISSING TRUE
  112. #define INGOREIFMISSING FALSE
  113. //
  114. // "Property <--> Folder" mapping table
  115. //
  116. BEGIN_DEFPROP_MAP( g_rgDefPropertyItems )
  117. //
  118. // Properties in the 'General' folder
  119. //
  120. DEFPROP_ENTRY( L"Title"
  121. , FMTID_SummaryInformation
  122. , PIDSI_TITLE
  123. , VT_LPWSTR
  124. , FTYPE_DOC
  125. | FTYPE_XLS
  126. | FTYPE_PPT
  127. | FTYPE_EPS
  128. | FTYPE_FPX
  129. | FTYPE_JPG
  130. | FTYPE_PCD
  131. | FTYPE_PCX
  132. | FTYPE_PICT
  133. | FTYPE_TGA
  134. | FTYPE_TIF
  135. | FTYPE_ASF
  136. | FTYPE_MP3
  137. | FTYPE_WMV
  138. | FTYPE_WMA
  139. | FTYPE_UNKNOWN
  140. , PFID_Description
  141. , READWRITE
  142. , ADDIFMISSING
  143. , CLSID_DocPropEditBoxControl // single line?
  144. )
  145. DEFPROP_ENTRY( L"Subject"
  146. , FMTID_SummaryInformation
  147. , PIDSI_SUBJECT
  148. , VT_LPWSTR
  149. , FTYPE_DOC
  150. | FTYPE_XLS
  151. | FTYPE_PPT
  152. | FTYPE_EPS
  153. | FTYPE_FPX
  154. | FTYPE_PCD
  155. | FTYPE_PCX
  156. | FTYPE_PICT
  157. | FTYPE_TGA
  158. | FTYPE_JPG
  159. | FTYPE_UNKNOWN
  160. , PFID_Description
  161. , READWRITE
  162. , ADDIFMISSING
  163. , CLSID_DocPropEditBoxControl // single line?
  164. )
  165. DEFPROP_ENTRY( L"Category"
  166. , FMTID_DocSummaryInformation
  167. , PIDDSI_CATEGORY
  168. , VT_LPWSTR
  169. , FTYPE_DOC
  170. | FTYPE_XLS
  171. | FTYPE_PPT
  172. | FTYPE_EPS
  173. | FTYPE_FPX
  174. | FTYPE_PCD
  175. | FTYPE_PCX
  176. | FTYPE_PICT
  177. | FTYPE_TGA
  178. | FTYPE_UNKNOWN
  179. , PFID_Description
  180. , READWRITE
  181. , ADDIFMISSING
  182. , CLSID_DocPropEditBoxControl // single line?
  183. )
  184. DEFPROP_ENTRY( L"Keywords"
  185. , FMTID_SummaryInformation
  186. , PIDSI_KEYWORDS
  187. , VT_LPWSTR
  188. , FTYPE_DOC
  189. | FTYPE_XLS
  190. | FTYPE_PPT
  191. | FTYPE_EPS
  192. | FTYPE_FPX
  193. | FTYPE_PCD
  194. | FTYPE_PCX
  195. | FTYPE_PICT
  196. | FTYPE_TGA
  197. | FTYPE_JPG
  198. | FTYPE_UNKNOWN
  199. , PFID_Description
  200. , READWRITE
  201. , ADDIFMISSING
  202. , CLSID_DocPropMLEditBoxControl
  203. )
  204. DEFPROP_ENTRY( L"Rating"
  205. , FMTID_MediaFileSummaryInformation
  206. , PIDMSI_RATING
  207. , VT_LPWSTR
  208. , FTYPE_EPS
  209. | FTYPE_FPX
  210. | FTYPE_PCD
  211. | FTYPE_PCX
  212. | FTYPE_PICT
  213. | FTYPE_TGA
  214. , PFID_Description
  215. , READWRITE
  216. , ADDIFMISSING
  217. , CLSID_DocPropEditBoxControl // single line?
  218. )
  219. DEFPROP_ENTRY( L"Template"
  220. , FMTID_SummaryInformation
  221. , PIDSI_TEMPLATE
  222. , VT_LPWSTR
  223. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  224. , PFID_Description
  225. , READONLY
  226. , INGOREIFMISSING
  227. , CLSID_NULL
  228. )
  229. DEFPROP_ENTRY( L"PageCount"
  230. , FMTID_SummaryInformation
  231. , PIDSI_PAGECOUNT
  232. , VT_I4
  233. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT | FTYPE_TIF
  234. , PFID_Description
  235. , READONLY
  236. , INGOREIFMISSING
  237. , CLSID_NULL
  238. )
  239. DEFPROP_ENTRY( L"WordCount"
  240. , FMTID_SummaryInformation
  241. , PIDSI_WORDCOUNT
  242. , VT_I4
  243. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  244. , PFID_Description
  245. , READONLY
  246. , INGOREIFMISSING
  247. , CLSID_NULL
  248. )
  249. DEFPROP_ENTRY( L"CharCount"
  250. , FMTID_SummaryInformation
  251. , PIDSI_CHARCOUNT
  252. , VT_I4
  253. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  254. , PFID_Description
  255. , READONLY
  256. , INGOREIFMISSING
  257. , CLSID_NULL
  258. )
  259. DEFPROP_ENTRY( L"ByteCount"
  260. , FMTID_DocSummaryInformation
  261. , PIDDSI_BYTECOUNT
  262. , VT_I4
  263. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  264. , PFID_Description
  265. , READONLY
  266. , INGOREIFMISSING
  267. , CLSID_NULL
  268. )
  269. DEFPROP_ENTRY( L"LineCount"
  270. , FMTID_DocSummaryInformation
  271. , PIDDSI_LINECOUNT
  272. , VT_I4
  273. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  274. , PFID_Description
  275. , READONLY
  276. , INGOREIFMISSING
  277. , CLSID_NULL
  278. )
  279. DEFPROP_ENTRY( L"ParCount"
  280. , FMTID_DocSummaryInformation
  281. , PIDDSI_PARCOUNT
  282. , VT_I4
  283. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  284. , PFID_Description
  285. , READONLY
  286. , INGOREIFMISSING
  287. , CLSID_NULL
  288. )
  289. DEFPROP_ENTRY( L"SlideCount"
  290. , FMTID_DocSummaryInformation
  291. , PIDDSI_SLIDECOUNT
  292. , VT_I4
  293. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  294. , PFID_Description
  295. , READONLY
  296. , INGOREIFMISSING
  297. , CLSID_NULL
  298. )
  299. DEFPROP_ENTRY( L"NoteCount"
  300. , FMTID_DocSummaryInformation
  301. , PIDDSI_NOTECOUNT
  302. , VT_I4
  303. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  304. , PFID_Description
  305. , READONLY
  306. , INGOREIFMISSING
  307. , CLSID_NULL
  308. )
  309. DEFPROP_ENTRY( L"HiddenCount"
  310. , FMTID_DocSummaryInformation
  311. , PIDDSI_HIDDENCOUNT
  312. , VT_I4
  313. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  314. , PFID_Description
  315. , READONLY
  316. , INGOREIFMISSING
  317. , CLSID_NULL
  318. )
  319. DEFPROP_ENTRY( L"MMClipCount"
  320. , FMTID_DocSummaryInformation
  321. , PIDDSI_MMCLIPCOUNT
  322. , VT_I4
  323. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  324. , PFID_Description
  325. , READONLY
  326. , INGOREIFMISSING
  327. , CLSID_NULL
  328. )
  329. DEFPROP_ENUM_ENTRY( L"Scale"
  330. , FMTID_DocSummaryInformation
  331. , PIDDSI_SCALE
  332. , VT_BOOL
  333. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  334. , PFID_Description
  335. , READONLY
  336. , INGOREIFMISSING
  337. , CLSID_DocPropDropListComboControl
  338. , ARRAYSIZE(g_rgBoolYesNo)
  339. , g_rgBoolYesNo
  340. )
  341. #ifdef VECTOR_PROPS
  342. //
  343. // BEGIN: Can't deal with these vector types.
  344. //
  345. DEFPROP_ENTRY( L"HeadingPair"
  346. , FMTID_DocSummaryInformation
  347. , PIDDSI_HEADINGPAIR
  348. , VT_VARIANT | VT_VECTOR
  349. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  350. , PFID_Description
  351. , READONLY
  352. , INGOREIFMISSING
  353. , CLSID_NULL
  354. )
  355. DEFPROP_ENTRY( L"DocParts"
  356. , FMTID_DocSummaryInformation
  357. , PIDDSI_DOCPARTS
  358. , VT_LPWSTR | VT_VECTOR
  359. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  360. , PFID_Description
  361. , READONLY
  362. , INGOREIFMISSING
  363. , CLSID_NULL
  364. )
  365. //
  366. // END: Can't deal with these vector types
  367. //
  368. #endif VECTOR_PROPS
  369. DEFPROP_ENTRY( L"LinksUpToDate"
  370. , FMTID_DocSummaryInformation
  371. , PIDDSI_LINKSDIRTY
  372. , VT_BOOL
  373. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  374. , PFID_Description
  375. , READONLY
  376. , INGOREIFMISSING
  377. , CLSID_DocPropDropListComboControl
  378. )
  379. DEFPROP_ENTRY( L"Comments"
  380. , FMTID_SummaryInformation
  381. , PIDSI_COMMENTS
  382. , VT_LPWSTR
  383. , FTYPE_DOC
  384. | FTYPE_XLS
  385. | FTYPE_PPT
  386. | FTYPE_EPS
  387. | FTYPE_FPX
  388. | FTYPE_JPG
  389. | FTYPE_PCD
  390. | FTYPE_PCX
  391. | FTYPE_PICT
  392. | FTYPE_TIF
  393. | FTYPE_TGA
  394. | FTYPE_ASF
  395. | FTYPE_MP3
  396. | FTYPE_WMV
  397. | FTYPE_WMA
  398. | FTYPE_UNKNOWN
  399. , PFID_Description
  400. , READWRITE
  401. , ADDIFMISSING
  402. , CLSID_DocPropMLEditBoxControl
  403. )
  404. DEFPROP_ENTRY( L"FileType"
  405. , FMTID_ImageSummaryInformation
  406. , PIDISI_FILETYPE
  407. , VT_LPWSTR
  408. , FTYPE_IMAGE
  409. | FTYPE_GIF
  410. | FTYPE_EPS
  411. | FTYPE_FPX
  412. | FTYPE_JPG
  413. | FTYPE_PCD
  414. | FTYPE_PCX
  415. | FTYPE_PICT
  416. | FTYPE_PNG
  417. | FTYPE_TGA
  418. | FTYPE_TIF
  419. , PFID_ImageProperties
  420. , READONLY
  421. , INGOREIFMISSING
  422. , CLSID_NULL
  423. )
  424. DEFPROP_ENTRY( L"Width"
  425. , FMTID_ImageSummaryInformation
  426. , PIDISI_CX
  427. , VT_UI4
  428. , FTYPE_IMAGE
  429. | FTYPE_EPS
  430. | FTYPE_FPX
  431. | FTYPE_GIF
  432. | FTYPE_JPG
  433. | FTYPE_PCD
  434. | FTYPE_PCX
  435. | FTYPE_PICT
  436. | FTYPE_PNG
  437. | FTYPE_TIF
  438. | FTYPE_TGA
  439. | FTYPE_AVI
  440. | FTYPE_ASF
  441. | FTYPE_MP3
  442. | FTYPE_WMV
  443. | FTYPE_WMA
  444. , PFID_ImageProperties
  445. , READONLY
  446. , INGOREIFMISSING
  447. , CLSID_NULL
  448. )
  449. DEFPROP_ENTRY( L"Height"
  450. , FMTID_ImageSummaryInformation
  451. , PIDISI_CY
  452. , VT_UI4
  453. , FTYPE_IMAGE
  454. | FTYPE_EPS
  455. | FTYPE_FPX
  456. | FTYPE_GIF
  457. | FTYPE_JPG
  458. | FTYPE_PCD
  459. | FTYPE_PCX
  460. | FTYPE_PICT
  461. | FTYPE_PNG
  462. | FTYPE_TGA
  463. | FTYPE_TIF
  464. | FTYPE_AVI
  465. | FTYPE_ASF
  466. | FTYPE_MP3
  467. | FTYPE_WMV
  468. , PFID_ImageProperties
  469. , READONLY
  470. , INGOREIFMISSING
  471. , CLSID_NULL
  472. )
  473. DEFPROP_ENTRY( L"ResolutionX"
  474. , FMTID_ImageSummaryInformation
  475. , PIDISI_RESOLUTIONX
  476. , VT_UI4
  477. , FTYPE_IMAGE
  478. | FTYPE_EPS
  479. | FTYPE_FPX
  480. | FTYPE_GIF
  481. | FTYPE_JPG
  482. | FTYPE_PCD
  483. | FTYPE_PCX
  484. | FTYPE_PICT
  485. | FTYPE_PNG
  486. | FTYPE_TGA
  487. | FTYPE_TIF
  488. , PFID_ImageProperties
  489. , READONLY
  490. , INGOREIFMISSING
  491. , CLSID_NULL
  492. )
  493. DEFPROP_ENTRY( L"ResolutionY"
  494. , FMTID_ImageSummaryInformation
  495. , PIDISI_RESOLUTIONY
  496. , VT_UI4
  497. , FTYPE_IMAGE
  498. | FTYPE_EPS
  499. | FTYPE_FPX
  500. | FTYPE_GIF
  501. | FTYPE_JPG
  502. | FTYPE_PCD
  503. | FTYPE_PCX
  504. | FTYPE_PICT
  505. | FTYPE_PNG
  506. | FTYPE_TGA
  507. | FTYPE_TIF
  508. , PFID_ImageProperties
  509. , READONLY
  510. , INGOREIFMISSING
  511. , CLSID_NULL
  512. )
  513. DEFPROP_ENTRY( L"BitDepth"
  514. , FMTID_ImageSummaryInformation
  515. , PIDISI_BITDEPTH
  516. , VT_UI4
  517. , FTYPE_IMAGE
  518. | FTYPE_EPS
  519. | FTYPE_FPX
  520. | FTYPE_GIF
  521. | FTYPE_JPG
  522. | FTYPE_PCD
  523. | FTYPE_PCX
  524. | FTYPE_PICT
  525. | FTYPE_PNG
  526. | FTYPE_TGA
  527. | FTYPE_TIF
  528. , PFID_ImageProperties
  529. , READONLY
  530. , INGOREIFMISSING
  531. , CLSID_NULL
  532. )
  533. DEFPROP_ENTRY( L"Colorspace"
  534. , FMTID_ImageSummaryInformation
  535. , PIDISI_COLORSPACE
  536. , VT_LPWSTR
  537. , FTYPE_IMAGE
  538. | FTYPE_EPS
  539. | FTYPE_FPX
  540. | FTYPE_GIF
  541. | FTYPE_JPG
  542. | FTYPE_PCD
  543. | FTYPE_PCX
  544. | FTYPE_PICT
  545. | FTYPE_PNG
  546. | FTYPE_TGA
  547. | FTYPE_TIF
  548. , PFID_ImageProperties
  549. , READONLY
  550. , INGOREIFMISSING
  551. , CLSID_NULL
  552. )
  553. DEFPROP_ENTRY( L"Gamma"
  554. , FMTID_ImageSummaryInformation
  555. , PIDISI_GAMMAVALUE
  556. , VT_UI4
  557. , FTYPE_IMAGE
  558. | FTYPE_EPS
  559. | FTYPE_FPX
  560. | FTYPE_GIF
  561. | FTYPE_JPG
  562. | FTYPE_PCD
  563. | FTYPE_PCX
  564. | FTYPE_PICT
  565. | FTYPE_PNG
  566. | FTYPE_TGA
  567. | FTYPE_TIF
  568. , PFID_ImageProperties
  569. , READONLY
  570. , INGOREIFMISSING
  571. , CLSID_NULL
  572. )
  573. DEFPROP_ENTRY( L"FrameCount"
  574. , FMTID_ImageSummaryInformation
  575. , PIDISI_FRAMECOUNT
  576. , VT_UI4
  577. , FTYPE_IMAGE
  578. | FTYPE_EPS
  579. | FTYPE_FPX
  580. | FTYPE_GIF
  581. | FTYPE_JPG
  582. | FTYPE_PCD
  583. | FTYPE_PCX
  584. | FTYPE_PICT
  585. | FTYPE_PNG
  586. | FTYPE_TGA
  587. | FTYPE_TIF
  588. | FTYPE_AVI
  589. | FTYPE_ASF
  590. | FTYPE_MP3
  591. | FTYPE_WMV
  592. | FTYPE_WAV
  593. | FTYPE_WMA
  594. , PFID_ImageProperties
  595. , READONLY
  596. , INGOREIFMISSING
  597. , CLSID_NULL
  598. )
  599. DEFPROP_ENTRY( L"Compression"
  600. , FMTID_ImageSummaryInformation
  601. , PIDISI_COMPRESSION
  602. , VT_LPWSTR
  603. , FTYPE_IMAGE
  604. | FTYPE_EPS
  605. | FTYPE_FPX
  606. | FTYPE_GIF
  607. | FTYPE_JPG
  608. | FTYPE_PCD
  609. | FTYPE_PCX
  610. | FTYPE_PICT
  611. | FTYPE_PNG
  612. | FTYPE_TGA
  613. | FTYPE_TIF
  614. , PFID_ImageProperties
  615. , READONLY
  616. , INGOREIFMISSING
  617. , CLSID_NULL
  618. )
  619. //
  620. // Properties in the 'Fax' folder
  621. //
  622. DEFPROP_ENTRY( L"FaxTime"
  623. , FMTID_ImageProperties
  624. , TIFFTAG_FAX_END_TIME
  625. , VT_FILETIME
  626. , FTYPE_TIF
  627. , PFID_FaxProperties
  628. , READONLY
  629. , INGOREIFMISSING
  630. , CLSID_DocPropCalendarControl
  631. )
  632. DEFPROP_ENTRY( L"FaxSenderName"
  633. , FMTID_ImageProperties
  634. , TIFFTAG_SENDER_NAME
  635. , VT_LPWSTR
  636. , FTYPE_TIF
  637. , PFID_FaxProperties
  638. , READONLY
  639. , INGOREIFMISSING
  640. , CLSID_NULL
  641. )
  642. DEFPROP_ENTRY( L"FaxTSID"
  643. , FMTID_ImageProperties
  644. , TIFFTAG_TSID
  645. , VT_LPWSTR
  646. , FTYPE_TIF
  647. , PFID_FaxProperties
  648. , READONLY
  649. , INGOREIFMISSING
  650. , CLSID_NULL
  651. )
  652. DEFPROP_ENTRY( L"FaxCallerID"
  653. , FMTID_ImageProperties
  654. , TIFFTAG_CALLERID
  655. , VT_LPWSTR
  656. , FTYPE_TIF
  657. , PFID_FaxProperties
  658. , READONLY
  659. , INGOREIFMISSING
  660. , CLSID_NULL
  661. )
  662. DEFPROP_ENTRY( L"FaxRecipientName"
  663. , FMTID_ImageProperties
  664. , TIFFTAG_RECIP_NAME
  665. , VT_LPWSTR
  666. , FTYPE_TIF
  667. , PFID_FaxProperties
  668. , READONLY
  669. , INGOREIFMISSING
  670. , CLSID_NULL
  671. )
  672. DEFPROP_ENTRY( L"FaxRecipientNumber"
  673. , FMTID_ImageProperties
  674. , TIFFTAG_RECIP_NUMBER
  675. , VT_LPWSTR
  676. , FTYPE_TIF
  677. , PFID_FaxProperties
  678. , READONLY
  679. , INGOREIFMISSING
  680. , CLSID_NULL
  681. )
  682. DEFPROP_ENTRY( L"FaxCSID"
  683. , FMTID_ImageProperties
  684. , TIFFTAG_CSID
  685. , VT_LPWSTR
  686. , FTYPE_TIF
  687. , PFID_FaxProperties
  688. , READONLY
  689. , INGOREIFMISSING
  690. , CLSID_NULL
  691. )
  692. DEFPROP_ENTRY( L"FaxRouting"
  693. , FMTID_ImageProperties
  694. , TIFFTAG_ROUTING
  695. , VT_LPWSTR
  696. , FTYPE_TIF
  697. , PFID_FaxProperties
  698. , READONLY
  699. , INGOREIFMISSING
  700. , CLSID_NULL
  701. )
  702. //
  703. // Properties in the 'Source' folder
  704. //
  705. DEFPROP_ENTRY( L"SequenceNo"
  706. , FMTID_MediaFileSummaryInformation
  707. , PIDMSI_SEQUENCE_NO
  708. , VT_LPWSTR
  709. , FTYPE_EPS
  710. | FTYPE_FPX
  711. | FTYPE_PCD
  712. | FTYPE_PCX
  713. | FTYPE_PICT
  714. | FTYPE_TGA
  715. , PFID_Origin
  716. , READWRITE
  717. , ADDIFMISSING
  718. , CLSID_DocPropEditBoxControl // single line?
  719. )
  720. DEFPROP_ENTRY( L"Owner"
  721. , FMTID_MediaFileSummaryInformation
  722. , PIDMSI_OWNER
  723. , VT_LPWSTR
  724. , FTYPE_EPS
  725. | FTYPE_FPX
  726. | FTYPE_PCD
  727. | FTYPE_PCX
  728. | FTYPE_PICT
  729. | FTYPE_TGA
  730. , PFID_Origin
  731. , READWRITE
  732. , ADDIFMISSING
  733. , CLSID_DocPropEditBoxControl // single line?
  734. )
  735. DEFPROP_ENTRY( L"Editor"
  736. , FMTID_MediaFileSummaryInformation
  737. , PIDMSI_EDITOR
  738. , VT_LPWSTR
  739. , FTYPE_EPS
  740. | FTYPE_FPX
  741. | FTYPE_PCD
  742. | FTYPE_PCX
  743. | FTYPE_PICT
  744. | FTYPE_TGA
  745. , PFID_Origin
  746. , READWRITE
  747. , ADDIFMISSING
  748. , CLSID_DocPropEditBoxControl // single line?
  749. )
  750. DEFPROP_ENTRY( L"Supplier"
  751. , FMTID_MediaFileSummaryInformation
  752. , PIDMSI_SUPPLIER
  753. , VT_LPWSTR
  754. , FTYPE_EPS
  755. | FTYPE_FPX
  756. | FTYPE_PCD
  757. | FTYPE_PCX
  758. | FTYPE_PICT
  759. | FTYPE_TGA
  760. , PFID_Origin
  761. , READWRITE
  762. , ADDIFMISSING
  763. , CLSID_DocPropEditBoxControl // single line?
  764. )
  765. DEFPROP_ENTRY( L"Source"
  766. , FMTID_MediaFileSummaryInformation
  767. , PIDMSI_SOURCE
  768. , VT_LPWSTR
  769. , FTYPE_EPS
  770. | FTYPE_FPX
  771. | FTYPE_PCD
  772. | FTYPE_PCX
  773. | FTYPE_PICT
  774. | FTYPE_TGA
  775. | FTYPE_UNKNOWN
  776. , PFID_Origin
  777. , READWRITE
  778. , ADDIFMISSING
  779. , CLSID_DocPropEditBoxControl // single line?
  780. )
  781. DEFPROP_ENTRY( L"Copyright"
  782. , FMTID_MediaFileSummaryInformation
  783. , PIDMSI_COPYRIGHT
  784. , VT_LPWSTR
  785. , FTYPE_EPS
  786. | FTYPE_FPX
  787. | FTYPE_JPG
  788. | FTYPE_PCD
  789. | FTYPE_PCX
  790. | FTYPE_PICT
  791. | FTYPE_TGA
  792. | FTYPE_TIF
  793. , PFID_Origin
  794. , READONLY
  795. , INGOREIFMISSING
  796. , CLSID_DocPropEditBoxControl // single line?
  797. )
  798. DEFPROP_ENTRY( L"Project"
  799. , FMTID_MediaFileSummaryInformation
  800. , PIDMSI_PROJECT
  801. , VT_LPWSTR
  802. , FTYPE_EPS
  803. | FTYPE_FPX
  804. | FTYPE_PCD
  805. | FTYPE_PCX
  806. | FTYPE_PICT
  807. | FTYPE_TGA
  808. , PFID_Origin
  809. , READWRITE
  810. , ADDIFMISSING
  811. , CLSID_DocPropEditBoxControl // single line?
  812. )
  813. DEFPROP_ENUM_ENTRY( L"Status"
  814. , FMTID_MediaFileSummaryInformation
  815. , PIDMSI_STATUS
  816. , VT_UI4
  817. , FTYPE_EPS
  818. | FTYPE_FPX
  819. | FTYPE_PCD
  820. | FTYPE_PCX
  821. | FTYPE_PICT
  822. | FTYPE_TGA
  823. , PFID_Origin
  824. , READWRITE
  825. , INGOREIFMISSING
  826. , CLSID_DocPropDropListComboControl
  827. , ARRAYSIZE(g_rgMediaStatusVals)
  828. , g_rgMediaStatusVals
  829. )
  830. DEFPROP_ENTRY( L"Author"
  831. , FMTID_SummaryInformation
  832. , PIDSI_AUTHOR
  833. , VT_LPWSTR
  834. , FTYPE_DOC
  835. | FTYPE_XLS
  836. | FTYPE_PPT
  837. | FTYPE_EPS
  838. | FTYPE_FPX
  839. | FTYPE_JPG
  840. | FTYPE_PCD
  841. | FTYPE_PCX
  842. | FTYPE_PICT
  843. | FTYPE_TGA
  844. | FTYPE_TIF
  845. | FTYPE_UNKNOWN
  846. , PFID_Origin
  847. , READWRITE
  848. , ADDIFMISSING
  849. , CLSID_DocPropEditBoxControl // single line?
  850. )
  851. DEFPROP_ENTRY( L"LastAuthor"
  852. , FMTID_SummaryInformation
  853. , PIDSI_LASTAUTHOR
  854. , VT_LPWSTR
  855. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  856. , PFID_Origin
  857. , READONLY
  858. , INGOREIFMISSING
  859. , CLSID_NULL
  860. )
  861. DEFPROP_ENTRY( L"RevNumber"
  862. , FMTID_SummaryInformation
  863. , PIDSI_REVNUMBER
  864. , VT_LPWSTR
  865. , FTYPE_DOC
  866. | FTYPE_XLS
  867. | FTYPE_PPT
  868. | FTYPE_EPS
  869. | FTYPE_FPX
  870. | FTYPE_PCD
  871. | FTYPE_PCX
  872. | FTYPE_PICT
  873. | FTYPE_TGA
  874. | FTYPE_UNKNOWN
  875. , PFID_Origin
  876. , READWRITE
  877. , ADDIFMISSING
  878. , CLSID_DocPropEditBoxControl // single line?
  879. )
  880. DEFPROP_ENTRY( L"AppName"
  881. , FMTID_SummaryInformation
  882. , PIDSI_APPNAME
  883. , VT_LPWSTR
  884. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  885. , PFID_Origin
  886. , READWRITE
  887. , ADDIFMISSING
  888. , CLSID_DocPropEditBoxControl // single line?
  889. )
  890. DEFPROP_ENTRY( L"PresentationTarget"
  891. , FMTID_DocSummaryInformation
  892. , PIDDSI_PRESFORMAT
  893. , VT_LPWSTR
  894. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  895. , PFID_Origin
  896. , READWRITE
  897. , INGOREIFMISSING
  898. , CLSID_DocPropEditBoxControl // single line?
  899. )
  900. DEFPROP_ENTRY( L"Company"
  901. , FMTID_DocSummaryInformation
  902. , PIDDSI_COMPANY
  903. , VT_LPWSTR
  904. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  905. , PFID_Origin
  906. , READWRITE
  907. , ADDIFMISSING
  908. , CLSID_DocPropEditBoxControl // single line?
  909. )
  910. DEFPROP_ENTRY( L"Manager"
  911. , FMTID_DocSummaryInformation
  912. , PIDDSI_MANAGER
  913. , VT_LPWSTR
  914. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  915. , PFID_Origin
  916. , READWRITE
  917. , INGOREIFMISSING
  918. , CLSID_DocPropEditBoxControl // single line?
  919. )
  920. DEFPROP_ENTRY( L"CreateDTM"
  921. , FMTID_SummaryInformation
  922. , PIDSI_CREATE_DTM
  923. , VT_FILETIME // UTC
  924. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  925. , PFID_Origin
  926. , READONLY
  927. , INGOREIFMISSING
  928. , CLSID_DocPropCalendarControl
  929. )
  930. DEFPROP_ENTRY( L"Production"
  931. , FMTID_MediaFileSummaryInformation
  932. , PIDMSI_PRODUCTION
  933. , VT_FILETIME // UTC
  934. , FTYPE_EPS
  935. | FTYPE_FPX
  936. | FTYPE_PCD
  937. | FTYPE_PCX
  938. | FTYPE_PICT
  939. | FTYPE_TGA
  940. , PFID_Origin
  941. , READWRITE
  942. , ADDIFMISSING
  943. , CLSID_DocPropCalendarControl
  944. )
  945. DEFPROP_ENTRY( L"LastSaveDTM"
  946. , FMTID_SummaryInformation
  947. , PIDSI_LASTSAVE_DTM
  948. , VT_FILETIME // UTC
  949. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  950. , PFID_Origin
  951. , READWRITE
  952. , INGOREIFMISSING
  953. , CLSID_DocPropCalendarControl
  954. )
  955. DEFPROP_ENTRY( L"LastPrinted"
  956. , FMTID_SummaryInformation
  957. , PIDSI_LASTPRINTED
  958. , VT_FILETIME // UTC
  959. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  960. , PFID_Origin
  961. , READONLY
  962. , INGOREIFMISSING
  963. , CLSID_DocPropCalendarControl
  964. )
  965. DEFPROP_ENTRY( L"EditTime"
  966. , FMTID_SummaryInformation
  967. , PIDSI_EDITTIME
  968. , VT_FILETIME // UTC
  969. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  970. , PFID_Origin
  971. , READONLY
  972. , INGOREIFMISSING
  973. , CLSID_DocPropTimeControl
  974. )
  975. DEFPROP_ENTRY( L"Artist"
  976. , FMTID_MUSIC
  977. , PIDSI_ARTIST
  978. , VT_BSTR
  979. , FTYPE_WAV
  980. | FTYPE_WMA
  981. | FTYPE_AVI
  982. | FTYPE_ASF
  983. | FTYPE_MP3
  984. | FTYPE_WMV
  985. , PFID_MusicProperties
  986. , READWRITE
  987. , INGOREIFMISSING
  988. , CLSID_DocPropEditBoxControl // single line?
  989. )
  990. DEFPROP_ENTRY( L"Album Title"
  991. , FMTID_MUSIC
  992. , PIDSI_ALBUM
  993. , VT_BSTR
  994. , FTYPE_WAV
  995. | FTYPE_WMA
  996. | FTYPE_AVI
  997. | FTYPE_ASF
  998. | FTYPE_MP3
  999. | FTYPE_WMV
  1000. , PFID_MusicProperties
  1001. , READWRITE
  1002. , INGOREIFMISSING
  1003. , CLSID_DocPropEditBoxControl // single line?
  1004. )
  1005. DEFPROP_ENTRY( L"Year"
  1006. , FMTID_MUSIC
  1007. , PIDSI_YEAR
  1008. , VT_BSTR
  1009. , FTYPE_WAV
  1010. | FTYPE_WMA
  1011. | FTYPE_AVI
  1012. | FTYPE_ASF
  1013. | FTYPE_MP3
  1014. | FTYPE_WMV
  1015. , PFID_MusicProperties
  1016. , READWRITE
  1017. , INGOREIFMISSING
  1018. , CLSID_DocPropEditBoxControl
  1019. )
  1020. DEFPROP_ENTRY( L"Track Number"
  1021. , FMTID_MUSIC
  1022. , PIDSI_TRACK
  1023. , VT_UI4
  1024. , FTYPE_WAV
  1025. | FTYPE_WMA
  1026. | FTYPE_AVI
  1027. | FTYPE_ASF
  1028. | FTYPE_WMV
  1029. , PFID_MusicProperties
  1030. , READWRITE
  1031. , INGOREIFMISSING
  1032. , CLSID_DocPropEditBoxControl
  1033. )
  1034. DEFPROP_ENTRY( L"Track Number"
  1035. , FMTID_MUSIC
  1036. , PIDSI_TRACK
  1037. , VT_UI4
  1038. , FTYPE_MP3
  1039. , PFID_MusicProperties
  1040. , READWRITE
  1041. , ADDIFMISSING
  1042. , CLSID_DocPropEditBoxControl
  1043. )
  1044. DEFPROP_ENTRY( L"Genre"
  1045. , FMTID_MUSIC
  1046. , PIDSI_GENRE
  1047. , VT_BSTR
  1048. , FTYPE_WAV
  1049. | FTYPE_WMA
  1050. | FTYPE_AVI
  1051. | FTYPE_ASF
  1052. | FTYPE_MP3
  1053. | FTYPE_WMV
  1054. , PFID_MusicProperties
  1055. , READWRITE
  1056. , INGOREIFMISSING
  1057. , CLSID_DocPropEditBoxControl
  1058. )
  1059. DEFPROP_ENTRY( L"Lyrics"
  1060. , FMTID_MUSIC
  1061. , PIDSI_LYRICS
  1062. , VT_BSTR
  1063. , FTYPE_WMA
  1064. | FTYPE_MP3
  1065. , PFID_MusicProperties
  1066. , READWRITE
  1067. , INGOREIFMISSING
  1068. , CLSID_DocPropMLEditBoxControl
  1069. )
  1070. DEFPROP_ENTRY( L"Duration"
  1071. , FMTID_AudioSummaryInformation
  1072. , PIDASI_TIMELENGTH
  1073. , VT_BSTR
  1074. , FTYPE_WAV
  1075. | FTYPE_WMA
  1076. | FTYPE_UNKNOWN
  1077. | FTYPE_AVI
  1078. | FTYPE_ASF
  1079. | FTYPE_MP3
  1080. | FTYPE_WMV
  1081. , PFID_AudioProperties
  1082. , READONLY
  1083. , INGOREIFMISSING
  1084. , CLSID_NULL
  1085. )
  1086. DEFPROP_ENTRY( L"Bitrate"
  1087. , FMTID_AudioSummaryInformation
  1088. , PIDASI_AVG_DATA_RATE
  1089. , VT_BSTR
  1090. , FTYPE_WAV
  1091. | FTYPE_WMA
  1092. | FTYPE_UNKNOWN
  1093. | FTYPE_AVI
  1094. | FTYPE_ASF
  1095. | FTYPE_MP3
  1096. | FTYPE_WMV
  1097. , PFID_AudioProperties
  1098. , READONLY
  1099. , INGOREIFMISSING
  1100. , CLSID_NULL
  1101. )
  1102. DEFPROP_ENTRY( L"Audio Sample Size"
  1103. , FMTID_AudioSummaryInformation
  1104. , PIDASI_SAMPLE_SIZE
  1105. , VT_BSTR
  1106. , FTYPE_UNKNOWN
  1107. | FTYPE_AVI
  1108. | FTYPE_ASF
  1109. | FTYPE_MP3
  1110. | FTYPE_WMV
  1111. | FTYPE_WAV
  1112. | FTYPE_WMA
  1113. , PFID_AudioProperties
  1114. , READONLY
  1115. , INGOREIFMISSING
  1116. , CLSID_NULL
  1117. )
  1118. DEFPROP_ENTRY( L"Channels"
  1119. , FMTID_AudioSummaryInformation
  1120. , PIDASI_CHANNEL_COUNT
  1121. , VT_UI4
  1122. , FTYPE_AVI
  1123. | FTYPE_ASF
  1124. | FTYPE_MP3
  1125. | FTYPE_WMV
  1126. | FTYPE_WAV
  1127. | FTYPE_WMA
  1128. , PFID_AudioProperties
  1129. , READONLY
  1130. , INGOREIFMISSING
  1131. , CLSID_NULL
  1132. )
  1133. DEFPROP_ENTRY( L"Sample Rate"
  1134. , FMTID_AudioSummaryInformation
  1135. , PIDASI_SAMPLE_RATE
  1136. , VT_UI4
  1137. , FTYPE_AVI
  1138. | FTYPE_ASF
  1139. | FTYPE_MP3
  1140. | FTYPE_WMV
  1141. | FTYPE_WAV
  1142. | FTYPE_WMA
  1143. , PFID_AudioProperties
  1144. , READONLY
  1145. , INGOREIFMISSING
  1146. , CLSID_NULL
  1147. )
  1148. DEFPROP_ENTRY( L"Audio Format"
  1149. , FMTID_AudioSummaryInformation
  1150. , PIDASI_FORMAT
  1151. , VT_UI4
  1152. , FTYPE_AVI
  1153. | FTYPE_ASF
  1154. | FTYPE_MP3
  1155. | FTYPE_WMV
  1156. | FTYPE_WAV
  1157. | FTYPE_WMA
  1158. , PFID_AudioProperties
  1159. , READONLY
  1160. , INGOREIFMISSING
  1161. , CLSID_NULL
  1162. )
  1163. DEFPROP_ENTRY( L"Protected"
  1164. , FMTID_DRM
  1165. , PIDDRSI_PROTECTED
  1166. , VT_BOOL
  1167. , FTYPE_WAV
  1168. | FTYPE_WMA
  1169. | FTYPE_UNKNOWN
  1170. | FTYPE_AVI
  1171. | FTYPE_ASF
  1172. | FTYPE_MP3
  1173. | FTYPE_WMV
  1174. , PFID_Origin
  1175. , READONLY
  1176. , INGOREIFMISSING
  1177. , CLSID_DocPropDropListComboControl
  1178. )
  1179. //
  1180. // Video entries
  1181. //
  1182. DEFPROP_ENTRY( L"Frame Rate"
  1183. , FMTID_VideoSummaryInformation
  1184. , PIDVSI_FRAME_RATE
  1185. , VT_UI4
  1186. , FTYPE_AVI
  1187. | FTYPE_ASF
  1188. | FTYPE_MP3
  1189. | FTYPE_WMV
  1190. | FTYPE_WAV
  1191. | FTYPE_WMA
  1192. , PFID_VideoProperties
  1193. , READONLY
  1194. , INGOREIFMISSING
  1195. , CLSID_NULL
  1196. )
  1197. DEFPROP_ENTRY( L"Data Rate"
  1198. , FMTID_VideoSummaryInformation
  1199. , PIDVSI_DATA_RATE
  1200. , VT_UI4
  1201. , FTYPE_AVI
  1202. | FTYPE_ASF
  1203. | FTYPE_MP3
  1204. | FTYPE_WMV
  1205. | FTYPE_WAV
  1206. | FTYPE_WMA
  1207. , PFID_VideoProperties
  1208. , READONLY
  1209. , INGOREIFMISSING
  1210. , CLSID_NULL
  1211. )
  1212. DEFPROP_ENTRY( L"Video Sample Size"
  1213. , FMTID_VideoSummaryInformation
  1214. , PIDVSI_SAMPLE_SIZE
  1215. , VT_UI4
  1216. , FTYPE_AVI
  1217. | FTYPE_ASF
  1218. | FTYPE_MP3
  1219. | FTYPE_WMV
  1220. | FTYPE_WAV
  1221. | FTYPE_WMA
  1222. , PFID_VideoProperties
  1223. , READONLY
  1224. , INGOREIFMISSING
  1225. , CLSID_NULL
  1226. )
  1227. DEFPROP_ENTRY( L"Compression"
  1228. , FMTID_VideoSummaryInformation
  1229. , PIDVSI_COMPRESSION
  1230. , VT_UI4
  1231. , FTYPE_AVI
  1232. | FTYPE_ASF
  1233. | FTYPE_MP3
  1234. | FTYPE_WMV
  1235. | FTYPE_WAV
  1236. | FTYPE_WMA
  1237. , PFID_VideoProperties
  1238. , READONLY
  1239. , INGOREIFMISSING
  1240. , CLSID_NULL
  1241. )
  1242. DEFPROP_ENTRY( L"Stream Name"
  1243. , FMTID_VideoSummaryInformation
  1244. , PIDVSI_STREAM_NAME
  1245. , VT_LPWSTR
  1246. , FTYPE_AVI
  1247. | FTYPE_ASF
  1248. | FTYPE_MP3
  1249. | FTYPE_WMV
  1250. | FTYPE_WAV
  1251. | FTYPE_WMA
  1252. , PFID_VideoProperties
  1253. , READONLY
  1254. , INGOREIFMISSING
  1255. , CLSID_NULL
  1256. )
  1257. #ifdef MORE_USELESS_PROPS
  1258. DEFPROP_ENTRY( L"Security"
  1259. , FMTID_SummaryInformation
  1260. , PIDSI_DOC_SECURITY
  1261. , VT_I4
  1262. , FTYPE_DOC | FTYPE_XLS | FTYPE_PPT
  1263. , PFID_Origin
  1264. , READONLY
  1265. , INGOREIFMISSING
  1266. , CLSID_NULL
  1267. )
  1268. #endif MORE_USELESS_PROPS
  1269. //
  1270. // Add entries for EXIF/TIFF properties
  1271. //
  1272. DEFPROP_ENTRY( L"EquipMake"
  1273. , FMTID_ImageProperties
  1274. , PropertyTagEquipMake
  1275. , VT_LPWSTR
  1276. , FTYPE_EPS
  1277. | FTYPE_FPX
  1278. | FTYPE_GIF
  1279. | FTYPE_JPG
  1280. | FTYPE_PCD
  1281. | FTYPE_PCX
  1282. | FTYPE_PICT
  1283. | FTYPE_PNG
  1284. | FTYPE_TGA
  1285. | FTYPE_TIF
  1286. , PFID_ImageProperties
  1287. , READONLY
  1288. , INGOREIFMISSING
  1289. , CLSID_NULL
  1290. )
  1291. DEFPROP_ENTRY( L"EquipModel"
  1292. , FMTID_ImageProperties
  1293. , PropertyTagEquipModel
  1294. , VT_LPWSTR
  1295. , FTYPE_EPS
  1296. | FTYPE_FPX
  1297. | FTYPE_GIF
  1298. | FTYPE_JPG
  1299. | FTYPE_PCD
  1300. | FTYPE_PCX
  1301. | FTYPE_PICT
  1302. | FTYPE_PNG
  1303. | FTYPE_TGA
  1304. | FTYPE_TIF
  1305. , PFID_ImageProperties
  1306. , READONLY
  1307. , INGOREIFMISSING
  1308. , CLSID_NULL
  1309. )
  1310. DEFPROP_ENTRY( L"Copyright"
  1311. , FMTID_ImageProperties
  1312. , PropertyTagCopyright
  1313. , VT_LPWSTR
  1314. , FTYPE_EPS
  1315. | FTYPE_FPX
  1316. | FTYPE_GIF
  1317. | FTYPE_JPG
  1318. | FTYPE_PCD
  1319. | FTYPE_PCX
  1320. | FTYPE_PICT
  1321. | FTYPE_PNG
  1322. | FTYPE_TGA
  1323. | FTYPE_TIF
  1324. , PFID_ImageProperties
  1325. , READONLY
  1326. , INGOREIFMISSING
  1327. , CLSID_NULL
  1328. )
  1329. DEFPROP_ENTRY( L"Software"
  1330. , FMTID_ImageProperties
  1331. , PropertyTagSoftwareUsed
  1332. , VT_LPWSTR
  1333. , FTYPE_EPS
  1334. | FTYPE_FPX
  1335. | FTYPE_GIF
  1336. | FTYPE_JPG
  1337. | FTYPE_PCD
  1338. | FTYPE_PCX
  1339. | FTYPE_PICT
  1340. | FTYPE_PNG
  1341. | FTYPE_TGA
  1342. | FTYPE_TIF
  1343. , PFID_ImageProperties
  1344. , READONLY
  1345. , INGOREIFMISSING
  1346. , CLSID_NULL
  1347. )
  1348. DEFPROP_ENTRY( L"Colorspace"
  1349. , FMTID_ImageProperties
  1350. , PropertyTagExifColorSpace
  1351. , VT_LPWSTR
  1352. , FTYPE_EPS
  1353. | FTYPE_FPX
  1354. | FTYPE_GIF
  1355. | FTYPE_JPG
  1356. | FTYPE_PCD
  1357. | FTYPE_PCX
  1358. | FTYPE_PICT
  1359. | FTYPE_PNG
  1360. | FTYPE_TGA
  1361. | FTYPE_TIF
  1362. , PFID_ImageProperties
  1363. , READONLY
  1364. , INGOREIFMISSING
  1365. , CLSID_NULL
  1366. )
  1367. DEFPROP_ENTRY( L"ShutterSpeed"
  1368. , FMTID_ImageProperties
  1369. , PropertyTagExifShutterSpeed
  1370. , VT_R8
  1371. , FTYPE_EPS
  1372. | FTYPE_FPX
  1373. | FTYPE_GIF
  1374. | FTYPE_JPG
  1375. | FTYPE_PCD
  1376. | FTYPE_PCX
  1377. | FTYPE_PICT
  1378. | FTYPE_PNG
  1379. | FTYPE_TGA
  1380. | FTYPE_TIF
  1381. , PFID_ImageProperties
  1382. , READONLY
  1383. , INGOREIFMISSING
  1384. , CLSID_NULL
  1385. )
  1386. DEFPROP_ENTRY( L"Aperture"
  1387. , FMTID_ImageProperties
  1388. , PropertyTagExifAperture
  1389. , VT_R8
  1390. , FTYPE_EPS
  1391. | FTYPE_FPX
  1392. | FTYPE_GIF
  1393. | FTYPE_JPG
  1394. | FTYPE_PCD
  1395. | FTYPE_PCX
  1396. | FTYPE_PICT
  1397. | FTYPE_PNG
  1398. | FTYPE_TGA
  1399. | FTYPE_TIF
  1400. , PFID_ImageProperties
  1401. , READONLY
  1402. , INGOREIFMISSING
  1403. , CLSID_NULL
  1404. )
  1405. DEFPROP_ENTRY( L"Distance"
  1406. , FMTID_ImageProperties
  1407. , PropertyTagExifSubjectDist
  1408. , VT_R8
  1409. , FTYPE_EPS
  1410. | FTYPE_FPX
  1411. | FTYPE_GIF
  1412. | FTYPE_JPG
  1413. | FTYPE_PCD
  1414. | FTYPE_PCX
  1415. | FTYPE_PICT
  1416. | FTYPE_PNG
  1417. | FTYPE_TGA
  1418. | FTYPE_TIF
  1419. , PFID_ImageProperties
  1420. , READONLY
  1421. , INGOREIFMISSING
  1422. , CLSID_NULL
  1423. )
  1424. DEFPROP_ENTRY( L"Flash"
  1425. , FMTID_ImageProperties
  1426. , PropertyTagExifFlash
  1427. , VT_LPWSTR
  1428. , FTYPE_EPS
  1429. | FTYPE_FPX
  1430. | FTYPE_GIF
  1431. | FTYPE_JPG
  1432. | FTYPE_PCD
  1433. | FTYPE_PCX
  1434. | FTYPE_PICT
  1435. | FTYPE_PNG
  1436. | FTYPE_TGA
  1437. | FTYPE_TIF
  1438. , PFID_ImageProperties
  1439. , READONLY
  1440. , INGOREIFMISSING
  1441. , CLSID_NULL
  1442. )
  1443. DEFPROP_ENTRY( L"FlashEnergy"
  1444. , FMTID_ImageProperties
  1445. , PropertyTagExifFlashEnergy
  1446. , VT_R8
  1447. , FTYPE_EPS
  1448. | FTYPE_FPX
  1449. | FTYPE_GIF
  1450. | FTYPE_JPG
  1451. | FTYPE_PCD
  1452. | FTYPE_PCX
  1453. | FTYPE_PICT
  1454. | FTYPE_PNG
  1455. | FTYPE_TGA
  1456. | FTYPE_TIF
  1457. , PFID_ImageProperties
  1458. , READONLY
  1459. , INGOREIFMISSING
  1460. , CLSID_NULL
  1461. )
  1462. DEFPROP_ENTRY( L"FocalLength"
  1463. , FMTID_ImageProperties
  1464. , PropertyTagExifFocalLength
  1465. , VT_R8
  1466. , FTYPE_EPS
  1467. | FTYPE_FPX
  1468. | FTYPE_GIF
  1469. | FTYPE_JPG
  1470. | FTYPE_PCD
  1471. | FTYPE_PCX
  1472. | FTYPE_PICT
  1473. | FTYPE_PNG
  1474. | FTYPE_TGA
  1475. | FTYPE_TIF
  1476. , PFID_ImageProperties
  1477. , READONLY
  1478. , INGOREIFMISSING
  1479. , CLSID_NULL
  1480. )
  1481. DEFPROP_ENTRY( L"FNumber"
  1482. , FMTID_ImageProperties
  1483. , PropertyTagExifFNumber
  1484. , VT_R8
  1485. , FTYPE_EPS
  1486. | FTYPE_FPX
  1487. | FTYPE_GIF
  1488. | FTYPE_JPG
  1489. | FTYPE_PCD
  1490. | FTYPE_PCX
  1491. | FTYPE_PICT
  1492. | FTYPE_PNG
  1493. | FTYPE_TGA
  1494. | FTYPE_TIF
  1495. , PFID_ImageProperties
  1496. , READONLY
  1497. , INGOREIFMISSING
  1498. , CLSID_NULL
  1499. )
  1500. DEFPROP_ENTRY( L"ExposureTime"
  1501. , FMTID_ImageProperties
  1502. , PropertyTagExifExposureTime
  1503. , VT_R8
  1504. , FTYPE_EPS
  1505. | FTYPE_FPX
  1506. | FTYPE_GIF
  1507. | FTYPE_JPG
  1508. | FTYPE_PCD
  1509. | FTYPE_PCX
  1510. | FTYPE_PICT
  1511. | FTYPE_PNG
  1512. | FTYPE_TGA
  1513. | FTYPE_TIF
  1514. , PFID_ImageProperties
  1515. , READONLY
  1516. , INGOREIFMISSING
  1517. , CLSID_NULL
  1518. )
  1519. DEFPROP_ENTRY( L"ISOSpeed"
  1520. , FMTID_ImageProperties
  1521. , PropertyTagExifISOSpeed
  1522. , VT_UI2
  1523. , FTYPE_EPS
  1524. | FTYPE_FPX
  1525. | FTYPE_GIF
  1526. | FTYPE_JPG
  1527. | FTYPE_PCD
  1528. | FTYPE_PCX
  1529. | FTYPE_PICT
  1530. | FTYPE_PNG
  1531. | FTYPE_TGA
  1532. | FTYPE_TIF
  1533. , PFID_ImageProperties
  1534. , READONLY
  1535. , INGOREIFMISSING
  1536. , CLSID_NULL
  1537. )
  1538. DEFPROP_ENTRY( L"MeteringMode"
  1539. , FMTID_ImageProperties
  1540. , PropertyTagExifMeteringMode
  1541. , VT_UI2
  1542. , FTYPE_EPS
  1543. | FTYPE_FPX
  1544. | FTYPE_GIF
  1545. | FTYPE_JPG
  1546. | FTYPE_PCD
  1547. | FTYPE_PCX
  1548. | FTYPE_PICT
  1549. | FTYPE_PNG
  1550. | FTYPE_TGA
  1551. | FTYPE_TIF
  1552. , PFID_ImageProperties
  1553. , READONLY
  1554. , INGOREIFMISSING
  1555. , CLSID_NULL
  1556. )
  1557. DEFPROP_ENTRY( L"LightSource"
  1558. , FMTID_ImageProperties
  1559. , PropertyTagExifLightSource
  1560. , VT_UI2
  1561. , FTYPE_EPS
  1562. | FTYPE_FPX
  1563. | FTYPE_GIF
  1564. | FTYPE_JPG
  1565. | FTYPE_PCD
  1566. | FTYPE_PCX
  1567. | FTYPE_PICT
  1568. | FTYPE_PNG
  1569. | FTYPE_TGA
  1570. | FTYPE_TIF
  1571. , PFID_ImageProperties
  1572. , READONLY
  1573. , INGOREIFMISSING
  1574. , CLSID_NULL
  1575. )
  1576. DEFPROP_ENTRY( L"ExposureProg"
  1577. , FMTID_ImageProperties
  1578. , PropertyTagExifExposureProg
  1579. , VT_UI2
  1580. , FTYPE_EPS
  1581. | FTYPE_FPX
  1582. | FTYPE_GIF
  1583. | FTYPE_JPG
  1584. | FTYPE_PCD
  1585. | FTYPE_PCX
  1586. | FTYPE_PICT
  1587. | FTYPE_PNG
  1588. | FTYPE_TGA
  1589. | FTYPE_TIF
  1590. , PFID_ImageProperties
  1591. , READONLY
  1592. , INGOREIFMISSING
  1593. , CLSID_NULL
  1594. )
  1595. DEFPROP_ENTRY( L"ExposureBias"
  1596. , FMTID_ImageProperties
  1597. , PropertyTagExifExposureBias
  1598. , VT_R8
  1599. , FTYPE_EPS
  1600. | FTYPE_FPX
  1601. | FTYPE_GIF
  1602. | FTYPE_JPG
  1603. | FTYPE_PCD
  1604. | FTYPE_PCX
  1605. | FTYPE_PICT
  1606. | FTYPE_PNG
  1607. | FTYPE_TGA
  1608. | FTYPE_TIF
  1609. , PFID_ImageProperties
  1610. , READONLY
  1611. , INGOREIFMISSING
  1612. , CLSID_NULL
  1613. )
  1614. DEFPROP_ENTRY( L"DateTime"
  1615. , FMTID_ImageProperties
  1616. , PropertyTagExifDTOrig
  1617. , VT_LPWSTR
  1618. , FTYPE_EPS
  1619. | FTYPE_FPX
  1620. | FTYPE_GIF
  1621. | FTYPE_JPG
  1622. | FTYPE_PCD
  1623. | FTYPE_PCX
  1624. | FTYPE_PICT
  1625. | FTYPE_PNG
  1626. | FTYPE_TGA
  1627. | FTYPE_TIF
  1628. , PFID_ImageProperties
  1629. , READONLY
  1630. , INGOREIFMISSING
  1631. , CLSID_NULL
  1632. )
  1633. END_DEFPROP_MAP