Preparing the swap chain for a Windows Store app