Error code 10

I am developing a driver for PCMCIA Wireless LAN card, For that I have created a sample code with all the stubs which are returing success when they are called.

Now when I am trying to install the driver by giving inf and sys file, I am getting an error message saying that “This device can not start (Code 10)”.

The Miniport registration is successful.

I am suspecting this should be an error in inf file, but not able to figure it out.

I was wondering if somebody can help me in this regards,

Thanks in Advance,
Rakesh

Can you tell us what you can see in the WinDbg? Be sure you have debug
prints in the code.

-----Original Message-----
From: Rakesh A. Ughreja [mailto:xxxxx@india.ti.com]
Sent: Friday, October 25, 2002 9:05 AM
To: NT Developers Interest List
Subject: [ntdev] Error code 10

I am developing a driver for PCMCIA Wireless LAN card, For that
I have created a sample code with all the stubs which are returing
success when they are called.

Now when I am trying to install the driver by giving inf and sys
file, I am getting an error message saying that “This device can not
start (Code 10)”.

The Miniport registration is successful.

I am suspecting this should be an error in inf file, but not
able to figure it out.

I was wondering if somebody can help me in this regards,

Thanks in Advance,
Rakesh


You are currently subscribed to ntdev as:
chakradhar.kommuri@hp.com
To unsubscribe send a blank email to
%%email.unsub%%

MessageYes, in WinDbg I have put the success statement after all the initialization is done successfully in DriverEntry, and that I am able to see.

Rest of all the NDIS_MINIPORT_CHARACTERISTICS functions are just returning success and currently they are not doing anything. Also the physical hardware is not attached in the laptop.

inf file is not requesting any resources.

What can be done in this case ?

Regards,
Rakesh

----- Original Message -----
From: Kommuri, Chakradhar
To: NT Developers Interest List
Sent: Friday, October 25, 2002 7:38 PM
Subject: [ntdev] RE: Error code 10

Can you tell us what you can see in the WinDbg? Be sure you have debug prints in the code.
-----Original Message-----
From: Rakesh A. Ughreja [mailto:xxxxx@india.ti.com]
Sent: Friday, October 25, 2002 9:05 AM
To: NT Developers Interest List
Subject: [ntdev] Error code 10

I am developing a driver for PCMCIA Wireless LAN card, For that I have created a sample code with all the stubs which are returing success when they are called.

Now when I am trying to install the driver by giving inf and sys file, I am getting an error message saying that “This device can not start (Code 10)”.

The Miniport registration is successful.

I am suspecting this should be an error in inf file, but not able to figure it out.

I was wondering if somebody can help me in this regards,

Thanks in Advance,
Rakesh


You are currently subscribed to ntdev as: chakradhar.kommuri@hp.com
To unsubscribe send a blank email to %%email.unsub%%

You are currently subscribed to ntdev as: xxxxx@india.ti.com
To unsubscribe send a blank email to %%email.unsub%%

I think that is the trouble. You need to return correct values for the
OIDs or atleast fool the OS for correct values. If the h/w is plugged
in, you get the values for some OIDs from the h/w but here, you have to
fool the OS.

-----Original Message-----
From: Rakesh A. Ughreja [mailto:xxxxx@india.ti.com]
Sent: Friday, October 25, 2002 9:22 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Error code 10

Yes, in WinDbg I have put the success statement after all the
initialization is done successfully in DriverEntry, and that I am able
to see.

Rest of all the NDIS_MINIPORT_CHARACTERISTICS functions are just
returning success and currently they are not doing anything. Also the
physical hardware is not attached in the laptop.

inf file is not requesting any resources.

What can be done in this case ?

Regards,
Rakesh

----- Original Message -----
From: Kommuri, Chakradhar
mailto:chakradhar.kommuri
To: NT Developers Interest List
mailto:xxxxx
Sent: Friday, October 25, 2002 7:38 PM
Subject: [ntdev] RE: Error code 10

Can you tell us what you can see in the WinDbg? Be sure
you have debug prints in the code.

-----Original Message-----
From: Rakesh A. Ughreja
[mailto:xxxxx@india.ti.com]
Sent: Friday, October 25, 2002 9:05 AM
To: NT Developers Interest List
Subject: [ntdev] Error code 10

I am developing a driver for PCMCIA Wireless LAN
card, For that I have created a sample code with all the stubs which are
returing success when they are called.

Now when I am trying to install the driver by
giving inf and sys file, I am getting an error message saying that “This
device can not start (Code 10)”.

The Miniport registration is successful.

I am suspecting this should be an error in inf
file, but not able to figure it out.

I was wondering if somebody can help me in this
regards,

Thanks in Advance,
Rakesh


You are currently subscribed to ntdev as:
chakradhar.kommuri@hp.com
To unsubscribe send a blank email to
%%email.unsub%%


You are currently subscribed to ntdev as:
xxxxx@india.ti.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntdev as:
chakradhar.kommuri@hp.com
To unsubscribe send a blank email to
%%email.unsub%%</mailto:xxxxx></mailto:chakradhar.kommuri>