So ho wcan I allocate DMA Adpater for slave DMA (to make simulation driver without hardware).
Hesham
----- Original Message -----
From: Youssef Barakat
To: NT Developers Interest List
Sent: Wednesday, June 27, 2001 2:15 AM
Subject: [ntdev] RE: IoGetDmaAdapter in W98 and w2k
That function behaves the same way in Win98 as Win98SE.
Youssef
-----Original Message-----
From: Hesham Desokey [mailto:xxxxx@yahoo.com]
Sent: Tuesday, June 26, 2001 2:58 PM
To: NT Developers Interest List
Subject: [ntdev] RE: IoGetDmaAdapter in W98 and w2k
I was using windows 98 (not 98SE)
Hesham
----- Original Message -----
From: Youssef Barakat
To: NT Developers Interest List
Sent: Tuesday, June 26, 2001 9:44 PM
Subject: [ntdev] RE: IoGetDmaAdapter in W98 and w2k
In Windows98SE, IoGetDmaAdapter sends an IRP_MJ_PNP to the supplied PDO with a minor function of IRP_MN_QUERY_INTERFACE. If that irp is not completed with STATUS_SUCCESS, the legacy function HalGetAdapter is called. In Win2000SP1, the same irp is sent to the top-most driver in the PDO’s stack (which is expected to pass it down if it can’t handle it), only this time, if the irp is not completed with STATUS_SUCCESS, nothing ‘immediately’ happens; instead HalGetAdapter will only get called if the IO Manager thinks there are legacy devices in the system.
Hope this helps.
Youssef
-----Original Message-----
From: Hesham Desokey [mailto:xxxxx@yahoo.com]
Sent: Wednesday, June 27, 2001 5:16 AM
To: NT Developers Interest List
Subject: [ntdev] IoGetDmaAdapter in W98 and w2k
Dear all
I have strange problem
when I use IoGetDmaAdapter in windows 98 without any PCI hardware to get Mastrer DMA Adapter, the adapter created correctly.
When I use the same driver under windows 2000 the device driver fail to create the DMA Adapter.?!
Any sugesstion ??
Hesham
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com