WTSVirtualChannelPurgeOutput function (wtsapi32.h)

Deletes all queued output data sent from the server to the client on a specified virtual channel.

Note  This function currently is not used by Remote Desktop Services.

 

Syntax

BOOL WTSVirtualChannelPurgeOutput(
  [in] HANDLE hChannelHandle
);

Parameters

[in] hChannelHandle

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

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wtsapi32.h
Library Wtsapi32.lib
DLL Wtsapi32.dll

See also

WTSVirtualChannelPurgeInput