Geoff Chappell - Software Analyst
Starting with version 5.50, SHLWAPI provides a set of functions for working with settings as property bags, and thus without needing to be especially concerned about what storage those settings come from or go to:
Though the property bag makes for a neat container, practical use of the IPropertyBag interface involves some mucking around with the cumbersome VARIANT structure. This is relieved a little in version 6.00 by a large set of helper functions:
Version 6.00 also introduces a few functions that have much less generality, being dedicated to maintenance of folder view states, yet are implemented in the same source file and are perhaps as well listed here as anywhere:
All these functions are exported by ordinal only. Only SHGetViewStatePropertyBag is yet documented.