WTSStopRemoteControlSession function (wtsapi32.h)
Stops a remote control session.
Syntax
BOOL WTSStopRemoteControlSession(
[in] ULONG LogonId
);
Parameters
[in] LogonId
The logon ID of the session that you want to stop the remote control of.
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 with SP1 |
Minimum supported server | Windows Server 2008 |
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