Re: Limiting instace to One of Av-Stream Device Driver

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Your driver should have one or more filters, which should have one or more
pins. You can fail the creation of the second filter or the creation of the
second instance of some pin.

-- Max.



<darshan.tapdia@xxxxxxxxx> wrote in message
news:1158560206.976894.244840@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello all,
I have writted a Av-Stream Minidriver for USB device to capture
video data.Its functioning well.
But i have a situation to limit the instace of it to ONLY ONE.

-> So if any other application opens it it should return fail and
not let open the another instance of it. That means at a time one
instance should be present and so only one application can use it.


Please let me know the solution for it.
Thanks in Advance,
Darshan



.



Relevant Pages