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=utf-8"> 5<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<TITLE>OSGetReturnCode</TITLE> 9</HEAD> 10<BODY> 11<H1>OSGetReturnCode</H1> 12<H2>Syntax</H2> 13<DL> 14 <DD> 15 <PRE><CODE>#include <revolution/discnand.h></CODE></PRE> 16 <DD> 17 <PRE><CODE>u32 OSGetReturnCode(void);</CODE></PRE> 18</DL> 19<H2>Arguments</H2> 20<P>None.</P> 21<H2>Return Values</H2> 22<P>Returns the return code.</P> 23<H2>Description</H2> 24<P>When an application has been started by an installer launched by <A href="OSLaunchInstaller.html"><CODE>OSLaunchInstaller</CODE></A>, this function returns the return code passed from the installer. </P> 25<UL> 26<LI>If launched from the System menu, the code is 0.</LI> 27</UL> 28 29<H2>See Also</H2> 30<P><CODE><A href="OSLaunchInstaller.html">OSLaunchInstaller</A><BR></CODE></P> 31<H2>Revision History</H2> 32<P> 332009/10/16 Changed the <CODE>include</CODE> file.<BR> 2008/11/18 Revised the content for the Disc Spin-Off Channel package.<BR> 2007/07/23 Revised the content for the Installer package.<BR>2007/04/20 Initial version. 34</P> 35 36<hr><p>CONFIDENTIAL</p></body> 37</HTML> 38