Claiming rx interface error

Hi!
I am writing an interface between C and Windows for USRP. For this i
need
two separate usb_dev_handle objects one for command interface (udh) and
one
for rx interface (bulk_udh) however, whenever I try to claim the rx
interface by calling the usb_claim_interface function it results in an
error, the error code is -22 saying “The parameter is invalid”. What
could
be the possible problem? Please help.

Thanks