Yes. Look at the documentation for IAMStreamConfig interface.
Cheers,
Sarat Venugopal
www.huelix.com
>Thanks,
>
>I'm working with a Hardware Filter, the filter exposes a custom Property set, how would one access it?
Through the IKsPropertySet interface.
>Do hardware filters HAVE to provide this interface as well?
What interface? Please quote what you are replying to, otherwise it's
hard to know the context.
--
Be seeing you.
>Do hardware filters HAVE to provide the IAMStreamConfig interface as
>well? My Driver is an AVStream driver.
AFAIK, no. I think the DS WDM wrapper takes care of that. At least I
don't get any hits when I search for IAMStreamConfig in the BTWinCap
driver source.
--
Be seeing you.
I dont think that BTWinCap is an AVStream Driver, I'm using AVStream,
I'll look at it again.
Thanks
The error code (0x80004002) says that the filter doesnot support this
interface. Capture filter implementors are required to implement this
interface. You can provide a minimal, do nothing, IAMStreamConfig interface
and take it from there.
HTH,
Sarat Venugopal
www.huelix.com
>> >>Do hardware filters HAVE to provide the IAMStreamConfig interface as
>> >>well? My Driver is an AVStream driver.
>> > AFAIK, no. I think the DS WDM wrapper takes care of that. At least I
>> > don't get any hits when I search for IAMStreamConfig in the BTWinCap
>> > driver source.
>> I dont think that BTWinCap is an AVStream Driver, I'm using AVStream,
>> I'll look at it again.
>The error code (0x80004002) says that the filter doesnot support this
>interface. Capture filter implementors are required to implement this
>interface. You can provide a minimal, do nothing, IAMStreamConfig interface
>and take it from there.
He's writing a driver, not a filter.
I don't know if there's anything special about AVStream drivers, but at
least BTWinCap does not implement IAMStreamConfig.
--
Be seeing you.
Problem was with AmCap where they were rying to open the interface using
the PINNAME_VIDEO_CAPTURE GUID for the category, when in the Driver
we're told to set the Pin Category to KSCATEGORY_CAPTURE. Stream Class
drivers set their Category to PINNAME_VIDEO_CAPTURE because they usually
name their Pins & Categories identically.
Thanks
Thore Karlsen [MVP DX] wrote:
>Thore you're correct, AVStream provides this for a driver.
>
>Problem was with AmCap where they were rying to open the interface using
>the PINNAME_VIDEO_CAPTURE GUID for the category, when in the Driver
>we're told to set the Pin Category to KSCATEGORY_CAPTURE. Stream Class
>drivers set their Category to PINNAME_VIDEO_CAPTURE because they usually
>name their Pins & Categories identically.
Great! Glad you figured it out.
--
Be seeing you.