From: Brausewetter, Kurt on
Ok i found it
have to set the FileObjekt of the Irq's Stack

"Brausewetter, Kurt" <kurt.brausewetter_nospam_(a)t-online.de> schrieb im
Newsbeitrag news:u%23P465jwKHA.4636(a)TK2MSFTNGP06.phx.gbl...
> Hi
> i try to get the BDA Node discriptor in a device upperfilter for a BDA device.
> ksProperty.Set = KSPROPSETID_BdaTopology;
> ksProperty.Id = KSPROPERTY_BDA_NODE_DESCRIPTORS;
> ksProperty.Flags = KSPROPERTY_TYPE_GET;
>
>
> i test in FilterDispatchPnp after IRP_MN_START_DEVICE send Irp sync down ->
> crash STOP 0000007E
> after IRP_MJ_CREATE (send sync...) -> crash 7E
>
> now my problem is, i need this befor the first IRP_MJ_DEVICE_CONTROL comes in.
>
> is there any other suggestions for me
>
> BTW: it is posible to get the node discriptor from outer with the BDA driver
> stand alone!
>
> thanks in advance
> brause
>


From: Maxim S. Shatskih on
IoGetNextIrpStackLocation(Irp)->FileObject = FileObject;

--
Maxim S. Shatskih
Windows DDK MVP
maxim(a)storagecraft.com
http://www.storagecraft.com

"Brausewetter, Kurt" <kurt.brausewetter_nospam_(a)t-online.de> wrote in message news:%23CrYxSr5KHA.5464(a)TK2MSFTNGP05.phx.gbl...
> Ok i found it
> have to set the FileObjekt of the Irq's Stack
>
> "Brausewetter, Kurt" <kurt.brausewetter_nospam_(a)t-online.de> schrieb im
> Newsbeitrag news:u%23P465jwKHA.4636(a)TK2MSFTNGP06.phx.gbl...
>> Hi
>> i try to get the BDA Node discriptor in a device upperfilter for a BDA device.
>> ksProperty.Set = KSPROPSETID_BdaTopology;
>> ksProperty.Id = KSPROPERTY_BDA_NODE_DESCRIPTORS;
>> ksProperty.Flags = KSPROPERTY_TYPE_GET;
>>
>>
>> i test in FilterDispatchPnp after IRP_MN_START_DEVICE send Irp sync down ->
>> crash STOP 0000007E
>> after IRP_MJ_CREATE (send sync...) -> crash 7E
>>
>> now my problem is, i need this befor the first IRP_MJ_DEVICE_CONTROL comes in.
>>
>> is there any other suggestions for me
>>
>> BTW: it is posible to get the node discriptor from outer with the BDA driver
>> stand alone!
>>
>> thanks in advance
>> brause
>>
>
>