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 8.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<title>WMStartDCFCallback</title>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</head>
10<body>
11<h1 align="left">WMStartDCFCallback</h1>
12<h2>Definition</h2>
13<dl>
14  <dd>
15<CODE>#include &lt;nitro/wm.h&gt;</CODE><BR>
16  <PRE><CODE>typedef struct WMStartDCFCallback
17{
18    u16         apiid;
19    u16           errcode;
20    u16         state;
21    u8            reserved[2];
22    WMDcfRecvBuf* recvBuf;
23} WMStartDCFCallback;</CODE></PRE>
24  </dd>
25</dl><h2>Elements</h2>
26<TABLE border="1" width="100%">
27  <TBODY>
28    <TR>
29      <TD width="200"><code>apiid</code></TD>
30      <TD width="800">ID of the API that acts as the source for the callback generation. It is equivalent to the <A href="WMApiid.html"><code>WMApiid</code></A> enumerated type.
31      Here, it is fixed as <CODE>WM_APIID_START_DCF</CODE>
32      </TD>
33    </TR>
34    <TR>
35      <TD width="200"><code>errcode</code></TD>
36      <TD width="800">Result of the asynchronous process. It is equivalent to the <A href="WMErrCode.html"><code>WMErrCode</code></A> enumerated type.</TD>
37    </TR>
38    <TR>
39      <TD width="200"><code>state</code></TD>
40      <TD width="800">If <CODE>errcode</CODE> is <CODE>WM_ERRCODE_SUCCESS</CODE>, the <A href="WMStateCode.html">WM Cause Code</A> generated by the callback is stored. There are two causes:<BR>
41      <CODE>WM_STATECODE_DCF_START, WM_STATECODE_DCF_IND</CODE>.
42      </TD>
43    </TR>
44    <TR>
45      <TD width="200"><code>recvBuf</code></TD>
46      <TD width="800">If <CODE>state</CODE> is <CODE>WM_STATECODE_DCF_IND</CODE>, a pointer to the receive data storage destination will be stored.</TD>
47    </TR>
48  </TBODY>
49</TABLE>
50<H2>Description</H2>
51<P>
52This structure is passed to the callback function for the <A href="WM_StartDCF.html"><CODE>WM_StartDCF</CODE></A> function.
53</P>
54<H2>Revision History</H2>
55<P>
562004/08/02 Standardized structure names.<br> 2004/07/29 Initial version.
57</P>
58<hr><p>CONFIDENTIAL</p></body>
59</html>