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.
HRESULT Close( );
This method has no parameters.
Returns S_OK if successful.
|Windows version||Windows Vista Windows Server 2008|