# WMStartDCFCallback

## Definitions

  `#include <nitro/wm.h>`

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

      } WMStartDCFCallback;

## Elements

apiid | This is the ID of the API that acts as the source for the callback generation. It is synonymous to the `WMApiid` enumerated type. Here, it is fixed as `WM_APIID_START_DCF`
errcode | This is the result of the asynchronous process. It is synonymous to the `WMErrCode` enumerated type.
state | If `errcode` is `WM_ERRCODE_SUCCESS`, the `WM Cause Code` generated by the callback is 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.

## Description

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

## Revision History

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