if (!smb_io_pol_hnd("printer handle",&(r_u->handle),ps,depth))
return False;
- if (!prs_werror("status code", ps, depth, &(r_u->status)))
+ if (!prs_werror("status", ps, depth, &(r_u->status)))
return False;
return True;
if (!smb_io_pol_hnd("printer handle",&(r_u->handle),ps,depth))
return False;
- if (!prs_werror("status code", ps, depth, &(r_u->status)))
+ if (!prs_werror("status", ps, depth, &(r_u->status)))
return False;
return True;
}
buffer->string_at_end -= ((*devmode)->size + (*devmode)->driverextra);
-
+
+ /* mz: we have to align the device mode for VISTA */
+ if (buffer->string_at_end % 4) {
+ buffer->string_at_end += 4 - (buffer->string_at_end % 4);
+ }
+
if(!prs_set_offset(ps, buffer->string_at_end))
return False;
bool spoolss_io_q_getprintprocessordirectory(const char *desc, SPOOL_Q_GETPRINTPROCESSORDIRECTORY *q_u, prs_struct *ps, int depth)
{
- uint32 ptr;
+ uint32 ptr = 0;
prs_debug(ps, depth, desc, "spoolss_io_q_getprintprocessordirectory");
depth++;
return True;
}
-