Home
last modified time | relevance | path

Searched refs:scm (Results 1 – 11 of 11) sorted by relevance

/reactos/dll/win32/aclui/
H A Dsidcache.c89 HeapFree(scm->Heap, in FreeQueueEntry()
93 HeapFree(scm->Heap, in FreeQueueEntry()
105 HeapFree(scm->Heap, in FreeCacheEntry()
153 return scm; in ReferenceSidCacheMgr()
476 if (scm->QueueListHead.Flink != &scm->QueueListHead) in LookupThreadProc()
581 scm); in LookupThreadProc()
608 if (scm != NULL) in CreateSidCacheMgr()
680 if (scm != NULL) in DestroySidCacheMgr()
799 if (scm != NULL) in DequeueSidLookup()
845 if (scm != NULL) in ReferenceSidReqResult()
[all …]
/reactos/base/services/shsvcs/
H A Dthmserver.c39 SC_HANDLE scm, service; in GetThemeServiceProcessHandle() local
44 if (!(scm = OpenSCManagerW( NULL, NULL, 0 ))) in GetThemeServiceProcessHandle()
49 if (!(service = OpenServiceW( scm, ServiceName, SERVICE_QUERY_STATUS ))) in GetThemeServiceProcessHandle()
52 CloseServiceHandle( scm ); in GetThemeServiceProcessHandle()
61 CloseServiceHandle( scm ); in GetThemeServiceProcessHandle()
68 CloseServiceHandle( scm ); in GetThemeServiceProcessHandle()
129 SC_HANDLE scm, service; in ThemeWaitForServiceReady() local
136 if (!(scm = OpenSCManagerW( NULL, NULL, 0 ))) in ThemeWaitForServiceReady()
141 if (!(service = OpenServiceW( scm, ServiceName, SERVICE_QUERY_STATUS ))) in ThemeWaitForServiceReady()
144 CloseServiceHandle( scm ); in ThemeWaitForServiceReady()
[all …]
/reactos/dll/win32/shell32/
H A DCShellDispatch.cpp430 SC_HANDLE scm, service; in IsServiceRunning() local
438 scm = OpenSCManagerW(NULL, NULL, SC_MANAGER_CONNECT); in IsServiceRunning()
439 if (!scm) in IsServiceRunning()
445 service = OpenServiceW(scm, name, SERVICE_QUERY_STATUS); in IsServiceRunning()
449 CloseServiceHandle(scm); in IsServiceRunning()
458 CloseServiceHandle(scm); in IsServiceRunning()
466 CloseServiceHandle(scm); in IsServiceRunning()
/reactos/base/system/msiexec/
H A Dmsiexec.c345 SC_HANDLE scm, service; in DoRegServer() local
349 if (!(scm = OpenSCManagerW(NULL, SERVICES_ACTIVE_DATABASEW, SC_MANAGER_CREATE_SERVICE))) in DoRegServer()
356 if ((service = CreateServiceW(scm, L"MSIServer", L"MSIServer", GENERIC_ALL, in DoRegServer()
367 CloseServiceHandle(scm); in DoRegServer()
373 SC_HANDLE scm, service; in DoUnregServer() local
376 if (!(scm = OpenSCManagerW(NULL, SERVICES_ACTIVE_DATABASEW, SC_MANAGER_CONNECT))) in DoUnregServer()
381 if ((service = OpenServiceW(scm, L"MSIServer", DELETE))) in DoUnregServer()
395 CloseServiceHandle(scm); in DoUnregServer()
/reactos/dll/win32/rpcrt4/
H A Drpc_epmap.c82 SC_HANDLE scm, service; in start_rpcss() local
88 if (!(scm = OpenSCManagerW( NULL, NULL, 0 ))) in start_rpcss()
93 if (!(service = OpenServiceW( scm, rpcssW, SERVICE_START | SERVICE_QUERY_STATUS ))) in start_rpcss()
96 CloseServiceHandle( scm ); in start_rpcss()
125 CloseServiceHandle( scm ); in start_rpcss()
/reactos/dll/win32/msi/
H A Daction.c5911 SC_HANDLE scm = NULL, service = NULL; in ITERATE_StartService() local
5940 if (!scm) in ITERATE_StartService()
6007 if (scm) CloseServiceHandle(scm); in ITERATE_StartService()
6078 SC_HANDLE scm = NULL, service = NULL; in stop_service() local
6084 if (!scm) in stop_service()
6113 if (scm) CloseServiceHandle(scm); in stop_service()
6126 SC_HANDLE scm; in ITERATE_StopService() local
6146 if (!scm) in ITERATE_StopService()
6159 CloseServiceHandle( scm ); in ITERATE_StopService()
6219 if (!scm) in ITERATE_DeleteService()
[all …]
/reactos/dll/win32/advapi32/
H A DCMakeLists.txt39 service/scm.c
/reactos/dll/win32/ole32/
H A Dmoniker.c132 SC_HANDLE scm, service; in start_rpcss() local
138 if (!(scm = OpenSCManagerW( NULL, NULL, 0 ))) in start_rpcss()
143 if (!(service = OpenServiceW( scm, rpcssW, SERVICE_START | SERVICE_QUERY_STATUS ))) in start_rpcss()
146 CloseServiceHandle( scm ); in start_rpcss()
175 CloseServiceHandle( scm ); in start_rpcss()
/reactos/modules/rostests/winetests/msi/
H A Daction.c5077 SC_HANDLE scm, service; in test_start_stop_services() local
5081 scm = OpenSCManagerA(NULL, NULL, SC_MANAGER_ALL_ACCESS); in test_start_stop_services()
5082 if (!scm && GetLastError() == ERROR_ACCESS_DENIED) in test_start_stop_services()
5087 ok(scm != NULL, "Failed to open the SC Manager\n"); in test_start_stop_services()
5088 if (!scm) return; in test_start_stop_services()
5094 CloseServiceHandle(scm); in test_start_stop_services()
5099 CloseServiceHandle(scm); in test_start_stop_services()
5108 CloseServiceHandle(scm); in test_start_stop_services()
5113 CloseServiceHandle(scm); in test_start_stop_services()
5134 CloseServiceHandle(scm); in test_start_stop_services()
[all …]
/reactos/modules/rostests/winetests/shell32/
H A Dshelldispatch.c849 SC_HANDLE scm, service; in test_service() local
871 scm = OpenSCManagerW(NULL, NULL, SC_MANAGER_CONNECT); in test_service()
872 service = OpenServiceW(scm, spooler, SERVICE_QUERY_STATUS); in test_service()
875 CloseServiceHandle(scm); in test_service()
/reactos/
H A DCONTRIBUTING.md103 …[patch]: https://git-scm.com/docs/git-format…