|
Detecting If an Application Is Running in a Console Session or Remote Session
|
bet | 29/49 | Sana | 29.03.2021 | Hajmi | 197,5 Kb. | | #13691 |
Detecting If an Application Is Running in a Console Session or Remote Session
A developer may want an application to behave differently when it is run on the console versus in a remote session. Animation, sounds, and peripheral access might be enabled for the console session. The code found in Appendix C can be used to detect what type of session the application execution request is being initiated from. Windows 2000 or Service Pack 4 for Windows NT Server 4.0, Terminal Server Edition is required for this code to function.
|
| |