Vote UpVote

Delphi : Enumerating Remote Desktop Servers in a network domain

The Road to Delphi – using the WinApi WTSEnumerateServers function you can get a list of all Remote Desktop Servers in a network domain. check the code. tested in Delphi 2007, Delphi 2010, Delphi XE – (Windows Xp, Windows 7, Windows 2008 Server) program GetRemoteDesktops; {$APPTYPE CONSOLE} uses Classes, Windows, SysUtils; type PWTS_SERVER_INFO = ^WTS_SERVER_INFO; _WTS_SERVER_INFO = packed record pServerName:LPTSTR; end; WTS_SERVER_INFO = _WTS_SERVER_INFO; {$IFDEF UNICODE} function WTSEnumerateServers( pDomainName: LPTSTR; Reserved: DWORD; Version: DWORD; ppServerInfo: PWTS_SERVER_INFO; pCount: ...
Favorite? Off-Topic? Rodrigo @ 2010-10-17 02:03


Visits: 740
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)