INF file

Hello All,

I am a newbie to device development. I would like to inquire if it is
compulsory to make use of INF file for a non-plug n play driver in Windows
XP? Because I was trying to access the Driver with the SCM. but it is
getting failed at the StartService() API. In fact am trying to load the
minimal.sys program given in the Art Baker book with the help of the tool
created by him, DriverControl.exe. While debugging the
DriverControl.execode I found that the StartService() call returns
false.

I invested a lot of time investigating the same but to no avail. So, I
thought this forum would be the last resort.

Thank you,
Abhi

booksare notenough wrote:

I would like to inquire if it is compulsory to make use of INF file
for a non-plug n play driver in Windows XP?

Not it’s not, but recommended.

Because I was trying to access the Driver with the SCM. but it is
getting failed at the StartService() API.

I don’t have the book, nor the code - but the first thing that comes to
mind is are you logged in as an Administrator?

In fact am trying to load the minimal.sys program given in the Art
Baker book with the help of the tool created by him,
DriverControl.exe. While debugging the DriverControl.exe code I found
that the StartService() call returns false.

Have you tried the OSR tool Driver Loader located at:
http://www.osronline.com/article.cfm?article=157

No, not mandatory.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

“booksare notenough” wrote in message
news:xxxxx@ntfsd…
> Hello All,
>
> I am a newbie to device development. I would like to inquire if it is
> compulsory to make use of INF file for a non-plug n play driver in Windows
> XP? Because I was trying to access the Driver with the SCM. but it is
> getting failed at the StartService() API. In fact am trying to load the
> minimal.sys program given in the Art Baker book with the help of the tool
> created by him, DriverControl.exe. While debugging the
> DriverControl.execode I found that the StartService() call returns
> false.
>
> I invested a lot of time investigating the same but to no avail. So, I
> thought this forum would be the last resort.
>
>
> Thank you,
> Abhi
>