Partager via


VirtualChannelCloseEx (Windows CE 5.0)

Send Feedback

This function closes the client end of a virtual channel. This function is a virtual extension that can be used to protect per-session data in the virtual channel client DLL.

typedef UINT VCAPITYPE VIRTUALCHANNELCLOSEEX(LPVOID pInitHandle,DWORD openHandle);

Parameters

  • pInitHandle
    [in] Pointer to a handle that identifies the client instance.
  • openHandle
    [in] Handle to the virtual channel. This is the handle returned in the pOpenHandle parameter of the VirtualChannelOpenEx 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 VirtualChannelCloseEx function in the CHANNEL_ENTRY_POINTS_EX structure passed to your VirtualChannelEntryEx entry point.

Requirements

OS Versions: Windows CE 5.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.