Re: Why can't my usbcamd driver work well for MSN messenger?

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

From: Jackal Huang (huangjj_at_hotmail.com)
Date: 01/20/05


Date: Thu, 20 Jan 2005 19:33:34 +0800


"Max Paklin" <mpaklin@hotmail.com> ...
> StreamClassRegisterFilterWithNoKSP creates a cache entry for the filter in
> question in registry so that IFilterMapper(2) can get access to it.
> To speed up graph building process the graph builder relies on the filter
> cache information under certain circumstances. If that information is
> missing it can't proceed.
>
> GraphEdit doesn't need that data as the user is supposed to build graph
> manually so while your driver can be mostly working under almost all apps,
> some apps can still fail to work with it simply because you either don't
> call StreamClassRegisterFilterWithNoKSP or call it with wrong params.
>
> MSN Messenger as well as some video editing apps as well as Media Center
> rely on device to create a cache for its filters.
>
> -- Max.

Does each stream class minidriver needs to call this function?
testcap sample code has comment for calling this function with
KSCATEGORY_CAPTURE.
It said "This should be done automatically by MSKsSrv.sys when that
component comes on line"

I also try to call this function in my usbcamd minidriver. It returns
success status.
However, the result is same. Wizard told me it cannot function the device
properly.
When I unplug the device, the driver is not unload automatically.

Jackal Huang



Relevant Pages

  • Re: Why cant my usbcamd driver work well for MSN messenger?
    ... To speed up graph building process the graph builder relies on the filter ... cache information under certain circumstances. ... call StreamClassRegisterFilterWithNoKSP or call it with wrong params. ...
    (microsoft.public.development.device.drivers)
  • Re: Why cant my usbcamd driver work well for MSN messenger?
    ... > To speed up graph building process the graph builder relies on the filter ... > cache information under certain circumstances. ... > manually so while your driver can be mostly working under almost all apps, ... > call StreamClassRegisterFilterWithNoKSP or call it with wrong params. ...
    (microsoft.public.development.device.drivers)
  • AddSourceFilterForMoniker() locks up sometimes.
    ... I've coded a simple filter graph to capture frames from a video camera ... I can grab frames from the Sample Grabber with no ...
    (microsoft.public.win32.programmer.directx.video)
  • AddSourceFilterForMoniker() locks up sometimes.
    ... I've coded a simple filter graph to capture frames from a video camera ... I can grab frames from the Sample Grabber with no ...
    (microsoft.public.multimedia.directx.dshow.programming)
  • Re: Confusing message from GraphEdit
    ... GetState to the filter graph I walked thru the list of the filters and asked ... From GraphEdit I press Run and Pause - works fine. ...
    (microsoft.public.win32.programmer.directx.video)