How I can get the display packet of every context i.e. welcome screen, UI screen, secure desktop scr

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<p style="color:#2a2a2a; margin-bottom:0px; padding-bottom:15px; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; font-size:11.818181991577148px
I am working on the project of Remote Desktop Access on windows 8.
<p style="color:#2a2a2a; margin-bottom:0px; padding-bottom:15px; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; font-size:11.818181991577148px
since we all know that mirror driver XDDM is replaced by WDDM. And all the calls to get the display packets is going through DXGI. The desktop duplication API are the example of it.
<p style="color:#2a2a2a; margin-bottom:0px; padding-bottom:15px; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; font-size:11.818181991577148px
What I want to know is How I can get the display packet of every context i.e. welcome screen, UI screen, secure desktop screen ?
<p style="color:#2a2a2a; margin-bottom:0px; padding-bottom:15px; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; font-size:11.818181991577148px
I had tried to start desktop duplication through service but didnt able to get UI context packets.
<p style="color:#2a2a2a; margin-bottom:0px; padding-bottom:15px; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; font-size:11.818181991577148px
Below remarks will not helping me too much ? Any suggestions
<p style="color:#2a2a2a; margin-bottom:0px; padding-bottom:15px; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; font-size:11.818181991577148px
http://msdn.microsoft.com/en-us/library/windows/desktop/hh404611(v=vs.85).aspx http://msdn.microsoft.com/en-us/library/windows/desktop/hh404611(v=vs.85).aspx
<p style="color:#2a2a2a; margin-bottom:0px; padding-bottom:15px; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; font-size:11.818181991577148px
<span style="font-size:11.818181991577148px All current <strong style="font-size:11.818181991577148px IDXGIOutputDuplication <span style="font-size:11.818181991577148px interfaces become invalid when the operating system switches
to a different component that produces the desktop image or when a mode change occurs. In these situations, the application must destroy its current <strong style="font-size:11.818181991577148px IDXGIOutputDuplication <span style="font-size:11.818181991577148px interface
and create a new <strong style="font-size:11.818181991577148px IDXGIOutputDuplication <span style="font-size:11.818181991577148px interface.<br/>

<p style="color:#2a2a2a; margin-bottom:0px; padding-bottom:15px; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; font-size:11.818181991577148px
Examples of situations in which IDXGIOutputDuplication becomes invalid are:
<ul style="font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; font-size:11.818181991577148px; line-height:14.545454025268555px
Desktop switchMode changeSwitch from DWM on, DWM off, or other full-screen application
<p style="color:#2a2a2a; margin-bottom:0px; padding-bottom:15px; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; font-size:11.818181991577148px
In these situations, the application must release the IDXGIOutputDuplication interface and must create a new IDXGIOutputDuplication interface for the new content. If the application does not have the appropriate
privilege to the new desktop image, its call to the http://msdn.microsoft.com/en-us/library/windows/desktop/hh404600(v=vs.85).aspx" style="text-decoration:none; color:#03697a IDXGIOutput1::DuplicateOutput method fails.


View the full article
 
Back
Top