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.2.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>WM_Finish</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">WM_Finish&nbsp;<img src="../../image/NTR.gif"><img src="../../image/TWL.gif"></H1>
15<h2>Syntax</h2>
16<dl>
17  <dd><PRE><CODE>#include &lt;nitro/wm.h&gt;
18
19<A href="WMErrCode.html">WMErrCode</A> WM_Finish( void );
20</CODE></PRE></dd>
21</dl>
22
23<h2>Arguments</h2>
24<P>None.</P>
25
26<h2>Return Values</h2>
27<p>Returns the results of the <CODE><A href="WMErrCode.html">WMErrCode</A></CODE> enumerated type process.</p>
28
29<H2>Description</H2>
30<P>
31Closes the WM library Unlike the <a href="WM_End.html"><code>WM_End</code></a> function, this synchronous function processes only on the ARM9 side. If the wireless hardware was in use and you want to close the WM library, you must first call <a href="WM_PowerOff.html"><code>WM_PowerOff</code></a> and <a href="WM_Disable.html"><code>WM_Disable</code></a> to stop the wireless hardware. This function is called automatically after the callback for <a href="WM_End.html"><code>WM_End</code></a> indicates successful completion.
32</P>
33
34<h2>See Also</h2>
35<p><a href="WM_Init.html"><code>WM_Init</code></a>, <a href="WM_Enable.html"><code>WM_Enable</code></a>, <a href="WM_PowerOn.html"><code>WM_PowerOn</code></a>, <a href="WM_PowerOff.html"><code>WM_PowerOff</code></a>, <a href="WM_Disable.html"><code>WM_Disable</code></a>, <a href="WM_Initialize.html"><code>WM_Initialize</code></a>, <a href="WM_End.html"><code>WM_End</code></a></p>
36
37<H2>Revision History</H2>
38<P>
392004/10/22 Changed return value types.<br /> 2004/09/11 Initial version.
40</P>
41<hr><p>CONFIDENTIAL</p></body>
42</html>
43