Home
last modified time | relevance | path

Searched refs:ServiceName (Results 1 – 25 of 99) sorted by relevance

1234

/reactos/modules/rostests/apitests/ntdll/
H A DNtUnloadDriver.c14 UNICODE_STRING ServiceName; in START_TEST() local
50 ServiceName.Buffer = Buffer; in START_TEST()
51 ServiceName.Length = 0xFFFF; in START_TEST()
56 ServiceName.Buffer = Buffer; in START_TEST()
57 ServiceName.Length = 0xFFFE; in START_TEST()
62 ServiceName.Buffer = Buffer; in START_TEST()
63 ServiceName.Length = 0xFFFD; in START_TEST()
68 ServiceName.Buffer = Buffer; in START_TEST()
69 ServiceName.Length = 0xFFFC; in START_TEST()
74 ServiceName.Buffer = Buffer; in START_TEST()
[all …]
/reactos/base/applications/sc/
H A Dsc.c48 LPCTSTR ServiceName = NULL; in ScControl() local
75 Start(ServiceName, in ScControl()
90 ServiceName, in ScControl()
105 ServiceName, in ScControl()
120 ServiceName, in ScControl()
135 ServiceName, in ScControl()
149 Delete(ServiceName); in ScControl()
189 ServiceName, in ScControl()
205 SdShow(ServiceName); in ScControl()
310 GetKeyName(ServiceName); in ScControl()
[all …]
H A Dsc.h41 BOOL Delete(LPCTSTR ServiceName);
45 LPSERVICE_STATUS_PROCESS QueryService(LPCTSTR ServiceName);
46 BOOL SdShow(LPCTSTR ServiceName);
47 BOOL SdSet(LPCTSTR ServiceName, LPCTSTR SecurityDescriptor);
48 BOOL QueryConfig(LPCTSTR ServiceName);
50 BOOL QueryDescription(LPCTSTR ServiceName);
51 BOOL SetDescription(LPCTSTR ServiceName, LPCTSTR Description);
52 BOOL QueryFailure(LPCTSTR ServiceName);
54 BOOL GetDisplayName(LPCTSTR ServiceName);
55 BOOL GetKeyName(LPCTSTR ServiceName);
[all …]
H A Ddescription.c12 BOOL QueryDescription(LPCTSTR ServiceName) in QueryDescription() argument
21 _tprintf(_T("service to show description - %s\n\n"), ServiceName); in QueryDescription()
34 hService = OpenService(hManager, ServiceName, SERVICE_QUERY_CONFIG); in QueryDescription()
78 _tprintf(_T("SERVICE_NAME: %s\n"), ServiceName); in QueryDescription()
99 BOOL SetDescription(LPCTSTR ServiceName, LPCTSTR Description) in SetDescription() argument
107 _tprintf(_T("service to set description - %s\n\n"), ServiceName); in SetDescription()
120 hService = OpenService(hManager, ServiceName, SERVICE_CHANGE_CONFIG); in SetDescription()
H A Dname.c12 BOOL GetDisplayName(LPCTSTR ServiceName) in GetDisplayName() argument
30 ServiceName, in GetDisplayName()
53 ServiceName, in GetDisplayName()
77 BOOL GetKeyName(LPCTSTR ServiceName) in GetKeyName() argument
95 ServiceName, in GetKeyName()
118 ServiceName, in GetKeyName()
H A Dstart.c12 BOOL Start(LPCTSTR ServiceName, LPCTSTR *ServiceArgs, INT ArgCount) in Start() argument
22 _tprintf(_T("service to control - %s\n"), ServiceName); in Start()
44 ServiceName, in Start()
67 pServiceInfo = QueryService(ServiceName); in Start()
70 PrintService(ServiceName, in Start()
H A Dcontrol.c14 LPCTSTR ServiceName, in Control() argument
28 _tprintf(_T("service to control - %s\n"), ServiceName); in Control()
79 ServiceName, in Control()
102 PrintService(ServiceName, in Control()
H A Ddelete.c12 BOOL Delete(LPCTSTR ServiceName) in Delete() argument
19 _tprintf(_T("service to delete - %s\n\n"), ServiceName); in Delete()
32 hSc = OpenService(hSCManager, ServiceName, DELETE); in Delete()
H A Dsdset.c12 BOOL SdSet(LPCTSTR ServiceName, LPCTSTR StringSecurityDescriptor) in SdSet() argument
21 _tprintf(_T("service to set sd - %s\n\n"), ServiceName); in SdSet()
34 hService = OpenService(hManager, ServiceName, WRITE_DAC); in SdSet()
/reactos/modules/rostests/kmtests/kmtest/
H A Dservice.c23 IN PCWSTR ServiceName,
93 IN PCWSTR ServiceName, in KmtCreateService() argument
98 return KmtpCreateService(ServiceName, in KmtCreateService()
156 IN PCWSTR ServiceName OPTIONAL, in KmtEnsureServiceState()
164 PCWSTR ServiceNameOut = ServiceName ? ServiceName : L"(handle only, no name)"; in KmtEnsureServiceState()
218 IN PCWSTR ServiceName OPTIONAL, in KmtStartService()
263 IN PCWSTR ServiceName, in KmtCreateAndStartService() argument
316 IN PCWSTR ServiceName OPTIONAL, in KmtStopService()
357 IN PCWSTR ServiceName OPTIONAL, in KmtDeleteService()
415 IN PCWSTR ServiceName, in KmtpCreateService() argument
[all …]
H A Dfilter.c31 _In_z_ PCWSTR ServiceName) in KmtFltLoad() argument
36 assert(ServiceName); in KmtFltLoad()
38 hResult = FilterLoad(ServiceName); in KmtFltLoad()
64 _In_z_ PCWSTR ServiceName,
82 Error = KmtFltLoad(ServiceName);
92 Error = KmtFltUnload(ServiceName);
96 Error = KmtFltLoad(ServiceName);
120 _In_z_ PCWSTR ServiceName, in KmtFltConnect() argument
126 assert(ServiceName); in KmtFltConnect()
337 _In_z_ PCWSTR ServiceName) in KmtFltUnload() argument
[all …]
H A Dkmtest.h34 IN PCWSTR ServiceName,
41 IN PCWSTR ServiceName OPTIONAL,
46 IN PCWSTR ServiceName,
54 IN PCWSTR ServiceName OPTIONAL,
59 IN PCWSTR ServiceName OPTIONAL,
70 _In_z_ PCWSTR ServiceName);
74 _In_z_ PCWSTR ServiceName,
82 _In_z_ PCWSTR ServiceName,
119 _In_z_ PCWSTR ServiceName);
123 _In_z_ PCWSTR ServiceName OPTIONAL,
/reactos/modules/rosapps/applications/sysutils/utils/driver/load/
H A Dload.c12 UNICODE_STRING ServiceName; in wmain() local
20 ServiceName.Length = (USHORT)((52 + wcslen(argv[1])) * sizeof(WCHAR)); in wmain()
21 ServiceName.MaximumLength = ServiceName.Length + sizeof(UNICODE_NULL); in wmain()
22 ServiceName.Buffer = malloc(ServiceName.MaximumLength); in wmain()
23 wsprintf(ServiceName.Buffer, in wmain()
26 wprintf(L"Loading %wZ\n", &ServiceName); in wmain()
28 Status = NtLoadDriver(&ServiceName); in wmain()
29 free(ServiceName.Buffer); in wmain()
/reactos/modules/rosapps/applications/sysutils/utils/driver/unload/
H A Dunload.c12 UNICODE_STRING ServiceName; in wmain() local
20 ServiceName.Length = (USHORT)((52 + wcslen(argv[1])) * sizeof(WCHAR)); in wmain()
21 ServiceName.MaximumLength = ServiceName.Length + sizeof(UNICODE_NULL); in wmain()
22 ServiceName.Buffer = malloc(ServiceName.MaximumLength); in wmain()
23 wsprintf(ServiceName.Buffer, in wmain()
26 wprintf(L"Unloading %wZ\n", &ServiceName); in wmain()
28 Status = NtUnloadDriver(&ServiceName); in wmain()
29 free(ServiceName.Buffer); in wmain()
/reactos/base/applications/mscutils/servman/
H A Dprogress.c21 LPWSTR ServiceName; member
51 LPWSTR ServiceName, in ResetProgressDialog() argument
76 (LPARAM)ServiceName); in ResetProgressDialog()
95 ProgressData->ServiceName, in ActionThread()
99 dwResult = DoStartService(ProgressData->ServiceName, in ActionThread()
154 ProgressData->ServiceName, in ActionThread()
174 ProgressData->ServiceName, in ActionThread()
196 ProgressData->ServiceName, in ActionThread()
217 ProgressData->ServiceName, in ActionThread()
373 LPWSTR ServiceName, in RunActionWithProgress() argument
[all …]
H A Dcreate.c15 LPWSTR ServiceName; member
39 Data->ServiceName, in DoCreate()
58 SetServiceDescription(Data->ServiceName, in DoCreate()
116 if ((Data->ServiceName = GetStringFromDialog(Data, IDC_CREATE_SERVNAME))) in GetDataFromDialog()
136 if (Data->ServiceName != NULL) in FreeMemory()
139 Data->ServiceName); in FreeMemory()
/reactos/sdk/lib/drivers/sound/mment4/
H A Dregistry.c21 IN LPWSTR ServiceName, in OpenSoundDriverParametersRegKey() argument
27 VALIDATE_MMSYS_PARAMETER( ServiceName ); in OpenSoundDriverParametersRegKey()
32 + wcslen(ServiceName) + 1 in OpenSoundDriverParametersRegKey()
45 ServiceName, in OpenSoundDriverParametersRegKey()
74 IN LPWSTR ServiceName, in OpenSoundDeviceRegKey() argument
81 VALIDATE_MMSYS_PARAMETER( ServiceName ); in OpenSoundDeviceRegKey()
93 + wcslen(ServiceName) + 1 in OpenSoundDeviceRegKey()
110 ServiceName, in OpenSoundDeviceRegKey()
/reactos/drivers/filesystems/btrfs/
H A Dbtrfs.inf32 AddService = %ServiceName%,0x802,Btrfs.Service
59 AddService = %ServiceName%,2,Btrfs.Service
70 DelService = %ServiceName%,0x200 ;Ensure service is stopped before deleting
77 DisplayName = %ServiceName%
125 ServiceName = "btrfs"
133 ServiceName = "btrfs"
141 ServiceName = "btrfs"
149 ServiceName = "btrfs"
157 ServiceName = "btrfs"
/reactos/ntoskrnl/io/pnpmgr/
H A Ddevnode.c165 _In_opt_ PUNICODE_STRING ServiceName,
180 ParentNode, PhysicalDeviceObject, ServiceName);
191 if (!ServiceName)
194 ServiceName1 = ServiceName;
230 Node->ServiceName.Length = 0;
231 Node->ServiceName.Buffer = ExAllocatePool(PagedPool, Node->ServiceName.MaximumLength);
232 if (!Node->ServiceName.Buffer)
242 if (ServiceName)
245 …Status = ZwSetValueKey(InstanceHandle, &KeyName, 0, REG_SZ, ServiceName->Buffer, ServiceName->Leng…
284 ExFreePool(Node->ServiceName.Buffer);
[all …]
H A Dpnpreport.c165 UNICODE_STRING ValueName, ServiceLongName, ServiceName; in IoReportDetectedDevice() local
176 ServiceName = ServiceLongName; in IoReportDetectedDevice()
201 if (ServiceName.Buffer && ServiceName.Length >= sizeof(WCHAR)) in IoReportDetectedDevice()
204 ValueName.Buffer = ServiceName.Buffer + (ServiceName.Length / sizeof(WCHAR)) - 1; in IoReportDetectedDevice()
206 while ((ValueName.Buffer > ServiceName.Buffer) && (*ValueName.Buffer != L'\\')) in IoReportDetectedDevice()
219 ServiceName.MaximumLength -= (ServiceName.Length - ValueName.Length); in IoReportDetectedDevice()
220 ServiceName.Length = ValueName.Length; in IoReportDetectedDevice()
221 ServiceName.Buffer = ValueName.Buffer; in IoReportDetectedDevice()
234 Status = PnpRootCreateDevice(&ServiceName, &Pdo, &instancePath); in IoReportDetectedDevice()
313 &ServiceName); in IoReportDetectedDevice()
[all …]
/reactos/ntoskrnl/io/iomgr/
H A Ddriver.c126 _Out_opt_ PUNICODE_STRING ServiceName) in IopGetDriverNames() argument
245 if (ServiceName != NULL) in IopGetDriverNames()
259 ServiceName->Buffer = buf; in IopGetDriverNames()
329 _In_ PCUNICODE_STRING ServiceName) in IopDisplayLoadingMessage() argument
341 ServiceName, in IopDisplayLoadingMessage()
372 _In_ PUNICODE_STRING ServiceName)
511 RtlFreeUnicodeString(&ServiceName); in IopInitializeDriverModule()
621 RtlFreeUnicodeString(&ServiceName); in IopInitializeDriverModule()
816 UNICODE_STRING ServiceName; in IopInitializeBuiltinDriver() local
878 RtlFreeUnicodeString(&ServiceName); in IopInitializeBuiltinDriver()
[all …]
/reactos/base/services/audiosrv/
H A Dservices.c45 LPWSTR ServiceName, in StartAudioService() argument
51 hService = OpenService(hSCManager, ServiceName, SERVICE_ALL_ACCESS); in StartAudioService()
54 DPRINT("Failed to open service %S %x\n", ServiceName, GetLastError()); in StartAudioService()
60 DPRINT("Failed to start service %S %x\n", ServiceName, GetLastError()); in StartAudioService()
/reactos/base/system/services/
H A Dconfig.c475 UNICODE_STRING ServiceName = {0, 0, NULL}; in ScmSetServicePassword() local
496 ServiceName.Length = ((USHORT)ServiceNameLength + 4) * sizeof(WCHAR); in ScmSetServicePassword()
497 ServiceName.MaximumLength = ServiceName.Length + sizeof(WCHAR); in ScmSetServicePassword()
498 ServiceName.Buffer = HeapAlloc(GetProcessHeap(), in ScmSetServicePassword()
500 ServiceName.MaximumLength); in ScmSetServicePassword()
501 if (ServiceName.Buffer == NULL) in ScmSetServicePassword()
504 wcscpy(ServiceName.Buffer, L"_SC_"); in ScmSetServicePassword()
505 wcscat(ServiceName.Buffer, pszServiceName); in ScmSetServicePassword()
510 &ServiceName, in ScmSetServicePassword()
519 if (ServiceName.Buffer != NULL) in ScmSetServicePassword()
[all …]
/reactos/dll/win32/mswsock/
H A Dstubs.c62 LPSTR ServiceName, in GetAddressByNameA() argument
84 LPWSTR ServiceName, in GetAddressByNameW() argument
106 LPSTR ServiceName, in GetServiceA() argument
125 LPWSTR ServiceName, in GetServiceW() argument
142 GetTypeByNameA(LPSTR ServiceName, in GetTypeByNameA() argument
156 GetTypeByNameW(LPWSTR ServiceName, in GetTypeByNameW() argument
/reactos/sdk/lib/drivers/wdf/shared/core/um/
H A Dfxdriverum.cpp45 _In_ LPCWSTR ServiceName, in AddDevice() argument
66 ServiceName, in AddDevice()
81 _In_ LPCWSTR ServiceName, in AddDevice() argument
130 hr = StringCchLengthW(ServiceName, STRSAFE_MAX_CCH, &len); in AddDevice()
150 hr = StringCchCopyW(init.ConfigRegistryPath, len, ServiceName); in AddDevice()
333 rootSpecifier.Qualifier.ParametersKey.ServiceName = serviceNameW.Buffer; in OpenParametersKey()

1234