System error 87

Hi, I have a driver running correctly in one machine, but not good in
another identical one. I got an error message saying “System error 87: the
parameter is incorrect” when I try to start the driver.

I traced the code and found out that IoReportResourceUsage return
Non_successful status. The following is my code:

status = IoReportResourceUsage(
&className,
DriverObject,
ResourceList, //point to resource list for current driver
ListSize,
NULL,
NULL,
0,
FALSE, // Don’t override
&bConflictDetected );

I use compactPCI in the target machine. Could somebody give me an idea?
Thanks.

Z.S.Wang

==================================
Zhongsheng Wang
P. O. Box 500, M/S 50-480
Beaverton, OR 97077
Email: xxxxx@tek.com
Phone: (503) 627-5260