AVSHWS with AMCAP/ Lync fails to stream after enable disable driver

Hi,
I downloaded Microsoft’s sample AVStream simulated hardware sample driver
(Avshws)
I installed it and open lync/ amcap
right after restart of the computer or after enable disable the driver
(most times) I get a black window
after some witching of devices/ close open app streaming works ok, and then
I get a black window very rarely.
I wrote somthing based on the microsoft sample so I get the same issue
any idea of how to solve this?
thanks!

I’ve done a dozen drivers based on AVSHWS, and I’ve never seen this. You need to insert some debug prints to follow the status. Make sure you are getting buffers in your Process callback, and make sure you’re returning real data when you advance the leading edge.

Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


From: xxxxx@lists.osr.com [xxxxx@lists.osr.com] On Behalf Of Miriam Engel [xxxxx@gmail.com]
Sent: Tuesday, September 23, 2014 6:40 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] AVSHWS with AMCAP/ Lync fails to stream after enable disable driver

Hi,
I downloaded Microsoft’s sample AVStream simulated hardware sample driver (Avshws)
I installed it and open lync/ amcap
right after restart of the computer or after enable disable the driver (most times) I get a black window
after some witching of devices/ close open app streaming works ok, and then I get a black window very rarely.
I wrote somthing based on the microsoft sample so I get the same issue
any idea of how to solve this?
thanks!
— NTDEV is sponsored by OSR Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev OSR is HIRING!! See http://www.osr.com/careers For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer