Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

WTSGetChildSessionId function

Retrieves the child session identifier, if present.

Syntax


BOOL WINAPI WTSGetChildSessionId(
  _Out_  ULONG *pSessionId
);

Parameters

pSessionId [out]

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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Wtsapi32.h

Library

Wtsapi32.lib

DLL

Wtsapi32.dll

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.