Re: Pcmcia card Hardware ID

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



Yes, i don't rememver exactly what

-PA

"asoubki" <asoubki@xxxxxxxxxxxx> wrote in message news:1155300238.243094.13610@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I think I found out how to get the Hardware ID read by Windows CE

All I needed is to write a dll that export the the function
LPWSTR Install_Driver(LPWSTR lpPnpId, LPWSTR lpRegPath, DWORD
cRegPathSize)
{
f = fopen("hardwarename.txt","a+");
fprintf(f,"Hardware ID = %S",lpPnpId);
fclose(f);
}

once the card is plugged, windows ce will search for a driver and won't
find it, so it will asks for the driver name. You need to give it the
dll name.

and the HArdware ID read by WinCE is lpPnpId.

Thnaks for your help guys

asoubki a écrit :

Hi,

I have already tried to plug it on a windows Xp system and the name I
get seems not correspond( That how i get the name).

about the sample, I could'nt find a pcmcia card driver sample. do know
were i can found them?

thanks


Pavel A. a écrit :

"asoubki" <asoubki@xxxxxxxxxxxx> wrote in message news:1155246990.779005.128130@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I have some problems with a pcmcia card detection on windows CE
It seems that the Hardware ID i am using in registry base is wrong.
1- how can I get the right one?

Insert the card into WinXP or win9x machine and, while it displays
"new device found" look in the registry which ID it created.
Then click cancel (since you don't want it to continue).

2 - otherwise, How can I developp a card detection routine? all I know
is that i need to add a key in [PCMCIA/Detect] with the Dll and the
Entry.

There should be some samples in PB... Also, when you manage to write the DLL,
you can use it to detect the hardware ID.

--PA


.



Relevant Pages

  • Re: Pcmcia card Hardware ID
    ... I think I found out how to get the Hardware ID read by Windows CE ... All I needed is to write a dll that export the the function ... I have some problems with a pcmcia card detection on windows CE ...
    (microsoft.public.development.device.drivers)
  • Re: ASM noob - couple of questions
    ... If someone wrote a DLL, which would run like a service of something, we ... would such a service give access to program windows ... writing a driver can give you direct access to many hardware features, ... service would expose your code to the actual hardware and thus YOU ...
    (alt.lang.asm)
  • Re: Pcmcia card Hardware ID
    ... I have already tried to plug it on a windows Xp system and the name I ... I have some problems with a pcmcia card detection on windows CE ... It seems that the Hardware ID i am using in registry base is wrong. ... Also, when you manage to write the DLL, ...
    (microsoft.public.development.device.drivers)
  • Re: Cartes du Ciel
    ... >downloaded now is made to work with windows xp and all it does when clicked ... >I'm not going to upgrade, not with all the old hardware I'm using). ... You have to copy a couple of DLL on your system to make it works ...
    (sci.astro.amateur)
  • Re: Pcmcia card Hardware ID
    ... same one read by windows CE. ... It seems that the Hardware ID i am using in registry base is wrong. ... Also, when you manage to write the DLL, ...
    (microsoft.public.development.device.drivers)