EVT_NFC_CX_WRITE_NCI_PACKET callback function (nfccx.h)

Called by the NFC CX to send a write packet to the client driver. The request code must match IOCTL_NFCCX_WRITE_PACKET.

Syntax

EVT_NFC_CX_WRITE_NCI_PACKET EvtNfcCxWriteNciPacket;

void EvtNfcCxWriteNciPacket(
  [in] WDFDEVICE Device,
  [in] WDFREQUEST Request
)
{...}

Parameters

[in] Device

A handle to a framework device object.

[in] Request

A handle to a framework request object.

Return value

None

Remarks

The client driver should not make any blocking calls when handling this function call. Any I/O processing must be handled on a separate thread or work-item (that is, the client driver should immediately return STATUS_PENDING and on completion invoke the completion handler).

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server None supported
Target Platform Desktop
Header nfccx.h (include Ncidef.h)
IRQL Requires same

See also

NFC class extension design guide

Near field communication (NFC) design guide