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.
Closes the channel.
If the channel has not already been closed, the Close() method will call the IWTSVirtualChannelCallback::OnClose() method into the associated virtual channel callback interface. After a channel is closed, any Write() call on it will fail.
Syntax
HRESULT Close();
Return value
Returns S_OK if successful.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Target Platform | Windows |
| Header | tsvirtualchannels.h |