Hi,
I tried to change the buffer size in the function StarBurn_UDF2_VolumeSeekRead but got error response. The default dwBufferSize = 2048 * 32 * 20, after changed to 2048 * 32 * 128 in StarBurn_UDF2_VolumeSeekRead, then got the return code 87 (not 0).
Here is the function I used: m_pBuffer = (PUCHAR)HeapAlloc(GetProcessHeap(), 0, dwBufferSize); while(BytesCopied.QuadPart < FileSystemImageSize.QuadPart) { Rem.QuadPart = FileSystemImageSize.QuadPart - BytesCopied.QuadPart; if(Rem.QuadPart < dwBufferSize) dwBufferSize = (DWORD)Rem.QuadPart; lStatus = StarBurn_UDF2_VolumeSeekRead(m_pVolume, m_pBuffer, dwBufferSize / 2048, (ULONG)(BytesCopied.QuadPart / 2048));
May be I use a wrong value for the buffer size? I just want to try if this change can speed up the whole process.
|