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>DVDCommandBlock</title> 10</head> 11 12<body> 13 14<h1>DVDCommandBlock</h1> 15 16<h2>C Specification</h2> 17 18<dl> 19 <dd><pre><code>#include <revolution/dvd.h></code></pre> 20 </dd> 21 <dd> 22<pre><CODE>typedef struct DVDCommandBlock DVDCommandBlock; 23 24struct DVDCommandBlock 25{ 26 ............ 27 void* userData; 28};</CODE></pre> 29(All structure members are not listed. For a complete list, look at <CODE>dvd.h</CODE>. Do not directly access these members. They're subject to change.) Please use the <a href="DVDGetUserData.html"><code>DVDGetUserData</code></a> and <a href="DVDSetUserData.html"><code>DVDSetUserData</code></a>function to access the userData structure member.)</dd></dl> 30 31<h2>Description</h2> 32 33<P>The <code>DVDCommandBlock</code> structure is used for the DVD library to manage certain data. One type is queue management. All DVD commands can be entered in a queue (waiting for previous requests to complete is unnecessary). This queue feature is implemented by chaining <code>DVDCommandBlock</code> structures. For this reason, If a <code>DVDCommandBlock</code> structure is in use, another DVD request that uses this structure can't be issued.</P> 34<P>If a DVD request using a <code>DVDCommandBlock</code> structure completes, this <code>DVDCommandBlock</code> structure can be used. The structure can be used in the callback function for the request that used the structure. Because the DVD library ended the request when the callback function was called, the structure is no longer needed.</P> 35<h2>See Also</h2> 36 37<p><a href="DVDFileInfo.html"><code>DVDFileInfo</code></a><BR> <a href="DVDGetUserData.html"><code>DVDGetUserData</code></a><BR> <a href="DVDSetUserData.html"><code>DVDSetUserData</code></a></p> 38<H2>Revision History</H2> 39<P>03/01/2006 Initial version.</P> 40</body> 41</html> 42