ohmu
·
2026-10-15
1#include "fastfetch.h"
2
3/**
4 * @brief Retrieves a specific version string for a Windows file.
5 *
6 * This function gets a version string from a Windows file's version information.
7 *
8 * @param filePath The path to the file for which version information is requested.
9 * @param stringName The name of the specific version string to retrieve (e.g., "FileVersion", "ProductVersion").
10 * @param version Pointer to an FFstrbuf where the version string will be stored.
11 *
12 * @return true if the version string was successfully retrieved, false otherwise.
13 */
14bool ffGetFileVersion(const wchar_t* filePath, const wchar_t* stringName, FFstrbuf* version);