For the complete documentation index, see llms.txt. This page is also available as Markdown.

CloseServiceHandle

[DllImport("ADVAPI32.dll", ExactSpelling = true, SetLastError = true)]
[DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
public static extern BOOL CloseServiceHandle(SC_HANDLE hSCObject);

Last updated