Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Nero SDK Discussion Forum


Commercial message



Nero SDK Discussion Forum Discuss, NeroAPI IOCallback at International Chat: Software related forum; Hi, I have a problem with CNeroDataCallback::IOCallback(BYTE *pBuffer, DWORD dwLen): when I write less than the specified dwLen bytes into pBuffer, Nero ignores the returned value and writes the full dwLen amount of bytes on CD/DVD. Maybe this was hard to understand, so I'll give an


Reply
 
Thread Tools
Old 13-11-2006   #1 (permalink)
New on Forum
 
Join Date: Oct 2006
Posts: 2
NeroAPI IOCallback

Hi,

I have a problem with CNeroDataCallback::IOCallback(BYTE *pBuffer, DWORD dwLen): when I write less than the specified dwLen bytes into pBuffer, Nero ignores the returned value and writes the full dwLen amount of bytes on CD/DVD.

Maybe this was hard to understand, so I'll give an example here...
1. in IOCallback, I get called with dwLen = 65536 bytes.
2. I only write 8192 bytes to pBuffer and return with "8192".
3. Now, Nero API should write only 8192 bytes (as specified in documentation).

However, Nero API writes the full pBuffer 65536 bytes to DVD, which is not correct (at least in my opinion, after reading the PDF specification). Am I wrong?
Johannes Schmid is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NeroAPI in visual C++ 6.0 freemantaylor Newbie Forum 2 19-11-2004 19:07
NEROAPI x DELPHI 7.0 geovaniweber Nero SDK Discussion Forum 0 29-10-2004 22:30
NEROAPI x DELPHI 7.0 geovaniweber Nero SDK Discussion Forum 1 20-10-2004 02:43
NeroAPI - ThreadSafe? FxProgrm Nero SDK Discussion Forum 1 13-10-2003 08:53
how to get name of CD using NeroAPI ? zhangzib Nero SDK Discussion Forum 3 31-07-2003 11:04


Content Relevant URLs by vBSEO 3.1.0