> The userland tool given with the code works
> When I run the userland tools, it fails with EnumDevices.

So does the userland tool work or not?

Do you have .inf file with it? did you try to load the mentioned driver with Add Hardware Wizard?

Few words on general process are here: https://www.reactos.org/wiki/How_the_system_Finds_and_Loads_Drivers



On Tue, Mar 25, 2014 at 3:25 PM, Maxime Daniel <ls@maxux.net> wrote:
Hi,

I'm trying to compile and test the netvmini ndis 5 adapter code from WDK, at first to understand how it works, then to modify it for another purpose.

At this time I:
- put the code on driver/network/dd/netvmini and adapted CMakeLists
- put the inf on media/inf and adapted CMakeLists
- fixed the code, it builds
- add an entry to hivesys.inf to load the driver at boot

The driver is well displayed during boot, debug message appears (the DriverEntry), on NtObj, the driver is visible and it appears on "Non Plug and Play" on device manager.

Now, I don't know exactly what to do with it. How can I call the driver and add an adapter ?
The userland tool given with the code works (I needed to comment some functions and add _DEV_BROADCAST_HANDLE struct by hand, it seems to not be implemented on dbt.h).
When I run the userland tools, it fails with EnumDevices.

Some help ?

Thanks

_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev