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.

34 lines
1.1 KiB

  1. ; Only extract text from the object
  2. [Test1]
  3. Flags =
  4. cAttributes = 0
  5. ; Get all attributes (text and pseudo-properties)
  6. [Test2]
  7. Flags = IFILTER_INIT_APPLY_INDEX_ATTRIBUTES
  8. cAttributes = 0
  9. ; This also extracts just text from the object (the GUID is PSGUID_STORAGE, and the propid is
  10. ; PID_STG_CONTENTS)
  11. [Test3]
  12. Flags = IFILTER_INIT_CANON_PARAGRAPHS IFILTER_INIT_HARD_LINE_BREAKS
  13. cAttributes = 1
  14. aAttributes1 = b725f130-47ef-101a-a5f1-02608c9eebac 13
  15. ; Only extract requested attribute from the html object (the GUID corresponds to the html filter)
  16. [Test4]
  17. Flags = IFILTER_INIT_CANON_HYPHENS IFILTER_INIT_CANON_SPACES
  18. cAttributes = 1
  19. aAttributes1 = 70eb7a10-55d9-11cf-b75b-00aa0051fe20 3
  20. ; What happens if cAttributes is non-zero, but aAttributes is empty?
  21. [Test5]
  22. Flags = IFILTER_INIT_CANON_SPACES IFILTER_INIT_APPLY_INDEX_ATTRIBUTES IFILTER_INIT_APPLY_OTHER_ATTRIBUTES
  23. cAttributes = 1
  24. ; Here is an attribute with a lpwstr instead of a propid (the lpwstr is enclosed in quotes)
  25. ; The GUID corresponds to the meta tag clsid for the HTML filter.
  26. [Test6]
  27. Flags =
  28. cAttributes = 1
  29. aAttributes1 = D1B5D3F0-C0B3-11CF-9A92-00A0C908DBF1 "GENERATOR"