Technical Document #87


Technical Document #87

Doc ID: 87
Product: WinDriver
Version:  --

How do I setup the transfer buffer to send a null data packet through the control pipe?

You should set the pBuffer parameter of the WDU_Transfer() function to NULL and set the dwBufferSize parameter to 0.

[In version 5.22 and earlier, set the pBuffer field of the WD_USB_TRANSFER structure, used in the call to WD_UsbTransfer(), to NULL, and set the dwBytes field of this structure to 0.]

Back to Top
  |  Corporate Index  |