IRemoteDesktopClient::attachEvent method (rdpappcontainerclient.h)

Attaches an event handler to an event.

Syntax

HRESULT attachEvent(
  [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