1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.1.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<TITLE>PM_GetAutoExit</TITLE> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">PM_GetAutoExit <IMG src="../../image/TWL.gif" width="24" height="12" border="0" align="middle"></H1> 12<H2>Syntax</H2> 13<DL> 14 <DD> 15 <PRE><CODE>#include <twl/spi.h></CODE></PRE> 16 <PRE><CODE>BOOL PM_GetAutoExit( void ); 17</CODE></PRE> 18</DL> 19<H2>Arguments</H2> 20<P>None.</P> 21<H2>Return Values</H2> 22<P>Settings for automatic termination result when <CODE>TRUE</CODE>.<BR> For <CODE>FALSE</CODE>, termination is held off until the user calls the <A href="PM_ReadyToExit.html"><CODE>PM_ReadyToExit</CODE></A> function.</P> 23<H2>Description</H2> 24<P>Gets the setting value for whether to proceed automatically to hardware reset or power off after exit processing has finished.</P> 25<P>Gets how the user set the system using the <A href="PM_SetAutoExit.html"><CODE>PM_SetAutoExit</CODE></A> function. For more information, see the <A href="PM_SetAutoExit.html"><CODE>PM_SetAutoExit</CODE></A> function.<br><BR></P> 26<P>Before you use this function, initialize the PM library with the <A href="PM_Init.html"><CODE>PM_Init</CODE></A> function. The <code>PM_Init</code> function has to be called only once. Also, when you call the <a href="../../os/init/OS_Init.html"><code>OS_Init</code></a> function, there is no need to call the <a href="PM_Init.html"><code>PM_Init</code></a> function separately because it is called from within the <code>OS_Init</code> function.)</P> 27 28<H2>See Also</H2> 29<P><A href="PM_SetAutoExit.html"><CODE>PM_SetAutoExit</CODE></A><BR><A href="PM_ReadyToExit.html"><CODE>PM_ReadyToExit</CODE></A><BR></P> 30<H2>Revision History</H2> 31<P>2008/10/23 Initial version.</P> 32<hr><p>CONFIDENTIAL</p></body> 33</HTML>