def get_service(self, service_name, connection):
        """
        Get the service status and configuration for specified service
        """
        remoteOps = RemoteOperations(smbConnection=connection.conn, doKerberos=False)
        machine_name,_ = remoteOps.getMachineNameAndDomain()
        remoteOps._RemoteOperations__connectSvcCtl()
        dce = remoteOps._RemoteOperations__scmr
        scm_handle = scmr.hROpenSCManagerW(dce, machine_name)['lpScHandle']
        service_handle = scmr.hROpenServiceW(dce, scm_handle, service_name)['lpServiceHandle']
        service_config = scmr.hRQueryServiceConfigW(dce, service_handle)['lpServiceConfig']
        service_status = scmr.hRQueryServiceStatus(dce, service_handle)['lpServiceStatus']['dwCurrentState']
        remoteOps.finish()

        return service_config, service_status

        Get the service status and configuration for specified service
        
cme/modules/wcc.py