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 http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<title>NANDSetUserData</title> 9</head> 10 11<body> 12 13<h1>NANDSetUserData</h1> 14 15<h2>C Specification</h2> 16<dl><dd><pre><code> 17#include <revolution/nand.h> 18 19void NANDSetUserData( NANDCommandBlock *block, void *data); 20</code></pre></dd></dl> 21 22<h2>Arguments</h2> 23<p> 24<TABLE border="1" > 25 <tr> 26<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>block</EM></STRONG></CODE></TD> 27<TD width="520">Pointer to the command block</TD> 28 </tr> 29 <tr> 30<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>data</EM></STRONG></CODE></TD> 31<TD width="520">Pointer to the user data being configured</TD> 32 </tr> 33</TABLE> 34</p> 35 36<h2>Return Values</h2> 37<p> 38None. 39</p> 40 41<h2>Description</h2> 42<p> 43Sets user data to the NANDCommandBlock structure. This is useful when passing data to a callback function. User data is obtained with the NANDGetUserData function. 44</p> 45 46<h2>See Also</h2> 47<p> 48<code><a href="./NANDGetUserData.html">NANDGetUserData</a></code>, <code><a href="./NANDCommandBlock.html">NANDCommandBlock</a></code> 49</p> 50 51<h2>Revision History</h2> 52<p>06/16/2006 Initial version.</p> 53 54</body> 55</html> 56