Some utilities to use with WinRT, under LGPL license