Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Notifies the user that the channel has been closed. There are three ways for the channel to be closed:
- The user has called the IWTSVirtualChannel::Close method.
- The Remote Desktop Connection (RDC) client has disconnected from the Remote Desktop Session Host (RD Session Host) server.
- The server has called the WTSVirtualChannel::Close method on the channel.
Syntax
HRESULT OnClose();
Return value
Returns S_OK on success. Results in no action if the call fails.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | tsvirtualchannels.h |