IRemoteDesktopClient::detachEvent method (rdpappcontainerclient.h)

Detaches an event handler from an event.

Syntax

HRESULT detachEvent(
  [in] BSTR      eventName,
  [in] IDispatch *callback
);

Parameters

[in] eventName

[in] callback

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header rdpappcontainerclient.h
DLL MsTscAx.dll

See also

IRemoteDesktopClient