# WMStartDCFCallback

## Definition

  `#include <nitro/wm.h>`

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

## Elements

`apiid` | ID of the API that acts as the source for the callback generation. It is equivalent to the `WMApiid` enumerated type. Here, it is fixed as `WM_APIID_START_DCF`
`errcode` | Result of the asynchronous process. It is equivalent 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

This structure is passed to the callback function for the `WM_StartDCF` function.

## Revision History

2004/08/02 Standardized structure names.
2004/07/29 Initial version.

CONFIDENTIAL