This method creates an IRAPISession object that allows the desktop application to perform actions on the remote device.
[out] A reference to the created IRAPISession object.
NOERROR indicates success. An error code indicates failure.
The IRAPISession interface methods provide the functionality that was included in the original Remote API (RAPI) interface, but with a more efficient and reliable underlying architecture. For more information, see IRAPISession::IUnknown.