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_EndDataSharing</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">WM_EndDataSharing <img src="../../image/NTR.gif"><img src="../../image/TWL.gif"></H1> 15<h2>Syntax</h2> 16<dl> 17 <dd><PRE><CODE>#include <nitro/wm.h> 18 19<A href="WMErrCode.html">WMErrCode</A> WM_EndDataSharing( WMDataSharingInfo* dsInfo ); 20</CODE></PRE></dd> 21</dl> 22 23<h2>Arguments</h2> 24<table border="1" width="100%"> 25 <tbody> 26 <TR> 27<TD width="200"><CODE>dsInfo</CODE></TD> 28<TD width="800">Pointer to the data sharing information structure. Specify the structure using the <code><a href="WM_StartDataSharing.html">WM_StartDataSharing</a></code> function.</TD> 29 </TR> 30 </tbody> 31</table> 32 33<h2>Return Values</h2> 34<p>Returns the results of the <A href="WMErrCode.html"><CODE>WMErrCode</CODE></A> enumerated type process.</p> 35 36<H2>Description</H2> 37<P> 38Ends data sharing. This function can be run in the <a href="WM_StartDataSharing.html"><CODE>WM_StartDataSharing</CODE></a> function when data sharing has begun. This is a synchronous function that promptly returns the <code>WM_ERRCODE_SUCCESS</code> return value when the process succeeds.<br />Call this function immediately before <a href="WM_EndMP.html"><code>WM_EndMP</code></a>. This function does not perform the process that synchronizes parent and child and then ends. Run as needed on parent and child respectively after getting concurrence of terminating on parent and child at the application level. For parents, it is possible to share data in parallel for multiple groups. However, you must call this function for each group and stop each group separately each time. 39</P> 40 41<h2>See Also</h2> 42<P><a href="WM_StartDataSharing.html"><code>WM_StartDataSharing</code></a><BR> <a href="WM_StepDataSharing.html"><code>WM_StepDataSharing</code></a></P> 43 44<H2>Revision History</H2> 45<P> 462004/10/25 Added to <B>Description</B>.<br /> 2004/10/22 Changed return value types.<br /> 2004/08/11 Initial version. 47</P> 48<hr><p>CONFIDENTIAL</p></body> 49</html> 50