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 8.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>MB_SetPowerSaveMode</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">MB_SetPowerSaveMode <IMG src="../../image/NTR.gif" width="24" height="12" border="0" align=middle><IMG src="../../image/TWL.gif" width="24" height="12" border="0" align=middle></h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <nitro/mb.h></CODE><BR> 20 <BR> 21 <CODE>void MB_SetPowerSaveMode(BOOL enable);</CODE><br> 22 <br> 23 </dd> 24</dl> 25<h2>Arguments</h2> 26<TABLE border="1" width="100%"> 27 <TBODY> 28 <TR> 29 <TD width="13%"><EM><STRONG>enable</STRONG></EM></TD> 30 <TD width="87%">This is set to <CODE>TRUE</CODE> to enable power save mode; set to <CODE>FALSE</CODE> to disable it. 31 This setting is enabled by default.</TD> 32 </TR> 33 </TBODY> 34</TABLE> 35<h2>Return Values</h2> 36<p>None.</p> 37 38<H2>Description</H2> 39<P>Specifies the communications power save mode that is used in the MB library. The default setting is 'enabled.' This function is an option that provides more stable operation in scenes where power consumption is not an important issue. An ordinary game application should not use this unless its operating environment is one that guarantees a connection to a power source.<br>This function can be called only after the <CODE><a href="../common/MB_Init.html">MB_Init</a></CODE> function and before the <CODE><A href="MB_StartParent.html">MB_StartParent</A></CODE> function. <br> 40</p> 41<h2>See Also</h2> 42<p><CODE><A href="../common/MB_Init.html">MB_Init</A>, <A href="MB_StartParent.html">MB_StartParent</A></CODE></P> 43<H2>Revision History</H2> 44<P> 452005/04/11 Initial version. 46</P> 47<hr><p>CONFIDENTIAL</p></body> 48</html> 49