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>OSRestoreInterrupts</title> 10</head> 11 12<body> 13 14<h1>OSRestoreInterrupts</h1> 15 16 17<h2>C Specification</h2> 18 19<dl> 20<dd><pre><code>#include <revolution/os.h></code></pre> 21 </dd> 22<dd><pre><code>BOOL OSRestoreInterrupts (BOOL enable);</code></pre> 23 </dd> 24</dl> 25 26<h2>Arguments</h2> 27<TABLE border="1" cellpadding="3" cellspacing="0.1"> 28 <tr> 29<TD width="120" bgcolor="#ffffe8"><strong><em><code><STRONG><EM><CODE>enable</CODE></EM></STRONG></code></em></strong></TD> 30<TD width="520">Nonzero value to enable interrupts. This argument must be a return value from previously calling the <a href="OSDisableInterrupts.html"><code>OSDisableInterrupts</code></a>, <a href="OSEnableInterrupts.html"><code>OSEnableInterrupts</code></a>, or <code>OSRestoreInterrupts</code> functions.</TD> 31 </tr> 32</TABLE> 33<h2>Return Values</h2> 34 35<p>Nonzero value if interrupts were enabled. Zero if interrupts were disabled.</p> 36<H2>Description</H2> 37<P>Restores the previous interrupt level.</P> 38 39 40 41<h2>See Also</h2> 42 43<p><a href="../toc.html#Interrupt" target="contents">Interrupt Functions</a>, <code><a href="OSDisableInterrupts.html">OSDisableInterrupts</a></code>, <a href="OSEnableInterrupts.html"><code>OSEnableInterrupts</code></a></p> 44<H2>Revision History</H2> 45<P>2006/03/01 Initial version.</P> 46<hr> 47<P>CONFIDENTIAL</p> 48</BODY> 49</HTML>