操作系统Windows OSWindows ServiceWindows Service winsvc.h SERVICE_STATUS How to check if a service is running using command line? # Check service statussc query "ServiceName"