Sample WDF drivers

Should I be able to use the sample plx9x5x driver with other plx devices besides the sample board. I have another pci board with a plx9056 chip but the sample driver will not load. The error I always get is: This device cannot start (Code 10). I am able to load another sample driver that is just a software driver and tell the inf it is associated with my device.

Is there any good reference on what these error codes might indicate? The msdn site has a list of code and suggested resolutions but they are almost always the same course of action. Unistall and reinstall. Does anyone have an idea what causes this error?

Here is information about device installation error codes.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/DevInst_d/hh/DevInst_d/troubleshoot_06eb56a9-217f-4315-a3d7-239ab40ccbfa.xml.asp

The doc says that this error code is set when one of the drivers in the
device’s driver stack fails IRP_MN_START_DEVICE.

In your case most likely EvtDevicePrepareHardware (which is called during
IRP_MN_START_DEVICE) is failing. You can put a break point on this event
callback (PLxEvtDevicePrepareHardware) and debug.

wrote in message news:xxxxx@ntdev…
> Should I be able to use the sample plx9x5x driver with other plx devices
> besides the sample board. I have another pci board with a plx9056 chip
> but the sample driver will not load. The error I always get is: This
> device cannot start (Code 10). I am able to load another sample driver
> that is just a software driver and tell the inf it is associated with my
> device.
>
> Is there any good reference on what these error codes might indicate? The
> msdn site has a list of code and suggested resolutions but they are almost
> always the same course of action. Unistall and reinstall. Does anyone
> have an idea what causes this error?
>