Click here to Skip to main content
15,885,874 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
This is Narmadha. I need help for the specific application filter while on desktop sharing.
We can do desktop sharing using Windows Desktop Sharing References. In that also we have an option to filter the application. But i didn't know How to do that.
By using the follwing things, we can acheieve this

RDPSRAPI_WND_FLAGS enumeration
IRDPSRAPIApplicationFilter
_IRDPSessionEvents_OnApplicationUpdateEventHandler

Please help me to do this....

Thanks
Narmadha
Posted
Comments
Sergey Alexandrovich Kryukov 16-Oct-14 12:51pm    
Not clear. You need to explain it all in detail.
—SA
narmadha_s 17-Oct-14 2:08am    
Thanks for the reply and spent your valuable time for me.

By using Windows Desktop Sharing API, We can share the desktop. In that, while sharing i have to filter specific application(ie which application is controling the desktop sharing like call center Organiser application)

Windows Desktop Sharing i got the sample app from
http://blogs.msdn.com/b/rds/archive/2007/03/23/writing-a-desktop-sharing-application.aspx

To filter the application we have to use
RDPSRAPI_APP_FLAGS enumeration
IRDPSRAPIApplicationFilter
IRDPSRAPIApplication
IRDPSRAPIApplicationList
IRDPSRAPIWindow
IRDPSRAPIWindowList
OnApplicationUpdate - Event on server side - this event have to fire on server side for this client side what i have to do.

Thanks & Regards,
Narmadha
barneyman 16-Oct-14 21:03pm    
it looks fairly easy to use - where are you stuck?
narmadha_s 17-Oct-14 2:13am    
Thanks for the reply and spent your valuable time for me.

Windows Desktop Sharing i got the sample app from
http://blogs.msdn.com/b/rds/archive/2007/03/23/writing-a-desktop-sharing-application.aspx

To filter the application we may use
RDPSRAPI_APP_FLAGS enumeration
IRDPSRAPIApplicationFilter
IRDPSRAPIApplication
IRDPSRAPIApplicationList
IRDPSRAPIWindow
IRDPSRAPIWindowList
OnApplicationUpdate - Event on server side - this event have to fire on server side for this client side what i have to do. i dont know. How to do this..... pls give me sample.....

How to block the specific application sharing and corresponding application windows also.

Pls help me.

Thanks & Regards
Narmadha
barneyman 17-Oct-14 3:03am    
those events only fire on the Server side, generally as a result of something happening on the client - the server side is responsible for filtering - the IRDPSRAPISharingSession exposes an ApplicationFilter property which is how you do the filtering ...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900