Hi,
Iam trying to write a win2k plug n play driver for 16 bit PCMCIA PC
card.
Iam having one doubt in writing INF file.
That is "ClassGuid"
Which class name should I define in my INF file.
whether I have to define the same class name "PCMCIA" as per DDK
documentation or I can specify My own class name?
If I use separate class name, so which ClassGuid shall I use for
that.
As per the following para from DDK documentation,it is confirm that
this class is for only system-supplied drivers of PCMCIA and CardBus
host controllers, but not drivers of PCMCIA or CardBus peripherals.
////////////////////////////////////////////////////
PCMCIA Adapters
Class = PCMCIA
ClassGuid = {4d36e977-e325-11ce-bfc1-08002be10318}
This class includes system-supplied drivers of PCMCIA and CardBus host
controllers, but not drivers of PCMCIA or CardBus peripherals.
///////////////////////////////////////////////////
I used the following in my INF file
Class = ACLPCMCIA
ClassGuid = {4d36e97e-e325-11ce-bfc1-08002be10318}
I took pcmcia id from the following registry path.
CurrentControlSet\Enum\PCMCIA\
and written in my INF file as follows.
PCMCIA\Apollo-ApoorvaCard-77F7.
I Plugged pcmcia card in PC and appeared new harware found wizard.I
followed the steps and I given my .INF file path.
After I found blue death screen and PC restarted.
Before I created Win2k plug n play driver project in VC++ 6.0 and
compiled with wizard generated code and without adding my code.The
generated .sys file Iam using in INF file to copy to destination dirs.
For detecting a device is it required to add any code in drivers or
the default pnp driver project code is sufficient?
What could be the problem?Please help me in solving the above
issues.Iam ready to send my INF file if required.
If Iam going in a wrong direction please guide me in right way.
Thank u
Mahender.