Share via


IRemoteToolStream::UnAdvise (Compact 7)

3/12/2014

When used, this method unregisters the callback that was registered by IRemoteToolStream::Advise.

Syntax

HRESULT UnAdvise([in] DWORD_PTR lContext)

Parameters

  • lContext
    The index of the sink interface in the context of the associated target device.

    This index is obtained by calling IRemoteToolStream::Advise.

Return Value

ERROR_INVALID_DATA if lContext is not a valid context.

S_OK if success.

See Also

Reference

IRemoteToolStream
IRemoteToolCommandSink
IRemoteToolCommandSink2