IRDPSRAPIViewer::Disconnect method (rdpencomapi.h)
[The IRDPSRAPIViewer interface is no longer available for use for UWP applications as of Windows 10, version 1709. It is still supported for Desktop apps.]
Initiates a disconnect of the viewer from the sharer.
Syntax
HRESULT Disconnect();
Return value
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | rdpencomapi.h |
DLL | RdpEncom.dll |