Win7 trigger-start Windows service demo (CSWin7TriggerStartService)
This VC# code sample shows how to create a trigger-start Windows Service that starts when a generic USB disk or IP becomes available. Service Trigger Start is a new feature in Windows 7.