How Work With DeviceIOControl Function in ATEasy
Roman M.

Apr 28, 2009
6 Posts

How work with DeviceIOControl function in ATEasy

I have PCI module controled by DeviceIOControl function (see attachments). I want to make the driver for this module in ATEasy. How do you want me to do it?

Drv2K_PCI429_DSPDeviceInterface.h  - include class GUID
Drv2K_PCI429_DSPioctl.h – include definition of command
ArincPCI_DSP.h – defination of macros
OpenDeviceBySN.cpp - include function for open driver

Thank you in advance.

File Attachment:

Solution Available
Amit G.
Irvine, CA

Apr 28, 2009
26 Posts

Re: How work with DeviceIOControl function in ATEasy


You should be able to insert the Kernel32.dll into your ATEasy driver (libraries sub module) to access the Windows functions necessary to open a device file and call DeviceIOControl (simliar to the code in OpenDeviceBySn.cpp). I will reply shortly with more information regarding this.

Apr 29, 2009
3 Posts

Re: How work with DeviceIOControl function in ATEasy

Ok. It's clear, thank you. But is it possible to import automatically contents of  ArincPCI_DSP.h file or I need to type this manually?
And one more question: I don't now how to describe in ATEasy GUID class (from Drv2K_PCI429_DSPDeviceInterface.h ). Can you help?

Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]