远程桌面中的窗帘模式 [英] Curtain mode in remote desktop

查看:108
本文介绍了远程桌面中的窗帘模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要在远程桌面控制期间实现窗帘模式。每当管理员控制远程计算机时,应该保留本地显示,以便本地用户无法看到管理员正在做什么。有没有什么方法可以用C#或C ++实现



谢谢



我是什么尝试过:



我在谷歌搜索但无法获得任何解决方案。

解决方案

< blockquote>



1.)创建一个可以创建全屏黑色窗口的程序。添加一些使用 WTSRegisterSessionNotificationEx [ ^ ]接收会话更改的功能通知。当您的程序收到 WM_WTSSESSION_CHANGE消息 [ ^ ]然后显示黑色窗口当WPARAM等于 WTS_SESSION_REMOTE_CONTROL (0x9)

2.)从这样的服务启动程序:从NT服务启动Windows程序 [ ^ ]。



祝福,

-David Delaune


Hi,
I need to implement curtain mode during remote desktop control. Whenever admin take control of a remote machine, local display should be curtained so that local user can't see what admin is doing. Is there any way this can be implemented in C# or C++

Thanks

What I have tried:

I have searched in google but unable to get any solution.

解决方案

Hi,

1.) Create a program that can create a fullscreen black window. Add some code that utilizes the WTSRegisterSessionNotificationEx [^] function to receive session change notifications. When your program receives the WM_WTSSESSION_CHANGE message[^] then show the black window when WPARAM is equal to WTS_SESSION_REMOTE_CONTROL (0x9)
2.) Launch the program from a service such as this one: Start Your Windows Programs From An NT Service[^].

Best Wishes,
-David Delaune


这篇关于远程桌面中的窗帘模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆