Virtual WDM Driver Installation error!!

Hi guys,

I’ve been working on a driver project on the side for a couple of months now and I’ve really hit a wall.

I’m a C/C++ programmer by day so the coding itself was relatively simple, especially considering the driver is virtual and uses portcls to handle most driver’y things.

Everything else on the other hand (Setting up a test env, getting a working debugger, debug messages, INF writing) has been an absolute nightmare. I seem to have hit every issue possible.

As it stands I do have a virtual machine with WinDBG attached and a driver that Devcon reports installed correctly.

But alas, DeviceManager says differently and DriverEntry is not being called (no debug messages and DbgBreakPoint not getting hit).

setupapi.dev.log eventually reports the error: ‘Queueing up error report since device has a PnP problem…’ with an end error of CM_PROB_DRIVER_FAILED_LOAD.

I’m now at a complete loss. If anyone has any tips or suggestions, I would be eternally grateful.

Oli