Expand Minimize
This topic has not yet been rated - Rate this topic

WTSStopRemoteControlSession function

Stops a remote control session.

Syntax


BOOL WINAPI WTSStopRemoteControlSession(
  _In_  ULONG LogonId
);

Parameters

LogonId [in]

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

Minimum supported client

Windows Vista with SP1 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wtsapi32.h

Library

Wtsapi32.lib

DLL

Wtsapi32.dll

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.