mountmgr: Return STATUS_BUFFER_OVERFLOW if an insufficient buffer is passed to IOCTL_MOUNTMGR_QUERY_DHCP_REQUEST_PARAMS.
STATUS_MORE_ENTRIES is used for directory enumeration APIs, and signals that a continuation will be returned on the next call. Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a200c47c32
commit
33ed41950d
|
@ -319,7 +319,7 @@ static void WINAPI query_dhcp_request_params( TP_CALLBACK_INSTANCE *instance, vo
|
|||
{
|
||||
if (offset >= sizeof(query->size)) query->size = offset;
|
||||
offset = sizeof(query->size);
|
||||
irp->IoStatus.u.Status = STATUS_MORE_ENTRIES;
|
||||
irp->IoStatus.u.Status = STATUS_BUFFER_OVERFLOW;
|
||||
goto err;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue