#1 Burning Software

It is currently Wed Dec 18, 2024 7:44 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Set Buffer Size failed (UDF2_VolumeSeekRead)
PostPosted: Wed Feb 19, 2014 7:41 am 
Offline

Joined: Wed Feb 19, 2014 7:01 am
Posts: 1
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.


Top
 Profile  
 
 Post subject: Re: Set Buffer Size failed (UDF2_VolumeSeekRead)
PostPosted: Fri Feb 28, 2014 9:51 am 
Offline

Joined: Thu Dec 13, 2007 8:44 am
Posts: 609
Hello!

We are checking this issue!!

Regards,

Dmitry


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group