dotnet / pinvoke

A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.
MIT License
2.12k stars 222 forks source link

Add QueryServiceConfig / QueryServiceConfig2 #544

Closed jhennessey closed 1 year ago

jhennessey commented 3 years ago

I noticed that both QueryServiceConfig and QueryServiceConfig2 are missing from PInvoke.AdvApi32.

Without QueryServiceConfig I don't see another way to get the binary path for a service.