Re: Pcmcia card Hardware ID
- From: "Pavel A." <pavel_a@xxxxxxxxxxxxxxx>
- Date: Fri, 11 Aug 2006 17:38:19 +0200
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
.
- Follow-Ups:
- Re: Pcmcia card Hardware ID
- From: Pavel A.
- Re: Pcmcia card Hardware ID
- References:
- Pcmcia card Hardware ID
- From: asoubki
- Re: Pcmcia card Hardware ID
- From: Pavel A.
- Re: Pcmcia card Hardware ID
- From: asoubki
- Re: Pcmcia card Hardware ID
- From: asoubki
- Pcmcia card Hardware ID
- Prev by Date: Re: how can i take parallel Pin Status?
- Next by Date: Re: hw-id / compatible-id determination
- Previous by thread: Re: Pcmcia card Hardware ID
- Next by thread: Re: Pcmcia card Hardware ID
- Index(es):
Relevant Pages
|