WTSEnableChildSessions function (wtsapi32.h)

Enables or disables Child Sessions.

Syntax

BOOL WTSEnableChildSessions(
  BOOL bEnable
);

Parameters

bEnable

Indicates whether to enable or disable child sessions. Pass TRUE if child sessions are to be enabled or FALSE otherwise.

Return value

Returns nonzero if the function succeeds or zero otherwise.

Remarks

For more information about child sessions, see Child Sessions.

Requirements

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