DATA_BLOB *buffer /* [in] [unique] */,
uint32_t offered /* [in] */,
uint32_t *count /* [out] [ref] */,
- union spoolss_PrinterInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
+ union spoolss_PrinterInfo **info /* [out] [ref,switch_is(level),size_is(*count)] */,
uint32_t *needed /* [out] [ref] */,
WERROR *werror)
{
/* Return variables */
*count = *r.out.count;
- if (info && r.out.info) {
- memcpy(info, r.out.info, *count * sizeof(*info));
- }
+ memcpy(info, r.out.info, *count * sizeof(*info));
*needed = *r.out.needed;
/* Return result */
DATA_BLOB *buffer /* [in] [unique] */,
uint32_t offered /* [in] */,
uint32_t *count /* [out] [ref] */,
- union spoolss_JobInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
+ union spoolss_JobInfo **info /* [out] [ref,switch_is(level),size_is(*count)] */,
uint32_t *needed /* [out] [ref] */,
WERROR *werror)
{
/* Return variables */
*count = *r.out.count;
- if (info && r.out.info) {
- memcpy(info, r.out.info, *count * sizeof(*info));
- }
+ memcpy(info, r.out.info, *count * sizeof(*info));
*needed = *r.out.needed;
/* Return result */
DATA_BLOB *buffer /* [in] [unique] */,
uint32_t offered /* [in] */,
uint32_t *count /* [out] [ref] */,
- union spoolss_DriverInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
+ union spoolss_DriverInfo **info /* [out] [ref,switch_is(level),size_is(*count)] */,
uint32_t *needed /* [out] [ref] */,
WERROR *werror)
{
/* Return variables */
*count = *r.out.count;
- if (info && r.out.info) {
- memcpy(info, r.out.info, *count * sizeof(*info));
- }
+ memcpy(info, r.out.info, *count * sizeof(*info));
*needed = *r.out.needed;
/* Return result */
DATA_BLOB *buffer /* [in] [unique] */,
uint32_t offered /* [in] */,
uint32_t *count /* [out] [ref] */,
- union spoolss_PrintProcessorInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
+ union spoolss_PrintProcessorInfo **info /* [out] [ref,switch_is(level),size_is(*count)] */,
uint32_t *needed /* [out] [ref] */,
WERROR *werror)
{
/* Return variables */
*count = *r.out.count;
- if (info && r.out.info) {
- memcpy(info, r.out.info, *count * sizeof(*info));
- }
+ memcpy(info, r.out.info, *count * sizeof(*info));
*needed = *r.out.needed;
/* Return result */
DATA_BLOB *buffer /* [in] [unique] */,
uint32_t offered /* [in] */,
uint32_t *count /* [out] [ref] */,
- union spoolss_FormInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
+ union spoolss_FormInfo **info /* [out] [ref,switch_is(level),size_is(*count)] */,
uint32_t *needed /* [out] [ref] */,
WERROR *werror)
{
/* Return variables */
*count = *r.out.count;
- if (info && r.out.info) {
- memcpy(info, r.out.info, *count * sizeof(*info));
- }
+ memcpy(info, r.out.info, *count * sizeof(*info));
*needed = *r.out.needed;
/* Return result */
DATA_BLOB *buffer /* [in] [unique] */,
uint32_t offered /* [in] */,
uint32_t *count /* [out] [ref] */,
- union spoolss_PortInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
+ union spoolss_PortInfo **info /* [out] [ref,switch_is(level),size_is(*count)] */,
uint32_t *needed /* [out] [ref] */,
WERROR *werror)
{
/* Return variables */
*count = *r.out.count;
- if (info && r.out.info) {
- memcpy(info, r.out.info, *count * sizeof(*info));
- }
+ memcpy(info, r.out.info, *count * sizeof(*info));
*needed = *r.out.needed;
/* Return result */
DATA_BLOB *buffer /* [in] [unique] */,
uint32_t offered /* [in] */,
uint32_t *count /* [out] [ref] */,
- union spoolss_MonitorInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
+ union spoolss_MonitorInfo **info /* [out] [ref,switch_is(level),size_is(*count)] */,
uint32_t *needed /* [out] [ref] */,
WERROR *werror)
{
/* Return variables */
*count = *r.out.count;
- if (info && r.out.info) {
- memcpy(info, r.out.info, *count * sizeof(*info));
- }
+ memcpy(info, r.out.info, *count * sizeof(*info));
*needed = *r.out.needed;
/* Return result */
DATA_BLOB *buffer /* [in] [unique] */,
uint32_t offered /* [in] */,
uint32_t *count /* [out] [ref] */,
- union spoolss_PrinterInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
+ union spoolss_PrinterInfo **info /* [out] [ref,switch_is(level),size_is(*count)] */,
uint32_t *needed /* [out] [ref] */,
WERROR *werror);
NTSTATUS rpccli_spoolss_OpenPrinter(struct rpc_pipe_client *cli,
DATA_BLOB *buffer /* [in] [unique] */,
uint32_t offered /* [in] */,
uint32_t *count /* [out] [ref] */,
- union spoolss_JobInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
+ union spoolss_JobInfo **info /* [out] [ref,switch_is(level),size_is(*count)] */,
uint32_t *needed /* [out] [ref] */,
WERROR *werror);
NTSTATUS rpccli_spoolss_AddPrinter(struct rpc_pipe_client *cli,
DATA_BLOB *buffer /* [in] [unique] */,
uint32_t offered /* [in] */,
uint32_t *count /* [out] [ref] */,
- union spoolss_DriverInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
+ union spoolss_DriverInfo **info /* [out] [ref,switch_is(level),size_is(*count)] */,
uint32_t *needed /* [out] [ref] */,
WERROR *werror);
NTSTATUS rpccli_spoolss_GetPrinterDriver(struct rpc_pipe_client *cli,
DATA_BLOB *buffer /* [in] [unique] */,
uint32_t offered /* [in] */,
uint32_t *count /* [out] [ref] */,
- union spoolss_PrintProcessorInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
+ union spoolss_PrintProcessorInfo **info /* [out] [ref,switch_is(level),size_is(*count)] */,
uint32_t *needed /* [out] [ref] */,
WERROR *werror);
NTSTATUS rpccli_spoolss_GetPrintProcessorDirectory(struct rpc_pipe_client *cli,
DATA_BLOB *buffer /* [in] [unique] */,
uint32_t offered /* [in] */,
uint32_t *count /* [out] [ref] */,
- union spoolss_FormInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
+ union spoolss_FormInfo **info /* [out] [ref,switch_is(level),size_is(*count)] */,
uint32_t *needed /* [out] [ref] */,
WERROR *werror);
NTSTATUS rpccli_spoolss_EnumPorts(struct rpc_pipe_client *cli,
DATA_BLOB *buffer /* [in] [unique] */,
uint32_t offered /* [in] */,
uint32_t *count /* [out] [ref] */,
- union spoolss_PortInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
+ union spoolss_PortInfo **info /* [out] [ref,switch_is(level),size_is(*count)] */,
uint32_t *needed /* [out] [ref] */,
WERROR *werror);
NTSTATUS rpccli_spoolss_EnumMonitors(struct rpc_pipe_client *cli,
DATA_BLOB *buffer /* [in] [unique] */,
uint32_t offered /* [in] */,
uint32_t *count /* [out] [ref] */,
- union spoolss_MonitorInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
+ union spoolss_MonitorInfo **info /* [out] [ref,switch_is(level),size_is(*count)] */,
uint32_t *needed /* [out] [ref] */,
WERROR *werror);
NTSTATUS rpccli_spoolss_AddPort(struct rpc_pipe_client *cli,
ndr->depth--;
ndr_print_ptr(ndr, "info", r->out.info);
ndr->depth++;
- if (r->out.info) {
- ndr->print(ndr, "%s: ARRAY(%d)", "info", (int)*r->out.count);
- ndr->depth++;
- for (cntr_info_1=0;cntr_info_1<*r->out.count;cntr_info_1++) {
- char *idx_1=NULL;
- if (asprintf(&idx_1, "[%d]", cntr_info_1) != -1) {
- ndr_print_set_switch_value(ndr, &r->out.info[cntr_info_1], r->in.level);
- ndr_print_spoolss_PrinterInfo(ndr, "info", &r->out.info[cntr_info_1]);
- free(idx_1);
+ ndr->print(ndr, "%s: ARRAY(%d)", "info", (int)*r->out.count);
+ ndr->depth++;
+ for (cntr_info_1=0;cntr_info_1<*r->out.count;cntr_info_1++) {
+ char *idx_1=NULL;
+ if (asprintf(&idx_1, "[%d]", cntr_info_1) != -1) {
+ ndr_print_ptr(ndr, "info", r->out.info[cntr_info_1]);
+ ndr->depth++;
+ if (r->out.info[cntr_info_1]) {
+ ndr_print_set_switch_value(ndr, r->out.info[cntr_info_1], r->in.level);
+ ndr_print_spoolss_PrinterInfo(ndr, "info", r->out.info[cntr_info_1]);
}
+ ndr->depth--;
+ free(idx_1);
}
- ndr->depth--;
}
ndr->depth--;
+ ndr->depth--;
ndr_print_ptr(ndr, "needed", r->out.needed);
ndr->depth++;
ndr_print_uint32(ndr, "needed", *r->out.needed);
ndr->depth--;
ndr_print_ptr(ndr, "info", r->out.info);
ndr->depth++;
- if (r->out.info) {
- ndr->print(ndr, "%s: ARRAY(%d)", "info", (int)*r->out.count);
- ndr->depth++;
- for (cntr_info_1=0;cntr_info_1<*r->out.count;cntr_info_1++) {
- char *idx_1=NULL;
- if (asprintf(&idx_1, "[%d]", cntr_info_1) != -1) {
- ndr_print_set_switch_value(ndr, &r->out.info[cntr_info_1], r->in.level);
- ndr_print_spoolss_JobInfo(ndr, "info", &r->out.info[cntr_info_1]);
- free(idx_1);
+ ndr->print(ndr, "%s: ARRAY(%d)", "info", (int)*r->out.count);
+ ndr->depth++;
+ for (cntr_info_1=0;cntr_info_1<*r->out.count;cntr_info_1++) {
+ char *idx_1=NULL;
+ if (asprintf(&idx_1, "[%d]", cntr_info_1) != -1) {
+ ndr_print_ptr(ndr, "info", r->out.info[cntr_info_1]);
+ ndr->depth++;
+ if (r->out.info[cntr_info_1]) {
+ ndr_print_set_switch_value(ndr, r->out.info[cntr_info_1], r->in.level);
+ ndr_print_spoolss_JobInfo(ndr, "info", r->out.info[cntr_info_1]);
}
+ ndr->depth--;
+ free(idx_1);
}
- ndr->depth--;
}
ndr->depth--;
+ ndr->depth--;
ndr_print_ptr(ndr, "needed", r->out.needed);
ndr->depth++;
ndr_print_uint32(ndr, "needed", *r->out.needed);
ndr->depth--;
ndr_print_ptr(ndr, "info", r->out.info);
ndr->depth++;
- if (r->out.info) {
- ndr->print(ndr, "%s: ARRAY(%d)", "info", (int)*r->out.count);
- ndr->depth++;
- for (cntr_info_1=0;cntr_info_1<*r->out.count;cntr_info_1++) {
- char *idx_1=NULL;
- if (asprintf(&idx_1, "[%d]", cntr_info_1) != -1) {
- ndr_print_set_switch_value(ndr, &r->out.info[cntr_info_1], r->in.level);
- ndr_print_spoolss_DriverInfo(ndr, "info", &r->out.info[cntr_info_1]);
- free(idx_1);
+ ndr->print(ndr, "%s: ARRAY(%d)", "info", (int)*r->out.count);
+ ndr->depth++;
+ for (cntr_info_1=0;cntr_info_1<*r->out.count;cntr_info_1++) {
+ char *idx_1=NULL;
+ if (asprintf(&idx_1, "[%d]", cntr_info_1) != -1) {
+ ndr_print_ptr(ndr, "info", r->out.info[cntr_info_1]);
+ ndr->depth++;
+ if (r->out.info[cntr_info_1]) {
+ ndr_print_set_switch_value(ndr, r->out.info[cntr_info_1], r->in.level);
+ ndr_print_spoolss_DriverInfo(ndr, "info", r->out.info[cntr_info_1]);
}
+ ndr->depth--;
+ free(idx_1);
}
- ndr->depth--;
}
ndr->depth--;
+ ndr->depth--;
ndr_print_ptr(ndr, "needed", r->out.needed);
ndr->depth++;
ndr_print_uint32(ndr, "needed", *r->out.needed);
ndr->depth--;
ndr_print_ptr(ndr, "info", r->out.info);
ndr->depth++;
- if (r->out.info) {
- ndr->print(ndr, "%s: ARRAY(%d)", "info", (int)*r->out.count);
- ndr->depth++;
- for (cntr_info_1=0;cntr_info_1<*r->out.count;cntr_info_1++) {
- char *idx_1=NULL;
- if (asprintf(&idx_1, "[%d]", cntr_info_1) != -1) {
- ndr_print_set_switch_value(ndr, &r->out.info[cntr_info_1], r->in.level);
- ndr_print_spoolss_PrintProcessorInfo(ndr, "info", &r->out.info[cntr_info_1]);
- free(idx_1);
+ ndr->print(ndr, "%s: ARRAY(%d)", "info", (int)*r->out.count);
+ ndr->depth++;
+ for (cntr_info_1=0;cntr_info_1<*r->out.count;cntr_info_1++) {
+ char *idx_1=NULL;
+ if (asprintf(&idx_1, "[%d]", cntr_info_1) != -1) {
+ ndr_print_ptr(ndr, "info", r->out.info[cntr_info_1]);
+ ndr->depth++;
+ if (r->out.info[cntr_info_1]) {
+ ndr_print_set_switch_value(ndr, r->out.info[cntr_info_1], r->in.level);
+ ndr_print_spoolss_PrintProcessorInfo(ndr, "info", r->out.info[cntr_info_1]);
}
+ ndr->depth--;
+ free(idx_1);
}
- ndr->depth--;
}
ndr->depth--;
+ ndr->depth--;
ndr_print_ptr(ndr, "needed", r->out.needed);
ndr->depth++;
ndr_print_uint32(ndr, "needed", *r->out.needed);
ndr->depth--;
ndr_print_ptr(ndr, "info", r->out.info);
ndr->depth++;
- if (r->out.info) {
- ndr->print(ndr, "%s: ARRAY(%d)", "info", (int)*r->out.count);
- ndr->depth++;
- for (cntr_info_1=0;cntr_info_1<*r->out.count;cntr_info_1++) {
- char *idx_1=NULL;
- if (asprintf(&idx_1, "[%d]", cntr_info_1) != -1) {
- ndr_print_set_switch_value(ndr, &r->out.info[cntr_info_1], r->in.level);
- ndr_print_spoolss_FormInfo(ndr, "info", &r->out.info[cntr_info_1]);
- free(idx_1);
+ ndr->print(ndr, "%s: ARRAY(%d)", "info", (int)*r->out.count);
+ ndr->depth++;
+ for (cntr_info_1=0;cntr_info_1<*r->out.count;cntr_info_1++) {
+ char *idx_1=NULL;
+ if (asprintf(&idx_1, "[%d]", cntr_info_1) != -1) {
+ ndr_print_ptr(ndr, "info", r->out.info[cntr_info_1]);
+ ndr->depth++;
+ if (r->out.info[cntr_info_1]) {
+ ndr_print_set_switch_value(ndr, r->out.info[cntr_info_1], r->in.level);
+ ndr_print_spoolss_FormInfo(ndr, "info", r->out.info[cntr_info_1]);
}
+ ndr->depth--;
+ free(idx_1);
}
- ndr->depth--;
}
ndr->depth--;
+ ndr->depth--;
ndr_print_ptr(ndr, "needed", r->out.needed);
ndr->depth++;
ndr_print_uint32(ndr, "needed", *r->out.needed);
ndr->depth--;
ndr_print_ptr(ndr, "info", r->out.info);
ndr->depth++;
- if (r->out.info) {
- ndr->print(ndr, "%s: ARRAY(%d)", "info", (int)*r->out.count);
- ndr->depth++;
- for (cntr_info_1=0;cntr_info_1<*r->out.count;cntr_info_1++) {
- char *idx_1=NULL;
- if (asprintf(&idx_1, "[%d]", cntr_info_1) != -1) {
- ndr_print_set_switch_value(ndr, &r->out.info[cntr_info_1], r->in.level);
- ndr_print_spoolss_PortInfo(ndr, "info", &r->out.info[cntr_info_1]);
- free(idx_1);
+ ndr->print(ndr, "%s: ARRAY(%d)", "info", (int)*r->out.count);
+ ndr->depth++;
+ for (cntr_info_1=0;cntr_info_1<*r->out.count;cntr_info_1++) {
+ char *idx_1=NULL;
+ if (asprintf(&idx_1, "[%d]", cntr_info_1) != -1) {
+ ndr_print_ptr(ndr, "info", r->out.info[cntr_info_1]);
+ ndr->depth++;
+ if (r->out.info[cntr_info_1]) {
+ ndr_print_set_switch_value(ndr, r->out.info[cntr_info_1], r->in.level);
+ ndr_print_spoolss_PortInfo(ndr, "info", r->out.info[cntr_info_1]);
}
+ ndr->depth--;
+ free(idx_1);
}
- ndr->depth--;
}
ndr->depth--;
+ ndr->depth--;
ndr_print_ptr(ndr, "needed", r->out.needed);
ndr->depth++;
ndr_print_uint32(ndr, "needed", *r->out.needed);
ndr->depth--;
ndr_print_ptr(ndr, "info", r->out.info);
ndr->depth++;
- if (r->out.info) {
- ndr->print(ndr, "%s: ARRAY(%d)", "info", (int)*r->out.count);
- ndr->depth++;
- for (cntr_info_1=0;cntr_info_1<*r->out.count;cntr_info_1++) {
- char *idx_1=NULL;
- if (asprintf(&idx_1, "[%d]", cntr_info_1) != -1) {
- ndr_print_set_switch_value(ndr, &r->out.info[cntr_info_1], r->in.level);
- ndr_print_spoolss_MonitorInfo(ndr, "info", &r->out.info[cntr_info_1]);
- free(idx_1);
+ ndr->print(ndr, "%s: ARRAY(%d)", "info", (int)*r->out.count);
+ ndr->depth++;
+ for (cntr_info_1=0;cntr_info_1<*r->out.count;cntr_info_1++) {
+ char *idx_1=NULL;
+ if (asprintf(&idx_1, "[%d]", cntr_info_1) != -1) {
+ ndr_print_ptr(ndr, "info", r->out.info[cntr_info_1]);
+ ndr->depth++;
+ if (r->out.info[cntr_info_1]) {
+ ndr_print_set_switch_value(ndr, r->out.info[cntr_info_1], r->in.level);
+ ndr_print_spoolss_MonitorInfo(ndr, "info", r->out.info[cntr_info_1]);
}
+ ndr->depth--;
+ free(idx_1);
}
- ndr->depth--;
}
ndr->depth--;
+ ndr->depth--;
ndr_print_ptr(ndr, "needed", r->out.needed);
ndr->depth++;
ndr_print_uint32(ndr, "needed", *r->out.needed);
struct {
uint32_t *count;/* [ref] */
- union spoolss_PrinterInfo *info;/* [unique,switch_is(level),size_is(*count)] */
+ union spoolss_PrinterInfo **info;/* [ref,switch_is(level),size_is(*count)] */
uint32_t *needed;/* [ref] */
WERROR result;
} out;
struct {
uint32_t *count;/* [ref] */
- union spoolss_JobInfo *info;/* [unique,switch_is(level),size_is(*count)] */
+ union spoolss_JobInfo **info;/* [ref,switch_is(level),size_is(*count)] */
uint32_t *needed;/* [ref] */
WERROR result;
} out;
struct {
uint32_t *count;/* [ref] */
- union spoolss_DriverInfo *info;/* [unique,switch_is(level),size_is(*count)] */
+ union spoolss_DriverInfo **info;/* [ref,switch_is(level),size_is(*count)] */
uint32_t *needed;/* [ref] */
WERROR result;
} out;
struct {
uint32_t *count;/* [ref] */
- union spoolss_PrintProcessorInfo *info;/* [unique,switch_is(level),size_is(*count)] */
+ union spoolss_PrintProcessorInfo **info;/* [ref,switch_is(level),size_is(*count)] */
uint32_t *needed;/* [ref] */
WERROR result;
} out;
struct {
uint32_t *count;/* [ref] */
- union spoolss_FormInfo *info;/* [unique,switch_is(level),size_is(*count)] */
+ union spoolss_FormInfo **info;/* [ref,switch_is(level),size_is(*count)] */
uint32_t *needed;/* [ref] */
WERROR result;
} out;
struct {
uint32_t *count;/* [ref] */
- union spoolss_PortInfo *info;/* [unique,switch_is(level),size_is(*count)] */
+ union spoolss_PortInfo **info;/* [ref,switch_is(level),size_is(*count)] */
uint32_t *needed;/* [ref] */
WERROR result;
} out;
struct {
uint32_t *count;/* [ref] */
- union spoolss_MonitorInfo *info;/* [unique,switch_is(level),size_is(*count)] */
+ union spoolss_MonitorInfo **info;/* [ref,switch_is(level),size_is(*count)] */
uint32_t *needed;/* [ref] */
WERROR result;
} out;
return false;
}
- r->out.info = talloc_zero_array(r, union spoolss_PrinterInfo, *r->out.count);
+ r->out.info = talloc_zero_array(r, union spoolss_PrinterInfo *, *r->out.count);
if (r->out.info == NULL) {
talloc_free(r);
return false;
return false;
}
- r->out.info = talloc_zero_array(r, union spoolss_JobInfo, *r->out.count);
+ r->out.info = talloc_zero_array(r, union spoolss_JobInfo *, *r->out.count);
if (r->out.info == NULL) {
talloc_free(r);
return false;
return false;
}
- r->out.info = talloc_zero_array(r, union spoolss_DriverInfo, *r->out.count);
+ r->out.info = talloc_zero_array(r, union spoolss_DriverInfo *, *r->out.count);
if (r->out.info == NULL) {
talloc_free(r);
return false;
return false;
}
- r->out.info = talloc_zero_array(r, union spoolss_PrintProcessorInfo, *r->out.count);
+ r->out.info = talloc_zero_array(r, union spoolss_PrintProcessorInfo *, *r->out.count);
if (r->out.info == NULL) {
talloc_free(r);
return false;
return false;
}
- r->out.info = talloc_zero_array(r, union spoolss_FormInfo, *r->out.count);
+ r->out.info = talloc_zero_array(r, union spoolss_FormInfo *, *r->out.count);
if (r->out.info == NULL) {
talloc_free(r);
return false;
return false;
}
- r->out.info = talloc_zero_array(r, union spoolss_PortInfo, *r->out.count);
+ r->out.info = talloc_zero_array(r, union spoolss_PortInfo *, *r->out.count);
if (r->out.info == NULL) {
talloc_free(r);
return false;
return false;
}
- r->out.info = talloc_zero_array(r, union spoolss_MonitorInfo, *r->out.count);
+ r->out.info = talloc_zero_array(r, union spoolss_MonitorInfo *, *r->out.count);
if (r->out.info == NULL) {
talloc_free(r);
return false;
return NT_STATUS_NO_MEMORY;
}
- r->out.info = talloc_zero_array(mem_ctx, union spoolss_PrinterInfo, *r->out.count);
+ r->out.info = talloc_zero_array(mem_ctx, union spoolss_PrinterInfo *, *r->out.count);
if (r->out.info == NULL) {
return NT_STATUS_NO_MEMORY;
}
return NT_STATUS_NO_MEMORY;
}
- r->out.info = talloc_zero_array(mem_ctx, union spoolss_JobInfo, *r->out.count);
+ r->out.info = talloc_zero_array(mem_ctx, union spoolss_JobInfo *, *r->out.count);
if (r->out.info == NULL) {
return NT_STATUS_NO_MEMORY;
}
return NT_STATUS_NO_MEMORY;
}
- r->out.info = talloc_zero_array(mem_ctx, union spoolss_DriverInfo, *r->out.count);
+ r->out.info = talloc_zero_array(mem_ctx, union spoolss_DriverInfo *, *r->out.count);
if (r->out.info == NULL) {
return NT_STATUS_NO_MEMORY;
}
return NT_STATUS_NO_MEMORY;
}
- r->out.info = talloc_zero_array(mem_ctx, union spoolss_PrintProcessorInfo, *r->out.count);
+ r->out.info = talloc_zero_array(mem_ctx, union spoolss_PrintProcessorInfo *, *r->out.count);
if (r->out.info == NULL) {
return NT_STATUS_NO_MEMORY;
}
return NT_STATUS_NO_MEMORY;
}
- r->out.info = talloc_zero_array(mem_ctx, union spoolss_FormInfo, *r->out.count);
+ r->out.info = talloc_zero_array(mem_ctx, union spoolss_FormInfo *, *r->out.count);
if (r->out.info == NULL) {
return NT_STATUS_NO_MEMORY;
}
return NT_STATUS_NO_MEMORY;
}
- r->out.info = talloc_zero_array(mem_ctx, union spoolss_PortInfo, *r->out.count);
+ r->out.info = talloc_zero_array(mem_ctx, union spoolss_PortInfo *, *r->out.count);
if (r->out.info == NULL) {
return NT_STATUS_NO_MEMORY;
}
return NT_STATUS_NO_MEMORY;
}
- r->out.info = talloc_zero_array(mem_ctx, union spoolss_MonitorInfo, *r->out.count);
+ r->out.info = talloc_zero_array(mem_ctx, union spoolss_MonitorInfo *, *r->out.count);
if (r->out.info == NULL) {
return NT_STATUS_NO_MEMORY;
}