Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Windows NT / Terminal Server / June 2004

Tip: Looking for answers? Try searching our database.

Terminal Services code examples

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shuan - 26 Jun 2004 16:14 GMT
Hello,

I am looking for some code examples the uses the wtsapi32.dll to connect to another machine.
No matter in what language.

Can anybody help me out?
Soo Kuan Teo [MS] - 28 Jun 2004 16:46 GMT
You can use WTSOpenServer to connect to a remote machine, in c/c++:
#include <wtsapi32.h>
....
   HANDLE  hSrv     = NULL;
   hSrv = WTSOpenServer(pServerName);
....
....
Please msdn for more info:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/termserv/termse
rv/terminal_services_api_reference.asp


Signature

This posting is provided "AS IS" with no warranties, and confers no rights

> Hello,
>
> I am looking for some code examples the uses the wtsapi32.dll to connect to another machine.
> No matter in what language.
>
> Can anybody help me out?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.