(I’ve posted this to the nt.kernel-mode news group too, but
got no answers.)
Is there any limitation for AllocateCommonBuffer under Win98?
I call it one time in the drivers StartDevice (with success) and
a second time from a DeviceIoCtrl (without success).
I use the same DmaAdapter-Object for both calls and I try to
allocate 8KB.
Anything works well with Win2000. Any ideas?
Thank You,
Guido
Device-Description used in IoGetDmaAdapter:
DEVICE_DESCRIPTION Desc;
Desc.Version = DEVICE_DESCRIPTION_VERSION;
Desc.Master = TRUE;
Desc.ScatterGather = TRUE;
Desc.DemandMode = FALSE;
Desc.AutoInitialize = TRUE;
Desc.Dma32BitAddresses = TRUE;
Desc.IgnoreCount = FALSE;
Desc.Reserved1 = FALSE;
Desc.Dma64BitAddresses = FALSE;
Desc.DoNotUse2 = 0;
Desc.DmaChannel = 0;
Desc.InterfaceType = PCIBus;
Desc.DmaWidth = Width32Bits;
Desc.DmaSpeed = MaximumDmaSpeed;
Desc.MaximumLength = 0xffffffff;
Desc.DmaPort = 0;
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