At runtime, where does the code that powers the
CameraCaptureUI class come from? You have already seen how the Windows Metadata file doesn’t contain code. Because of WinRT’s roots in COM, you should not be surprised that WinRT components are registered in the Registry, providing a way for the runtime to look up the implementation for a given class. Figure 32.11 shows the registration of the
CameraCaptureUI class in the HKEY_LOCAL_MACHINE registry hive.
In here, the
DllPath value refers to the .dll file on disk, containing the implementation of the given class. ...