IXRApplication::StartProcessing (Compact 2013)
This method starts processing messages for this thread and for all operating-system (OS) windows on this thread. It does not return until IXRApplication::StopProcessing is called.
virtual HRESULT STDMETHODCALLTYPE StartProcessing( UINT* pExitCode ) = 0;
[out] Unsigned integer value that you can use later as an exit code, when you call IXRApplication::StopProcessing.
Returns an HRESULT that indicates success or failure.
An application can call this method to start processing messages after it loads and parses the XAML markup, generates the element tree, and creates the visual host.
.NET Framework Equivalent