long setRecevier(string clientName)

This method causes the MouseModeAPI object to establish return communication with the client named by the argument clientName. The argument must be the registered name of the client service that exposes prescribed methods (See Client Services).

The method returns 0 upon success, and returns an error code if it cannot find clientName in the registry.