accessing Service Control Manager

does anybody know whether I can access the Service Control Manager (SCM)
under NT4, to be able to start/stop a service which is cooperating with
my kernel mode driver ?

if so, what calls can I use ?

thanks,

Bob.

Bob Dehning.
ARtI - Associates for Real-time Information
tel: +27 (11) 316-1426, fax: 316-1095
cell: (082) 651-1501

Try for sc start xxx
xxx - name of the service
Gurpreet

— Bob Dehning wrote:
> does anybody know whether I can access the Service
> Control Manager (SCM)
> under NT4, to be able to start/stop a service which
> is cooperating with
> my kernel mode driver ?
>
> if so, what calls can I use ?
>
> thanks,
>
> Bob.
> –
> Bob Dehning.
> ARtI - Associates for Real-time Information
> tel: +27 (11) 316-1426, fax: 316-1095
> cell: (082) 651-1501
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> $subst(‘Email.Unsub’)
>
>

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Look in MSDN, there is lots of information on how to interact with services.

-----Original Message-----
From: Bob Dehning [mailto:xxxxx@mweb.co.za]
Sent: Friday, March 24, 2000 7:21 AM
To: File Systems Developers
Subject: [ntfsd] accessing Service Control Manager

does anybody know whether I can access the Service Control Manager (SCM)
under NT4, to be able to start/stop a service which is cooperating with
my kernel mode driver ?

if so, what calls can I use ?

thanks,

Bob.

Bob Dehning.
ARtI - Associates for Real-time Information
tel: +27 (11) 316-1426, fax: 316-1095
cell: (082) 651-1501


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

> if so, what calls can I use ?

OpenSCManager and similar from ADVAPI32.DLL

Max