Lines Matching refs:pszAction
73 static SC_HANDLE autostartSvcWinOpenSCManager(const char *pszAction, DWORD dwAccess);
193 * @param pszAction The action which is requesting access to SCM.
196 static SC_HANDLE autostartSvcWinOpenSCManager(const char *pszAction, DWORD dwAccess)
205 autostartSvcDisplayError("%s - OpenSCManager failure: access denied\n", pszAction);
208 autostartSvcDisplayError("%s - OpenSCManager failure: %d\n", pszAction, err);
224 * @param pszAction The action which is requesting access to the service.
230 static SC_HANDLE autostartSvcWinOpenService(const char *pszAction, DWORD dwSCMAccess, DWORD dwSVCAccess,
233 SC_HANDLE hSCM = autostartSvcWinOpenSCManager(pszAction, dwSCMAccess);
257 autostartSvcDisplayError("%s - OpenService failure: access denied\n", pszAction);
260 autostartSvcDisplayError("%s - OpenService failure: The service does not exist. Reinstall it.\n", pszAction);
263 autostartSvcDisplayError("%s - OpenService failure: %d\n", pszAction, err);