NfcCxRegisterSequenceHandler function (nfccx.h)

Called by the client driver during initialization to register for handling specific sequences.

Syntax

NTSTATUS NfcCxRegisterSequenceHandler(
  WDFDEVICE                   Device,
  NFC_CX_SEQUENCE             Sequence,
  PFN_NFC_CX_SEQUENCE_HANDLER EvtNfcCxSequenceHandler
);

Parameters

Device

A handle to a framework device object.

Sequence

An NFC_CX_SEQUENCE-typed enumerator.

EvtNfcCxSequenceHandler

A pointer to an EvtNfcCxSequenceHandler callback function.

Return value

If the operation succeeds, the function returns STATUS_SUCCESS.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server None supported
Target Platform Windows
Header nfccx.h (include Ncidef.h)
Library Nfccxstub.lib
DLL NfcCx.dll

See also

NFC class extension design guide

Near field communication (NFC) design guide