Skip to content

Library of functions that wrap the IPropertyStore object, for accessing tags of a file.

License

Notifications You must be signed in to change notification settings

mrfearless/FileTags-Library

Repository files navigation

FileTags Library

FileTags Library - a library written in assembler (for x86 and x64) which consists of functions that wrap the COM implementation of the IPropertyStore object, for for accessing the PKEY_Keywords property metadata of a file.

The IPropertyStore object and PKEY_Keywords property is used for the 'Tags' feature in Windows Explorer, when viewing the properties of a file, or when the Details Pane of Windows Explorer is open and a file is selected.

Thus the FileTags Library functions hide the complexities of interacting with the IPropertyStore COM object, allowing the user to read, write and clear the keywords / tags for a file.

readthedocs

Features

  • Read file tags: FileTagsReadA & FileTagsReadW
  • Write file tags: FileTagsWriteA & FileTagsWriteW
  • Clear file tags: FileTagsClearA & FileTagsClearW

Download

  • Download the latest release for whichever assembler and architecture you require:

  • Copy FileTags.inc to your masm32\include folder for FileTags Library x86, or uasm\include for FileTags Library x64 (or wherever your include files are located)

  • Copy FileTags.lib to your masm32\lib folder for FileTags Library x86, or uasm\lib\x64 for FileTags Library x64 (or wherever your libraries are located)

  • Add the following to your project:

    include FileTags.inc
    includelib FileTags.lib

Functions

Documentation on the functions in the FileTags libraries are located on readthedocs here

Resources

For more details on file tagging or the file property metadata:

Included with the releases are additional RadASM autocomplete / intellisense type files. Each *.api.txt file contains instructions as to where to paste their contents.

Other resources may be required to build the libraries:

About

Library of functions that wrap the IPropertyStore object, for accessing tags of a file.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published