Share via


IRemoteToolCommandSink2 (Compact 7)

3/12/2014

You can implement this interface to receive notifications when the Remote Tool Server receives a command packet from the device associated with a specific instance of IRemoteToolStream.

An implementation of IRemoteToolCommandSink2 must also implement IRemoteToolCommandSink so that you can register the callback. For more information, see IRemoteToolStream::Advise.

Method Description

IRemoteToolCommandSink2::OnCommand

Called when the Remote Tool Server receives a command packet from the device associated with a specific instance of IRemoteToolStream.

Inherited from IRemoteToolCommandSink.

IRemoteToolCommandSink2::OnCommand2

Called when the Remote Tool Server receives a command packet from the device associated with a specific instance of IRemoteToolStream.

This callback method provides more information about the command packet.

IRemoteToolCommandSink2::OnDisconnected

Called when a stream, or command transport, is closed.

See Also

Reference

Remote Tools Server Interfaces