I want to create a window in one application and attach it to a window group in a different application. What is the best way to do this?

Given a WindowGroup handle from RWsSession::GetWindowGroupHandle() how do I gain access to the corresponding RWindowGroup object?