func (m *Mgr) OpenService(name string) (*Service, error) {
	h, err := windows.OpenService(m.Handle, syscall.StringToUTF16Ptr(name), windows.SERVICE_ALL_ACCESS)
	if err != nil {
		return nil, err
	}
	return &Service{Name: name, Handle: h}, nil
}
// OpenService retrieves access to service name, so it can
// be interrogated and controlled.
OpenService retrieves access to service name, so it can
be interrogated and controlled.
// OpenService retrieves access to service name so it can // be interrogated and controlled .
func (m *Mgr) OpenService(name string) (*Service, error) {
	h, err := windows.OpenService(m.Handle, syscall.StringToUTF16Ptr(name), windows.SERVICE_ALL_ACCESS)
	if err != nil {
		return nil, err
	}
	return &Service{Name: name, Handle: h}, nil
}
func ( m * Mgr ) OpenService ( name string ) ( * Service , error ) { h , err := windows . OpenService ( m . Handle , syscall . StringToUTF16Ptr ( name ) , windows . SERVICE_ALL_ACCESS ) if err != nil { return nil , err } return & Service { Name : name , Handle : h } , nil }
OpenService retrieves access to service name, so it can
be interrogated and controlled.
OpenService retrieves access to service name so it can be interrogated and controlled .