WTSGetChildSessionId function (wtsapi32.h)
Retrieves the child session identifier, if present.
Syntax
BOOL WTSGetChildSessionId(
[out] PULONG pSessionId
);
Parameters
[out] pSessionId
The address of a ULONG variable that receives the child session identifier. This will be (ULONG)–1 if there is no child session for the current session.
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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for