آقا من امشب خواب ندارم ...
Terminal Services API
Most applications run without modification in a Terminal Services environment and do not need to use the Terminal Services API. The Terminal Services API is primarily useful to client/server applications and applications for Terminal Services administration.
The Terminal Services API is a set of function calls into Wtsapi32.dll. This DLL is present on Microsoft® Windows NT® Server 4.0 SP4, Terminal Server Edition, and on Microsoft Windows® 2000 and later. These functions do not work on other Windows platforms. To design your application to run in both Terminal Services and non-Terminal Services environments, use run-time dynamic linking to check for the presence of Wtsapi32.dll. For more information, see Run-time Linking to Wtsapi32.dll.
The Terminal Services API enables application programs to perform the following tasks in a Terminal Services environment:
Terminal Services administration, such as enumerating and managing Terminal Servers in a domain or enumerating and managing sessions and processes on a Terminal Server.
Enhancing client/server applications in a Terminal Services environment.
Using Terminal Services virtual channels to communicate between client and server components of an application.
Setting and retrieving Terminal-Services-specific user configuration information.
اگر کسی اطلاعات کاملی داره لطف کنه و همینجا مطرح کنه . ممنون میشم .