Other odd thing. Isn't the buflen capped at 65536 bytes?
buflen = mTotalBytes - bytesWritten; if (buflen > 65536) buflen = 65536;
...
char buf[buflen]; DWORD bytesRead = 0; if (!ReadFile(mDeviceHandle, buf, sizeof(buf), &bytesRead, NULL))
Why is it that from the log each read is 17.5MB? Is this a logging artifact or is the stand-alone code slighltly different?
Other odd thing. Isn't the buflen capped at 65536 bytes?
buflen = mTotalBytes - bytesWritten;
if (buflen > 65536) buflen = 65536;
...
char buf[buflen]; mDeviceHandle, buf, sizeof(buf), &bytesRead, NULL))
DWORD bytesRead = 0;
if (!ReadFile(
Why is it that from the log each read is 17.5MB? Is this a logging artifact or is the stand-alone code slighltly different?