IMsRdpClient9::detachEvent method

Detaches an event.

Syntax

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

Parameters

eventName [in]

Name of the event.

callback [in]

The callback associated with the event.

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.1
Minimum supported server
Windows Server 2012 R2
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
CLSID_MsRdpClient9 is defined as 301B94BA-5D25-4A12-BFFE-3B6E7A616585
CLSID_MsRdpClient9NotSafeForScripting is defined as 8B918B82-7985-4C24-89DF-C33AD2BBFBCD
IID_IMsRdpClient9 is defined as 28904001-04B6-436C-A55B-0AF1A0883DC9

See also

IMsRdpClient10

IMsRdpClient9