Share via


IRemoteToolCommandSink2::OnCommand2 (Compact 2013)

3/26/2014

This method is called when the Remote Tool Server receives a command packet from the target device associated with a specific instance of IRemoteToolStream.

This is required in the asynchronous mode, where the device initiates a command packet transmission.

Syntax

HRESULT OnCommand2([in] IRemoteToolCommand *pCommand, [in] DWORD dwTrackingID, [in] DWORD dwPluginID)

Parameters

  • dwPluginID
    The ID of the associated device-side plug-in executable that sent this command.

Return Value

Your implementation should return S_OK upon success.

See Also

Reference

IRemoteToolCommandSink2
IRemoteToolStream::Advise
IRemoteToolStream::SendCommand2