Home
last modified time | relevance | path

Searched refs:serviceName (Results 1 – 9 of 9) sorted by relevance

/reactos/modules/rostests/apitests/advapi32/
H A DCreateService.c10 static int MakeService(SC_HANDLE hScm, const wchar_t *serviceName, SC_HANDLE *hService, DWORD *tag) in MakeService() argument
20 serviceName, in MakeService()
44 …StringCbPrintfW(keyName, sizeof keyName, L"System\\CurrentControlSet\\Services\\%ls", serviceName); in MakeService()
H A DQueryServiceConfig2.c97 static int QueryConfig2W(SC_HANDLE hService, LPCWSTR serviceName, DWORD dwInfoLevel) in QueryConfig2W() argument
149 …StringCbPrintfW(keyName, sizeof(keyName), L"System\\CurrentControlSet\\Services\\%s", serviceName); in QueryConfig2W()
290 static int QueryConfig2A(SC_HANDLE hService, LPCSTR serviceName, DWORD dwInfoLevel) in QueryConfig2A() argument
342 … StringCbPrintfA(keyName, sizeof(keyName), "System\\CurrentControlSet\\Services\\%s", serviceName); in QueryConfig2A()
/reactos/sdk/lib/drivers/wdf/kmdf/src/librarycommon/
H A Dfxlibrarycommon.cpp337 UNICODE_STRING serviceName = { 0 }; in FxLibraryCommonRegisterClient() local
409 RtlZeroMemory(&serviceName, sizeof(UNICODE_STRING)); in FxLibraryCommonRegisterClient()
412 GetNameFromPath(ClientInfo->RegistryPath, &serviceName); in FxLibraryCommonRegisterClient()
415 RtlInitUnicodeString(&serviceName, L"Unknown"); in FxLibraryCommonRegisterClient()
422 ReportDdiFunctionCountMismatch((PCUNICODE_STRING)&serviceName, in FxLibraryCommonRegisterClient()
/reactos/ntoskrnl/io/iomgr/
H A Ddriver.c128 UNICODE_STRING driverName = {.Buffer = NULL}, serviceName; in IopGetDriverNames() local
190 serviceName.Length = basicInfo->NameLength; in IopGetDriverNames()
191 serviceName.MaximumLength = basicInfo->NameLength; in IopGetDriverNames()
192 serviceName.Buffer = basicInfo->Name; in IopGetDriverNames()
226 driverName.MaximumLength += serviceName.Length; in IopGetDriverNames()
242 RtlAppendUnicodeStringToString(&driverName, &serviceName); in IopGetDriverNames()
256 RtlMoveMemory(buf, serviceName.Buffer, serviceName.Length); in IopGetDriverNames()
257 ServiceName->MaximumLength = serviceName.Length; in IopGetDriverNames()
258 ServiceName->Length = serviceName.Length; in IopGetDriverNames()
2022 UNICODE_STRING serviceName = { in IopLoadDriver() local
[all …]
/reactos/sdk/lib/drivers/wdf/shared/support/um/
H A Dtracingum.cpp467 PWCHAR serviceName; in FxIFRStart() local
512 serviceName = &RegistryPath->Buffer[i+1]; in FxIFRStart()
529 hr = pDeviceStack2->AllocateIfrMemory(serviceName, in FxIFRStart()
/reactos/ntoskrnl/io/pnpmgr/
H A Ddevaction.c386 UNICODE_STRING serviceName = { .Length = 0 }, servicesKeyName; in PiAttachFilterDriversCallback() local
387 RtlInitUnicodeString(&serviceName, ValueData); in PiAttachFilterDriversCallback()
395 DPRINT1("Failed to open a registry key for \"%wZ\" (status %x)\n", &serviceName, Status); in PiAttachFilterDriversCallback()
399 Status = IopOpenRegistryKeyEx(&serviceHandle, ccsServicesHandle, &serviceName, KEY_READ); in PiAttachFilterDriversCallback()
403 DPRINT1("Failed to open a registry key for \"%wZ\" (status %x)\n", &serviceName, Status); in PiAttachFilterDriversCallback()
413 DPRINT1("Failed to allocate driverEntry for \"%wZ\"\n", &serviceName); in PiAttachFilterDriversCallback()
443 DPRINT("Service \"%wZ\" is disabled (start type %u)\n", &serviceName, startType); in PiAttachFilterDriversCallback()
453 DPRINT1("Unable to obtain the driver name for \"%wZ\"\n", &serviceName); in PiAttachFilterDriversCallback()
477 DPRINT("Service \"%wZ\" will not be loaded now\n", &serviceName); in PiAttachFilterDriversCallback()
514 &serviceName, &context->DeviceNode->InstancePath, Status); in PiAttachFilterDriversCallback()
/reactos/base/services/tftpd/
H A Dtftpd.cpp34 char serviceName[] = "TFTPServer"; variable
108 serviceStatusHandle = RegisterServiceCtrlHandler(serviceName, ServiceControlHandler); in ServiceMain()
218 {serviceName, ServiceMain}, in runService()
263 serviceName, SERVICE_QUERY_STATUS); in installService()
276 serviceName, displayName, in installService()
303 serviceName, SERVICE_QUERY_STATUS | SERVICE_STOP | DELETE); in uninstallService()
366 serviceName, SERVICE_QUERY_STATUS | SERVICE_STOP); in main()
/reactos/sdk/include/psdk/
H A Dnetfw.idl467 HRESULT RestrictService( [in] BSTR serviceName, [in] BSTR appName,
471 HRESULT ServiceRestricted( [in] BSTR serviceName, [in] BSTR appName,
/reactos/dll/win32/mpr/
H A Dwnet.c142 WCHAR serviceName[MAX_PATH]; in _tryLoadProvider() local
146 swprintf(serviceName, serviceFmt, servicePrefix, provider); in _tryLoadProvider()
147 serviceName[ARRAY_SIZE(serviceName) - 1] = '\0'; in _tryLoadProvider()
148 if (RegOpenKeyExW(HKEY_LOCAL_MACHINE, serviceName, 0, KEY_READ, &hKey) == in _tryLoadProvider()