Export (0) Print
Expand All
Expand Minimize

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:
© 2014 Microsoft