INF file expert authors help me

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance







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.

.



Relevant Pages

  • Re: INF file expert authors help me
    ... Well without an INF file, and without!analyze -v on the dump, there is no ... Don Burn (MVP, Windows DDK) ... > Iam trying to write a win2k plug n play driver for 16 bit PCMCIA PC ... > this class is for only system-supplied drivers of PCMCIA and CardBus ...
    (microsoft.public.development.device.drivers)
  • RE: INF file expert authors help me
    ... > Which class name should I define in my INF file. ... > this class is for only system-supplied drivers of PCMCIA and CardBus ... Probably this is not because your INF, but because of the .sys driver. ... > generated .sys file Iam using in INF file to copy to destination dirs. ...
    (microsoft.public.development.device.drivers)
  • Re: NI 6025 GPIO device under XPe - anyone done this?
    ... many .sys files and many drivers - if I install ... > on other hardware and driver experience. ... > Also same info you can read from inf file. ... The only files required on the target system ...
    (microsoft.public.windowsxp.embedded)
  • Re: PCMCIA product id strings -> hashes generation at compilation time? [Was: Re: [patch 14/38] p
    ... strings may contain spaces and other "strange" characters. ... Add some information useful for PCMCIA device driver authors to ... functionally running a Linux 2.4 kernel. ... +struct pcmcia_device_identries which match devices to drivers. ...
    (Linux-Kernel)
  • build #301 failed for 2.6.22-rc5-g75154f4 in pcmcia drivers
    ... It seems to be a general build problem with some PCMCIA drivers, ... The build with the attached .config failed, ... # PCCARD support ...
    (Linux-Kernel)