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>OS_IsCodecTwlMode</TITLE> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">OS_IsCodecTwlMode <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></H1> 12<H2>Syntax</H2> 13<DL> 14 <DD><CODE>#include <nitro/os.h></CODE><BR> <BR> <CODE>BOOL OS_IsCodecTwlMode( void );</CODE> 15</DL> 16<H2>Arguments</H2> 17<P>None.</P> 18<H2>Return Values</H2> 19<P><CODE>TRUE</CODE> indicates that the codec is running in TWL mode.</P> 20<P><CODE>FALSE</CODE> indicates that the application is running in some other mode (that is, in NITRO mode).</P> 21<P>This function is replaced with the constant <CODE>FALSE</CODE> when using a NITRO-only ROM.</P> 22<H2>Description</H2> 23<P>Determines whether the codec is running in TWL mode.</P> 24<P>This function checks the operating mode and ROM header, among others, when using a TWL/NITRO hybrid ROM or a TWL-only ROM, and then returns a value. However, when using a NITRO-only ROM, the function itself is replaced with <CODE>FALSE</CODE>.</P> 25<H2>See Also</H2> 26<P><A href="../consoleType/OS_GetConsoleType.html"><CODE>OS_GetConsoleType</CODE></A></P> 27<H2>Revision History</H2> 28<P>2008/10/08 Initial version.</P> 29<hr><p>CONFIDENTIAL</p></body> 30</HTML>