# WMStartDCFCallback

## C Specification

  `#include <nitro/wm.h>`

      typedef struct WMStartDCFCallback
      {
          u16           apiid;
          u16           errcode;
          u16           state;
          u8            reserved[2];
          WMDcfRecvBuf* recvBuf;

      } WMStartDCFCallback;

## Description

The structure that is passed to the callback function that is related to `WM_StartDCF`.

## Arguments

`apiid` | Specifies the ID of the API that has become the callback generation source. The same as the `WMApiid` enumerated type. Here, it is fixed as `WM_APIID_START_DCF`
`errcode` | Specifies the asynchronous process results. The same as the `WMErrCode` enumerated type.
`state` | If `errcode` is `WM_ERRCODE_SUCCESS`, the `WM Cause Code` that generated the callback will be stored. There are two causes: `WM_STATECODE_DCF_START, WM_STATECODE_DCF_IND`.
`recvBuf` | If `state` is `WM_STATECODE_DCF_IND`, a pointer to the receive data storage destination will be stored.

## Revision History

08/02/2004 Standardized structure names
07/29/2004 Initial Version