Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WTSVirtualChannelClose

WTSVirtualChannelClose function

Closes an open virtual channel handle.

Syntax


BOOL WTSVirtualChannelClose(
  _In_ HANDLE hChannelHandle
);

Parameters

hChannelHandle [in]

Handle to a virtual channel opened by the WTSVirtualChannelOpen function.

Return value

If the function succeeds, the return value is a nonzero value.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Wtsapi32.h

Library

Wtsapi32.lib

DLL

Wtsapi32.dll

See also

WTSVirtualChannelOpen

 

 

Show:
© 2015 Microsoft