NFC_CX_CLIENT_CONFIG structure (nfccx.h)

The NFC_CX_CLIENT_CONFIG structure is an input parameter to NfcCxDeviceInitConfig.

Syntax

typedef struct _NFC_CX_CLIENT_CONFIG {
  ULONG                              Size;
  WDF_TRI_STATE                      IsPowerPolicyOwner;
  ULONG                              PowerIdleTimeout;
  WDF_POWER_POLICY_IDLE_TIMEOUT_TYPE PowerIdleType;
  NFC_CX_TRANSPORT_TYPE              BusType;
  ULONG                              DriverFlags;
  NFC_CX_DEVICE_MODE                 DeviceMode;
  PFN_NFC_CX_WRITE_NCI_PACKET        EvtNfcCxWriteNciPacket;
  PFN_NFC_CX_DEVICE_IO_CONTROL       EvtNfcCxDeviceIoControl;
} NFC_CX_CLIENT_CONFIG, *PNFC_CX_CLIENT_CONFIG;

Members

Size

Size of this structure in bytes.

IsPowerPolicyOwner

A WDF_TRI_STATE-typed enumerator.

PowerIdleTimeout

IdleTimeout value, in milliseconds. Default is 1 second.

PowerIdleType

A WDF_POWER_POLICY_IDLE_TIMEOUT_TYPE-typed enumerator.

BusType

An NFC_CX_TRANSPORT_TYPE-typed enumerator.

DriverFlags

Combination of NFC_CX_DRIVER_FLAGS values.

DeviceMode

Device mode.

EvtNfcCxWriteNciPacket

Pointer to an EvtNfcCxWriteNciPacket callback.

EvtNfcCxDeviceIoControl

Pointer to an EvtNfcCxDeviceIoControl callback.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server None supported
Header nfccx.h (include Ncidef.h)

See also

NFC class extension design guide

Near field communication (NFC) design guide