Starting a Kernel mode driver manually in win 2000

Hi All ,

How to start a non pnp kernel mode driver manually through controlpanel or by some other means
in windows 2000 ?

It is possible to start or stop a kernel mode driver whose start value in the inf file is 0x2 through controlpanel->Devices in windows Nt.

What is the equivalent way of doing the same thing in the 2000.?
Is there any API calls to start a driver from user mode?

Thanks in advance.

R.Chakrapani.

“net start devicename” from a command line.

Mark Roddy
xxxxx@hollistech.com
www.hollistech.com
WindowsNT Windows 2000 Consulting Services

-----Original Message-----
From: chakrapani [mailto:xxxxx@procsys.com]
Sent: Tuesday, December 12, 2000 8:38 AM
To: NT Developers Interest List
Subject: [ntdev] Starting a Kernel mode driver manually in win 2000

Hi All ,

How to start a non pnp kernel mode driver manually through controlpanel or
by some other means
in windows 2000 ?

It is possible to start or stop a kernel mode driver whose start value in
the inf file is 0x2 through controlpanel->Devices in windows Nt.

What is the equivalent way of doing the same thing in the 2000.?
Is there any API calls to start a driver from user mode?

Thanks in advance.

R.Chakrapani.


You are currently subscribed to ntdev as: xxxxx@stratus.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

use CreateService and StartService to install and start your kernel mode
driver from any app.
to stop your driver call ControlService(SERVICE_CONTROL_STOP,…) and
DeleteService to deinstall.
after calling CreateService you will find your device as a Non-PnP device in
the Win2k device manager (you must enable to show all not displayed devices
in the view menu to see such devices).

best regards
Olaf

----- Original Message -----
From: chakrapani
To: NT Developers Interest List
Sent: Tuesday, December 12, 2000 2:37 PM
Subject: [ntdev] Starting a Kernel mode driver manually in win 2000

Hi All ,

How to start a non pnp kernel mode driver manually through controlpanel or
by some other means
in windows 2000 ?

It is possible to start or stop a kernel mode driver whose start value in
the inf file is 0x2 through controlpanel->Devices in windows Nt.

What is the equivalent way of doing the same thing in the 2000.?
Is there any API calls to start a driver from user mode?

Thanks in advance.

R.Chakrapani.


You are currently subscribed to ntdev as: xxxxx@wtwo.net
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Hi ,

I could able to start the driver manually through the “Net start”

Thank you.

R.Chakrapani.
----- Original Message -----
From: Roddy, Mark
To: NT Developers Interest List
Sent: Tuesday, December 12, 2000 7:30 PM
Subject: [ntdev] RE: Starting a Kernel mode driver manually in win 2000

“net start devicename” from a command line.

Mark Roddy
xxxxx@hollistech.com
www.hollistech.com
WindowsNT Windows 2000 Consulting Services

-----Original Message-----
From: chakrapani [mailto:xxxxx@procsys.com]
Sent: Tuesday, December 12, 2000 8:38 AM
To: NT Developers Interest List
Subject: [ntdev] Starting a Kernel mode driver manually in win 2000

Hi All ,

How to start a non pnp kernel mode driver manually through controlpanel or by some other means
in windows 2000 ?

It is possible to start or stop a kernel mode driver whose start value in the inf file is 0x2 through controlpanel->Devices in windows Nt.

What is the equivalent way of doing the same thing in the 2000.?
Is there any API calls to start a driver from user mode?

Thanks in advance.

R.Chakrapani.


You are currently subscribed to ntdev as: xxxxx@stratus.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You are currently subscribed to ntdev as: xxxxx@procsys.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com