VIRTUALCHANNELCLOSE callback function (cchannel.h)
Closes the client end of a virtual channel.
Remote Desktop Services provides a pointer to a VirtualChannelClose function in the CHANNEL_ENTRY_POINTS structure passed to your VirtualChannelEntry entry point.
VIRTUALCHANNELCLOSE Virtualchannelclose;
UINT VCAPITYPE Virtualchannelclose(
[in] DWORD openHandle
)
{...}
[in] openHandle
Handle to the virtual channel. This is the handle returned in the pOpenHandle parameter of the VirtualChannelOpen function.
If the function succeeds, the return value is CHANNEL_RC_OK.
If an error occurs, the function returns one of the following values.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | cchannel.h |