Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 303 of file database.c.
Referenced by RCreateServiceW(), RGetServiceKeyNameA(), and RGetServiceKeyNameW().
{ PLIST_ENTRY ServiceEntry; PSERVICE CurrentService; DPRINT("ScmGetServiceEntryByDisplayName() called\n"); ServiceEntry = ServiceListHead.Flink; while (ServiceEntry != &ServiceListHead) { CurrentService = CONTAINING_RECORD(ServiceEntry, SERVICE, ServiceListEntry); if (_wcsicmp(CurrentService->lpDisplayName, lpDisplayName) == 0) { DPRINT("Found service: '%S'\n", CurrentService->lpDisplayName); return CurrentService; } ServiceEntry = ServiceEntry->Flink; } DPRINT("Couldn't find a matching service\n"); return NULL; }