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="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 9<title>WPADRegisterBLCWorkarea</title> 10</head> 11 12<body> 13 14<h1>WPADRegisterBLCWorkarea</h1> 15 16 17<h2>Syntax</h2> 18 19<dl> 20 <dd><pre><code>#include <revolution/wpadBalance.h> 21 22#define WPAD_BLCINT_WORK_LEN 307200 23 24void WPADRegisterBLCWorkarea( void *workarea );</CODE></pre> 25 </dd> 26</dl> 27 28<h2>Arguments</h2> 29<TABLE class="arguments" border="1"> 30 <TBODY> 31 <TR> 32 <TH>workarea</TH> 33 <TD>Work buffer required for sharing Wii Balance Board pairing information with the Japanese version of WiiFit. Be sure to configure a 32-byte aligned buffer with a size of at least <code>WPAD_BLCINT_WORK_LEN</code>.</TD> 34 </TR> 35 </TBODY> 36</TABLE> 37 38<h2>Return Values</h2> 39<p>None.</p> 40 41<H2>Description</H2> 42<P> 43Configures a work buffer in the library. The buffer is required for sharing Wii Balance Board pairing information with the Japanese version of WiiFit. Be sure to configure a 32-byte aligned buffer with a size of at least <code>WPAD_BLCINT_WORK_LEN</code>. The configured buffer is used during library initialization but not after initialization is complete. This buffer can thus be freed after the <a href="./WPADGetStatus.html"><code>WPADGetStatus</code></a> function has returned <code>WPAD_STATE_SETUP</code>. When freeing the buffer, always confirm that the return value of the <a href="./WPADGetStatus.html"><code>WPADGetStatus</code></a> function is <code>WPAD_STATE_SETUP</code>. 44</P> 45<p> 46This function only needs to be called for applications intended for Japan. Applications intended for markets other than Japan are not required to call this function. 47</p> 48 49<h2>See Also</h2> 50<p> 51<a href="./WPADGetStatus.html"><code>WPADGetStatus</code></a><br> 52</p> 53 54<H2>Revision History</H2> 55<p> 562008/08/27 Added a note regarding releasing the buffer.<br>2008/02/01 Initial version.<br> 57</p> 58<hr><p>CONFIDENTIAL</p></body> 59</html>