/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_CloseServiceHandle, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_CloseServiceHandle_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_CloseServiceHandle, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_CloseServiceHandle, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_CloseServiceHandle, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ControlService, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_ControlService_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_ControlService, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.control = control;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ControlService, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_ControlService, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_DeleteService, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_DeleteService, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_DeleteService, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_DeleteService, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_LockServiceDatabase, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_LockServiceDatabase_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_LockServiceDatabase, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_LockServiceDatabase, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_LockServiceDatabase, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceObjectSecurity, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceObjectSecurity_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceObjectSecurity, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.security_flags = security_flags;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceObjectSecurity, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceObjectSecurity, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SetServiceObjectSecurity, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_SetServiceObjectSecurity, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.buffer = buffer;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SetServiceObjectSecurity, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_SetServiceObjectSecurity, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceStatus, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceStatus_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceStatus, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.handle = handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceStatus, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceStatus, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SetServiceStatus, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_SetServiceStatus, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SetServiceStatus, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_SetServiceStatus, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_UnlockServiceDatabase, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_UnlockServiceDatabase_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_UnlockServiceDatabase, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
r.in.lock = lock;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_UnlockServiceDatabase, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_UnlockServiceDatabase, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_NotifyBootConfigStatus, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_NotifyBootConfigStatus, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_NotifyBootConfigStatus, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_NotifyBootConfigStatus, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SCSetServiceBitsW, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_SCSetServiceBitsW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.bitson = bitson;
r.in.immediate = immediate;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SCSetServiceBitsW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_SCSetServiceBitsW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfigW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_ChangeServiceConfigW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfigW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.password = password;
r.in.display_name = display_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfigW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfigW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_CreateServiceW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_CreateServiceW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_CreateServiceW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.password = password;
r.in.password_size = password_size;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_CreateServiceW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_CreateServiceW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumDependentServicesW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_EnumDependentServicesW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_EnumDependentServicesW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.state = state;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumDependentServicesW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_EnumDependentServicesW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumServicesStatusW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_EnumServicesStatusW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_EnumServicesStatusW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.offered = offered;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumServicesStatusW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_EnumServicesStatusW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_OpenSCManagerW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_OpenSCManagerW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_OpenSCManagerW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.DatabaseName = DatabaseName;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_OpenSCManagerW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_OpenSCManagerW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_OpenServiceW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_OpenServiceW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_OpenServiceW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.ServiceName = ServiceName;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_OpenServiceW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_OpenServiceW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfigW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceConfigW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfigW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfigW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfigW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceLockStatusW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceLockStatusW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceLockStatusW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceLockStatusW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceLockStatusW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_StartServiceW, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_StartServiceW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.NumArgs = NumArgs;
r.in.Arguments = Arguments;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_StartServiceW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_StartServiceW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetServiceDisplayNameW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_GetServiceDisplayNameW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_GetServiceDisplayNameW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.service_name = service_name;
r.in.display_name_length = display_name_length;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetServiceDisplayNameW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_GetServiceDisplayNameW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetServiceKeyNameW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_GetServiceKeyNameW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_GetServiceKeyNameW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.service_name = service_name;
r.in.display_name_length = display_name_length;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetServiceKeyNameW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_GetServiceKeyNameW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SCSetServiceBitsA, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_SCSetServiceBitsA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.bitson = bitson;
r.in.immediate = immediate;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SCSetServiceBitsA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_SCSetServiceBitsA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfigA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_ChangeServiceConfigA_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfigA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.password = password;
r.in.display_name = display_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfigA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfigA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_CreateServiceA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_CreateServiceA_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_CreateServiceA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.service_start_name = service_start_name;
r.in.password = password;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_CreateServiceA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_CreateServiceA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumDependentServicesA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_EnumDependentServicesA_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_EnumDependentServicesA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.state = state;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumDependentServicesA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_EnumDependentServicesA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumServicesStatusA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_EnumServicesStatusA_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_EnumServicesStatusA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.offered = offered;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumServicesStatusA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_EnumServicesStatusA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_OpenSCManagerA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_OpenSCManagerA_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_OpenSCManagerA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.DatabaseName = DatabaseName;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_OpenSCManagerA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_OpenSCManagerA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_OpenServiceA, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_OpenServiceA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.ServiceName = ServiceName;
r.in.access_mask = access_mask;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_OpenServiceA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_OpenServiceA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfigA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceConfigA_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfigA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfigA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfigA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceLockStatusA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceLockStatusA_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceLockStatusA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.handle = handle;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceLockStatusA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceLockStatusA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_StartServiceA, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_StartServiceA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.NumArgs = NumArgs;
r.in.Arguments = Arguments;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_StartServiceA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_StartServiceA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetServiceDisplayNameA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_GetServiceDisplayNameA_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_GetServiceDisplayNameA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.service_name = service_name;
r.in.display_name_length = display_name_length;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetServiceDisplayNameA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_GetServiceDisplayNameA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetServiceKeyNameA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_GetServiceKeyNameA_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_GetServiceKeyNameA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.service_name = service_name;
r.in.display_name_length = display_name_length;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetServiceKeyNameA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_GetServiceKeyNameA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetCurrentGroupeStateW, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_GetCurrentGroupeStateW, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_GetCurrentGroupeStateW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_GetCurrentGroupeStateW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumServiceGroupW, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_EnumServiceGroupW, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_EnumServiceGroupW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_EnumServiceGroupW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfig2A, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfig2A, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info_level = info_level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfig2A, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfig2A, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfig2W, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfig2W, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info_level = info_level;
r.in.info = info;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_ChangeServiceConfig2W, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_ChangeServiceConfig2W, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfig2A, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceConfig2A_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfig2A, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info_level = info_level;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfig2A, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfig2A, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfig2W, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceConfig2W_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfig2W, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info_level = info_level;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceConfig2W, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceConfig2W, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceStatusEx, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_svcctl_QueryServiceStatusEx_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceStatusEx, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.info_level = info_level;
r.in.offered = offered;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_QueryServiceStatusEx, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_QueryServiceStatusEx, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(EnumServicesStatusExA, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_EnumServicesStatusExA_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(EnumServicesStatusExA, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.offered = offered;
r.in.resume_handle = resume_handle;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(EnumServicesStatusExA, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(EnumServicesStatusExA, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(EnumServicesStatusExW, &state->orig);
- }
-
state->out_mem_ctx = talloc_named_const(state, 0,
"rpccli_EnumServicesStatusExW_out_memory");
if (tevent_req_nomem(state->out_mem_ctx, req)) {
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(EnumServicesStatusExW, &state->orig);
- }
-
tevent_req_done(req);
}
r.in.resume_handle = resume_handle;
r.in.group_name = group_name;
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(EnumServicesStatusExW, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(EnumServicesStatusExW, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Result */
ZERO_STRUCT(state->orig.out.result);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SCSendTSMessage, &state->orig);
- }
-
/* make a temporary copy, that we pass to the dispatch function */
state->tmp = state->orig;
/* Reset temporary structure */
ZERO_STRUCT(state->tmp);
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_SCSendTSMessage, &state->orig);
- }
-
tevent_req_done(req);
}
/* In parameters */
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_IN_DEBUG(svcctl_SCSendTSMessage, &r);
- }
-
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
return status;
}
- if (DEBUGLEVEL >= 10) {
- NDR_PRINT_OUT_DEBUG(svcctl_SCSendTSMessage, &r);
- }
-
if (NT_STATUS_IS_ERR(status)) {
return status;
}