|
Detecting If Terminal Services Are Enabled in Windows 2000
|
bet | 26/49 | Sana | 29.03.2021 | Hajmi | 197,5 Kb. | | #13691 |
Detecting If Terminal Services Are Enabled in Windows 2000
Since Terminal Services are a configurable service under Windows 2000, proper detection of the service is even more critical during both application installation and execution. In the Terminal Server 4.0 product, you could simply check a product suite key in the registry and look for a “Terminal Server” string. In Windows 2000 this is not the case because the “Terminal Server” string will always be included in the product suite key even when Terminal Services isn’t enabled. Detection of Terminal Services in Windows 2000 must be done through a new set of product suite APIs (defined in WINBASE.H). See the IsTerminalServicesEnabled function in Appendix A for the proper code to use to determine if Terminal Services are enabled on the Windows 2000 Server.
|
| |