Windows Desktop Sharing API clipping area
-
Friday, May 04, 2012 1:04 PM
We evaluate using Windows Desktop Sharing API in our applications. It works fine but there is one problem: If we share only one application and the application client area ist covered partly by an other application, than the viewer sees only the none covered areas. The covered areas are black.
How can we avoid this? Is there a way to transmit the covered client area parts too?
Thanks for helpingAndreas
All Replies
-
Monday, May 07, 2012 10:34 AMModerator
I will try to involve other senior engineer who is this aspect expert to help you.
Best wishes,
Mike Zhang[MSFT]
MSDN Community Support | Feedback to us
-
Tuesday, May 08, 2012 3:26 AMAnRo wrote:>>We evaluate using Windows Desktop Sharing API in our applications. It works>fine but there is one problem: If we share only one application and the>application client area ist covered partly by an other application, than>the viewer sees only the none covered areas. The covered areas are black.>>How can we avoid this? Is there a way to transmit the covered client area>parts too?If you're talking about pre-Windows 7, then the answer is NO. The areasthat are covered simply do not exist, anywhere. The "master" copy of thedesktop is the visible frame buffer that you see. There is no hidden areawhere the "real" window contents are stored.--Tim Roberts, timr@probo.comProvidenza & Boekelheide, Inc.
Tim Roberts, VC++ MVP Providenza & Boekelheide, Inc. -
Tuesday, May 08, 2012 7:00 AM
Hi Tim,
ok, but Microsoft Lync is able to make the hidden areas visible to the viewer (the remote site). I had evaluate this on a Vista computer. Additionaly, the Desktop Windows Manager API is able to generate thumpnails from any (not minimized) window including hidden areas.
That means, there must be a way to get the content of the whole window. The next question is, how is that method is combinable with the desktop sharing api?
---
Andreas
-
Thursday, May 10, 2012 3:34 AMAnRo wrote:>>ok, but Microsoft Lync is able to make the hidden areas visible to the>viewer (the remote site). I had evaluate this on a Vista computer.Maybe Lync installs a mirror display driver to track the window contentsthemselves -- I don't know.>Additionaly, the Desktop Windows Manager API is able to generate>thumpnails from any (not minimized) window including hidden areas.Desktop Window Manager owns the offscreen texture surfaces where thewindows draw their contents, and that feature ONLY works if you have AeroGlass turned on. Desktop sharing has to work whether Aero Glass is enabledor not.--Tim Roberts, timr@probo.comProvidenza & Boekelheide, Inc.
Tim Roberts, VC++ MVP Providenza & Boekelheide, Inc.


