Windows Phone 8.0 Direct3d apps don’t have access to Launch Parameters

Recently, someone asked me that if a pure C++/Direct3d application on Windows Phone 8.0 was invoked via LaunchUriAsync, how would one go about getting the Launch Parameters? The MSDN documentation seems to say that  you can use the “ProtocolActivatedEventArgs” parameter in the OnActivated event handler and retrieve the data. After consulting with the appropriate engineering teams the answer is: Unfortunately, the documentation is incorrect. The OnActivated event handler is called only during Launch. It is not invoked during “Resume”. Even then, you cannot retrieve the launch parameters from there.

Sigh.