Re: System Hang

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



My other concern is that this driver has the old "obsolete" dma functions
such as "IoAllocateAdapterChannel". I don't know if this is a issue. I
recently made a version for with the new calls but it is very unstable.

IoAllocateAdapterChannel is obsolete, Adapter->AllocateAdapterChannel is not.

If you build with w2k or later DDK - then the "obsolete"
IoAllocateAdapterChannel is a macro which does exactly this method call.

What is important:

- IoGetDmaAdapter instead of HalGetAdapter
- passing the device object to these functions is mandatory - was optional in
NT4.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com

.



Relevant Pages