I'm not sure why there's a IRandomAccessStreamReferenceStatics interface in WinTypes. Perhaps it was supposed to be queried from one of the classes there? I've seen something similar with other classes.
It's not supposed to be in wintypes and should be dropped in favor of this new DLL. The wintypes stubs return S_OK from factory_ActivateInstance so you should just change this in your stubs.