MCPcopy Create free account
hub / github.com/PowerShell/DSC / ScHandle

Class ScHandle

resources/windows_service/src/service.rs:64–64  ·  view source on GitHub ↗

RAII wrapper for `SC_HANDLE` that calls `CloseServiceHandle` on drop.

Source from the content-addressed store, hash-verified

62
63/// RAII wrapper for `SC_HANDLE` that calls `CloseServiceHandle` on drop.
64struct ScHandle(SC_HANDLE);
65
66impl Drop for ScHandle {
67 fn drop(&mut self) {

Callers 4

get_serviceFunction · 0.85
export_servicesFunction · 0.85
get_service_detailsFunction · 0.85
set_serviceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected