WinRT provides a comprehensive class library, arranged in hierarchical namespaces; from strings and collections, to controls, to devices, to networking, to graphics; the API covers a lot of ground. Part of the journey into Windows Store apps is learning the various APIs and capabilities that are supported. This kind of knowledge evolves with time. During the course of this book, we'll discuss a fair amount of WinRT APIs, but certainly not all of it.
In the following sections, we'll discuss some of the core types that are used frequently with Store apps and how they are mapped specifically (if at all) to C++.
WinRT defines its own string type,
HSTRING. We have already met it a few times. Since
HSTRING is just ...