Solved

API call for loading xxxx.sys on-the-fly on Windows 2003/2008

Posted on 2009-03-30
1
376 Views
Last Modified: 2012-05-06
hi all
I need to load a XXXXXX.SYS after bootup.
Anyone know the API's to:
1.  Register the .SYS
2.  Unregister .SYS
0
Comment
Question by:controlr
1 Comment
 
LVL 6

Accepted Solution

by:
bdesmond earned 500 total points
ID: 24025002
You'd need to call CreateService, OpenService, and StartService in that order to install and start a driver.

To delete it, call OpenService, ControlService, and DeleteService.

Thanks,
Brian Desmond
Active Directory MVP

0

Featured Post

Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Join & Write a Comment

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now