search for: hive_minor_version

Displaying 1 result from an estimated 1 matches for "hive_minor_version".

Did you mean: hivex_minor_version
2011 Dec 13
1
[hivex] [PATCH 1/2] hivex: Expose hive major and minor version
...6,30 @@ main (int argc, char *argv[]) XML_CHECK (xmlTextWriterStartDocument, (writer, NULL, "utf-8", NULL)); XML_CHECK (xmlTextWriterStartElement, (writer, BAD_CAST "hive")); + /* Report the version. */ + int32_t hive_major_version = hivex_major_version (h); + int32_t hive_minor_version = hivex_minor_version (h); + if (hive_major_version < 0) { + fprintf (stderr, _("hive_major_version: failed to determine major version\n")); + exit (EXIT_FAILURE); + } else if (hive_minor_version < 0) { + fprintf (stderr, _("hive_minor_version: failed to determine mi...