I am trying to write a class drive so I studied the ddk docs and the sample
codes.However,i just cant understand how to determine the value of request
in function usbd_setup_vendor
the prototype is:
int usbd_setup_vendor( struct usbd_urb *urb,
_uint32 flags, _uint16 request,
_uint16 rtype, _uint16 value,
_uint16 index, void *addr,
_uint32 len );
I am trying to write a class drive so I studied the ddk docs and the
sample
codes.However,i just cant understand how to determine the value of request
in function usbd_setup_vendor
the prototype is:
int usbd_setup_vendor( struct usbd_urb *urb,
_uint32 flags, _uint16 request,
_uint16 rtype, _uint16 value,
_uint16 index, void *addr,
_uint32 len );