Поделиться через


VirtualChannelClose (Windows CE 5.0)

Send Feedback

This function closes the client end of a virtual channel.

UINT VCAPITYPE VirtualChannelClose(DWORDopenHandle);

Parameters

  • openHandle
    [in] Handle to the virtual channel. This is the handle returned in the pOpenHandle parameter of the VirtualChannelOpen function.

Return Values

The following table shows the return values for this function.

Value Description
CHANNEL_RC_OK The channel was successfully closed.
CHANNEL_RC_BAD_CHANNEL_HANDLE The openHandle parameter is not valid.

Remarks

Terminal Services provides a pointer to a VirtualChannelClose function in the CHANNEL_ENTRY_POINTS structure passed to your VirtualChannelEntry entry point.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Cchannel.h.
Link Library: Developer implemented.

See Also

RDP Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.