1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 9<title>DVDGetTransferredSize</title> 10</head> 11 12<body> 13 14<h1>DVDGetTransferredSize</h1> 15 16 17<h2>C Specification</h2> 18 19<dl> 20 <dd><pre><code>#include <revolution/dvd.h></code></pre> 21 </dd> 22<dd><pre><CODE>s32 DVDGetTransferredSize(<A href="DVDFileInfo.html">DVDFileInfo</A>* fileinfo);</CODE></pre> 23 </dd> 24</dl> 25 26<h2>Arguments</h2> 27<TABLE border="1" cellpadding="3" cellspacing="0.1"> 28 <tr> 29<TD width="120" bgcolor="#ffffe8"><em><strong><code>fileinfo</code></strong></em></TD> 30<TD width="520">Read request for the information you want to know.</TD> 31 </tr> 32</TABLE> 33<h2>Return Values</h2> 34 35<P>Transfer size.</P> 36<H2>Description</H2> 37<P>The <code>DVDGetTransferredSize</code> function returns how many bytes have already transferred for the read request that <STRONG><em><code>fileinfo</code></em></STRONG> specifies.</P> 38<P>You can issue this function to a read request that is not in a busy state. For example, if a read request that is still in the DVD queue is issued, zero is returned. If the read command is already completed, the read length is returned. If the read command is canceled, the function returns the length that has already been read (i.e., this portion of the data can be used).</P> 39<h2>See Also</h2> 40 41<p><A href="DVDReadAsync.html"><CODE>DVDReadAsync</CODE></A></p> 42<H2>Revision History</H2> 43<P>03/01/2006 Initial version.</P> 44</body> 45</html> 46