Open Kogotoro opened 1 year ago
if (NT_SUCCESS(reset_pipe(devstub, info_pipe->PipeHandle))) reply_stub_req_data(devstub, hdr->base.seqnum, NULL, 0, FALSE); else reply_stub_req_err(devstub, USBIP_RET_SUBMIT, hdr->base.seqnum, -8);
but ..reset_pipe() returns TRUE(1) or FALSE(0), and NT_SUCCESS(0) = TRUE same as NTSUCCESS(1) = TRUE --?
but ..reset_pipe() returns TRUE(1) or FALSE(0), and NT_SUCCESS(0) = TRUE same as NTSUCCESS(1) = TRUE --?