def win_service_iter():
 for (name, display_name) in cext.winservice_enumerate():
  (yield WindowsService(name, display_name))

def win_service_iter ( ) : for ( name , display_name ) in cext . winservice_enumerate ( ) : ( yield WindowsService ( name , display_name ) )
return a list of windowsservice instances .