I'm not sure this is the place for my question, but I'll give it at try, I'm brand new at this forum.
I'm a Delphi programmer, and I'm developing a program that installs and removes the driver "giveio.sys". I'm familiar with the API functions OpenSCManager, CreateService, StartService, OpenService, ControlService, DeleteService, CloseServiceHandle ect.
I'm aware that when I install a service, it will be stored in the registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and that it is removed from the registry as I remove the service.
My problem is that in the Device Manager -> Non-Plug and Play Drivers the driver keeps appearing even when the driver file is deleted, the service is removed through the Service Control Manager, and I have rebooted my machine. The driver is not functioning of course and is disabled.
I would like to know how my program kan remove this entry in Device Manager - I like to clean up thorougly when programming
I hope you can help me, or direct me to the correct forum for this kind of question.
Regards,
Martin

Question regarding removal of Windows driver service
Yifat