This method retrieves information about the connection between the remote device and the desktop.
HRESULT GetConnectionInfo( RAPI_CONNECTIONINFO* pConnInfo );
[out] A pointer to a RAPI_CONNECTIONINFO structure containing the returned connection information.
If the operation was successful, the return value is NOERROR.
For Windows Mobile 2003 Second Edition-based devices, the hostIpaddr member of the RAPI_CONNECTIONINFO structure is not set.
OS Versions: Windows CE 5.01 and later.
Link Library: Ole32.lib, Rapiuuid.lib.
Send Feedback on this topic to the authors