Returns the port of the specified offline service.
PRL_RESULT PrlOffmgmtService_GetPort( PRL_HANDLE hOffmgmtService, PRL_UINT32_PTR pnPort );
PrlApiNet.h
PRL_RESULT. Possible values are:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.