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>DVDSetUserData</title>
10</head>
11
12<body>
13
14<h1>DVDSetUserData</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/dvd.h&gt;
19
20void DVDSetUserData(DVDCommandBlock* block, void* data);
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<TABLE class="arguments" border="1" >
25  <tr>
26<TH>block</TH>
27<TD>Command block.</TD>
28    </tr>
29  <tr>
30<TH>data</TH>
31<TD>Data to set.</TD>
32    </tr>
33</TABLE>
34
35<h2>Return Values</h2>
36<P>None.</P>
37
38<H2>Description</H2>
39<P>The <CODE>DVDCommandBlock</CODE> structure includes a member used for setting user-related optional data. This structure is useful when passing data to a callback function.</P>
40<P>The <CODE>DVDSetUserData</CODE> function is a macro that sets data to a member. To read out the data, use the <A href="DVDGetUserData.html"><CODE>DVDGetUserData</CODE></A> function.</P>
41
42<h2>See Also</h2>
43<p class="reference">
44<a href="DVDGetUserData.html">DVDGetUserData</a>
45</p>
46
47<H2>Revision History</H2>
48<P>
492006/03/01 Initial version.<BR>
50</P>
51
52<hr><p>CONFIDENTIAL</p></body>
53</html>
54