Lines Matching refs:hd

152 	ndr_handle_t *hd;  in svcctl_hdlookup()  local
155 if ((hd = ndr_hdlookup(mxa, id)) == NULL) in svcctl_hdlookup()
158 if ((ctx = (svcctl_context_t *)hd->nh_data) == NULL) in svcctl_hdlookup()
164 return (hd); in svcctl_hdlookup()
175 ndr_handle_t *hd; in svcctl_hdfree() local
180 if ((hd = ndr_hdlookup(mxa, id)) != NULL) { in svcctl_hdfree()
181 ctx = (svcctl_context_t *)hd->nh_data; in svcctl_hdfree()
254 ndr_handle_t *hd; in svcctl_get_mgr_ctx() local
257 hd = svcctl_hdlookup(mxa, mgr_id, SVCCTL_MANAGER_CONTEXT); in svcctl_get_mgr_ctx()
258 if (hd == NULL) in svcctl_get_mgr_ctx()
261 mgr_ctx = ((svcctl_context_t *)hd->nh_data)->c_ctx.uc_mgr; in svcctl_get_mgr_ctx()
351 ndr_handle_t *hd; in svcctl_s_ControlService() local
356 hd = svcctl_hdlookup(mxa, id, SVCCTL_SERVICE_CONTEXT); in svcctl_s_ControlService()
357 if (hd == NULL) { in svcctl_s_ControlService()
363 svc_ctx = ((svcctl_context_t *)hd->nh_data)->c_ctx.uc_svc; in svcctl_s_ControlService()
416 ndr_handle_t *hd; in svcctl_s_DeleteService() local
418 hd = svcctl_hdlookup(mxa, id, SVCCTL_SERVICE_CONTEXT); in svcctl_s_DeleteService()
419 if (hd == NULL) { in svcctl_s_DeleteService()
436 ndr_handle_t *hd; in svcctl_s_QueryServiceSecurity() local
441 hd = svcctl_hdlookup(mxa, id, SVCCTL_SERVICE_CONTEXT); in svcctl_s_QueryServiceSecurity()
442 if (hd == NULL) { in svcctl_s_QueryServiceSecurity()
489 ndr_handle_t *hd; in svcctl_s_SetServiceSecurity() local
491 hd = svcctl_hdlookup(mxa, id, SVCCTL_SERVICE_CONTEXT); in svcctl_s_SetServiceSecurity()
492 if (hd == NULL) { in svcctl_s_SetServiceSecurity()
563 ndr_handle_t *hd; in svcctl_s_OpenService() local
579 hd = svcctl_hdlookup(mxa, mgrid, SVCCTL_MANAGER_CONTEXT); in svcctl_s_OpenService()
580 if (hd == NULL) { in svcctl_s_OpenService()
586 mgr_ctx = ((svcctl_context_t *)hd->nh_data)->c_ctx.uc_mgr; in svcctl_s_OpenService()
618 ndr_handle_t *hd; in svcctl_s_QueryServiceStatus() local
623 hd = svcctl_hdlookup(mxa, id, SVCCTL_SERVICE_CONTEXT); in svcctl_s_QueryServiceStatus()
624 if (hd == NULL) { in svcctl_s_QueryServiceStatus()
630 svc_ctx = ((svcctl_context_t *)hd->nh_data)->c_ctx.uc_svc; in svcctl_s_QueryServiceStatus()
667 ndr_handle_t *hd; in svcctl_s_EnumDependentServices() local
674 hd = svcctl_hdlookup(mxa, id, SVCCTL_SERVICE_CONTEXT); in svcctl_s_EnumDependentServices()
675 if (hd == NULL) { in svcctl_s_EnumDependentServices()
680 svc_ctx = ((svcctl_context_t *)hd->nh_data)->c_ctx.uc_svc; in svcctl_s_EnumDependentServices()
747 ndr_handle_t *hd; in svcctl_s_EnumServicesStatus() local
757 hd = svcctl_hdlookup(mxa, id, SVCCTL_MANAGER_CONTEXT); in svcctl_s_EnumServicesStatus()
758 if (hd == NULL) { in svcctl_s_EnumServicesStatus()
763 mgr_ctx = ((svcctl_context_t *)hd->nh_data)->c_ctx.uc_mgr; in svcctl_s_EnumServicesStatus()
824 ndr_handle_t *hd; in svcctl_s_QueryServiceConfig() local
831 hd = svcctl_hdlookup(mxa, id, SVCCTL_SERVICE_CONTEXT); in svcctl_s_QueryServiceConfig()
832 if (hd == NULL) { in svcctl_s_QueryServiceConfig()
838 svc_ctx = ((svcctl_context_t *)hd->nh_data)->c_ctx.uc_svc; in svcctl_s_QueryServiceConfig()
891 ndr_handle_t *hd; in svcctl_s_StartService() local
896 hd = svcctl_hdlookup(mxa, id, SVCCTL_SERVICE_CONTEXT); in svcctl_s_StartService()
897 if (hd == NULL) { in svcctl_s_StartService()
902 svc_ctx = ((svcctl_context_t *)hd->nh_data)->c_ctx.uc_svc; in svcctl_s_StartService()
931 ndr_handle_t *hd; in svcctl_s_GetServiceDisplayNameW() local
935 hd = svcctl_hdlookup(mxa, id, SVCCTL_MANAGER_CONTEXT); in svcctl_s_GetServiceDisplayNameW()
936 if (hd == NULL) { in svcctl_s_GetServiceDisplayNameW()
943 mgr_ctx = ((svcctl_context_t *)hd->nh_data)->c_ctx.uc_mgr; in svcctl_s_GetServiceDisplayNameW()
978 ndr_handle_t *hd; in svcctl_s_GetServiceKeyNameW() local
982 hd = svcctl_hdlookup(mxa, id, SVCCTL_MANAGER_CONTEXT); in svcctl_s_GetServiceKeyNameW()
983 if (hd == NULL) { in svcctl_s_GetServiceKeyNameW()
990 mgr_ctx = ((svcctl_context_t *)hd->nh_data)->c_ctx.uc_mgr; in svcctl_s_GetServiceKeyNameW()
1069 ndr_handle_t *hd; in svcctl_s_OpenServiceA() local
1085 hd = svcctl_hdlookup(mxa, mgrid, SVCCTL_MANAGER_CONTEXT); in svcctl_s_OpenServiceA()
1086 if (hd == NULL) { in svcctl_s_OpenServiceA()
1092 mgr_ctx = ((svcctl_context_t *)hd->nh_data)->c_ctx.uc_mgr; in svcctl_s_OpenServiceA()
1122 ndr_handle_t *hd; in svcctl_s_EnumServicesStatusA() local
1133 hd = svcctl_hdlookup(mxa, id, SVCCTL_MANAGER_CONTEXT); in svcctl_s_EnumServicesStatusA()
1134 if (hd == NULL) { in svcctl_s_EnumServicesStatusA()
1139 mgr_ctx = ((svcctl_context_t *)hd->nh_data)->c_ctx.uc_mgr; in svcctl_s_EnumServicesStatusA()
1192 ndr_handle_t *hd; in svcctl_s_QueryServiceConfig2W() local
1202 hd = svcctl_hdlookup(mxa, id, SVCCTL_SERVICE_CONTEXT); in svcctl_s_QueryServiceConfig2W()
1203 if (hd == NULL) { in svcctl_s_QueryServiceConfig2W()
1224 svc_ctx = ((svcctl_context_t *)hd->nh_data)->c_ctx.uc_svc; in svcctl_s_QueryServiceConfig2W()
1306 ndr_handle_t *hd; in svcctl_s_QueryServiceStatusEx() local
1315 hd = svcctl_hdlookup(mxa, id, SVCCTL_SERVICE_CONTEXT); in svcctl_s_QueryServiceStatusEx()
1316 if (hd == NULL) { in svcctl_s_QueryServiceStatusEx()
1321 svc_ctx = ((svcctl_context_t *)hd->nh_data)->c_ctx.uc_svc; in svcctl_s_QueryServiceStatusEx()