Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

VirtualChannelClose function pointer

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.

Syntax


typedef UINT ( VCAPITYPE *VirtualChannelClose)(
  _In_ DWORD openHandle
);

Parameters

openHandle [in]

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

Return value

If the function succeeds, the return value is CHANNEL_RC_OK.

If an error occurs, the function returns one of the following values.

Return codeDescription
CHANNEL_RC_BAD_CHANNEL_HANDLE

The pOpenHandle parameter is not valid.

CHANNEL_RC_NOT_OPEN

The channel is not open.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Cchannel.h

See also

VirtualChannelOpen

 

 

Show:
© 2015 Microsoft