Re: BDA driver, question about get properties from node
- From: "Max Paklin" <mpaklin@xxxxxxxxxxx>
- Date: Sun, 31 Jul 2005 09:45:41 -0700
GetNodeInterfaces and QueryInterface are two completely different things.
They have nothing in common aside from the fact that they return interfaces.
How do you call QueryInterface?
The thing is that the topology node are not really accessible in the user
mode. All property/interface/event sets implemented by them gets exposed to
the outside world via its owner pin.
Is it possible that you use the wrong object to do QI on?
-- Max.
"Patrick" <Patrick@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:12E87253-0825-45F6-99A6-709E4A1F82BB@xxxxxxxxxxxxxxxx
> We write a BDA driver which have two nodes, one is Tuner node and the
> other
> is Demod node, and we let the driver support all the property sets (for
> BDA)
> defined in DDK, like KSPROPSETID_BdaAutodemodulate,
> KSPROPSETID_BdaDigitalDemodulator, KSPROPSETID_BdaSignalStats ...etc.
> But we found that some properties can not access form our utility, for
> example, we define KSPROPSETID_BdaSignalStats in Demod node, but only
> KSPROPERTY_BDA_SIGNAL_QUALITY and KSPROPERTY_BDA_SIGNAL_LOCKED can be
> accessed, other ID like KSPROPERTY_BDA_SIGNAL_STRENGTH is fail to access.
> If
> we define this property in Tuner node, all ID can get.
> Another example is that, although we define KSPROPSETID_BdaAutodemodulate
> in Demod node, but it fail when QueryInterface for this interface.
> Strangely,
> call GetNodeInterfaces on Demod node, it return IBDA_AutoDemodulate is
> exist.
> Can anyone give me answer or hints, thanks in advance.
.
- Follow-Ups:
- Re: BDA driver, question about get properties from node
- From: Patrick
- Re: BDA driver, question about get properties from node
- Prev by Date: Re: 8GB nonpaged pool alloc
- Next by Date: a basic question
- Previous by thread: Sending child a resource at IRP_MN_START time
- Next by thread: Re: BDA driver, question about get properties from node
- Index(es):