IMsRdpClient9::attachEvent method
Attaches an event.
Syntax
HRESULT attachEvent(
[in] BSTR eventName,
[in] IDispatch *callback
);
Parameters
-
eventName [in]
-
The event to attach.
-
callback [in]
-
The 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.1 |
Minimum supported server |
Windows Server 2012 R2 |
Type library |
|
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 |