Skip to main content
WTSIsChildSessionsEnabled function

Determines whether child sessions are enabled.

Syntax


BOOL WINAPI WTSIsChildSessionsEnabled(
  _Out_  BOOL *pbEnabled
);

Parameters

pbEnabled [out]

The address of a BOOL variable that receives a nonzero value if child sessions are enabled or zero otherwise.

Return value

Returns nonzero if the function succeeds or zero otherwise.

Remarks

For more information about child sessions, see Child Sessions.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Wtsapi32.h

Library

Wtsapi32.lib

DLL

Wtsapi32.dll