views:

166

answers:

0

I have a few (arbitrary) windows services that I would like to stop down in a specific order on shutdown (e.g., stop A, then stop B, then stop C). I know that service dependencies aren't respected in Windows XP (they are in Vista), but various Internet'ing indicates that the shutdown order may respect the priorities set by SetProcessShutdownParameters. Sadly I know very little about COM, the Win32 API, etc... is there an easy way for me to make this happen?