vefatica May 13,190 180 2021-03-23 #1 Rex, that may be easy. The SERVICE_STATUS_PROCESS struct filled by QueryServiceStatusEx() contains the member SERVICE_STATUS_PROCESS::dwProcessId. I figure you already have that filled struct hanging around.
Rex, that may be easy. The SERVICE_STATUS_PROCESS struct filled by QueryServiceStatusEx() contains the member SERVICE_STATUS_PROCESS::dwProcessId. I figure you already have that filled struct hanging around.