This shim is written for the applications which are installing a service which had dependency on some service in the OS which ...

This shim is written for the applications which are installing a service which had dependency on some service in the OS which has been deprecated. Catching CreateService APIs and stripping the deprecated dependency service from the lpDependencies parameter in the CreateService API before calling the original API.