mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The Windows registry is structured as a hierarchy of named keys, each of which may contain a set of named values of various datatypes. RegistryKey objects own the underlying HKEY handle and ensure cleanup at or prior to destruction. This adds a RegistryKey class that does automatic resource management for registry keys and provides convenience functions for accessing keys and navigating the key hierarchy. This is library code to be used in uwptool, which adds an adb-like helper tool for install, uninstall, and launch of UWP applications for Windows platforms. See: https://github.com/flutter/flutter/issues/81756