classname in the inf file

Hi,
I have an old INF file and want to modify it to win 7. I’m checking the
file with ChkInf.
The declaration in the INF ;
[VERSION]

Class=Unknown

But after checking with ChkInf, it warned me;
Line 6: ERROR: (E22.1.1010) ClassName is expected to be “MEDIA”.

Q1: Can i define the class as “Unknown”?
Q2: Is my INF file run however ChkInf warned as
“c:\deneme\apco25_vpcc_device_driver.inf: FAILED”?

Osman

Osman TOKER wrote:

Hi,
I have an old INF file and want to modify it to win 7. I’m checking the
file with ChkInf.
The declaration in the INF ;
[VERSION]

Class=Unknown

But after checking with ChkInf, it warned me;
Line 6: ERROR: (E22.1.1010) ClassName is expected to be “MEDIA”.

Q1: Can i define the class as “Unknown”?

Absolutely, but you have to invent your own GUID also. The two are a
pair. The error says that you copied this from a MEDIA class INF file,
and you changed the class name but kept the GUID the same.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.