wintypes: Implement IMap::{Lookup, HasKey, Insert} for IPropertySet.
IMap is implemented on top of a rb_tree guarded with an SRWLOCK. We need the map to be thread safe as:
-
PropertySetis marked asIAgileObject. - I plan to use
PropertySetas the backing store forDeviceInformation::Properties. These properties can be updated by apps after receiving anUpdatedevent from the device watcher withDeviceInformation::Update. The currentDeviceWatcherimplementation dispatches the event delegates forUpdatefrom a separate thread.