IOCTL_NFP_GET_NEXT_SUBSCRIBED_MESSAGE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// nfpdev.h

// CTL_CODE(0x0051, 0x010, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_NFP_GET_NEXT_SUBSCRIBED_MESSAGE 0x00510040
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-nfpdev-ioctl_nfp_get_next_subscribed_message)

IOCTL_NFP_GET_NEXT_SUBSCRIBED_MESSAGE IOCTL

Description

The client sends the IOCTL_NFP_GET_NEXT_SUBSCRIBED_MESSAGE request to the subscription handle repeatedly in order to receive subscribed messages as they arrive. Typically, this IOCTL will be pended in the subscription handle until a message matching the subscribed type actually arrives.

Parameters

Major code

Input buffer

None

Input buffer length

Output buffer

A valid buffer is required for returning the message data when it arrives. The first DWORD of this buffer is reserved for a hint to the client for the next size of the buffer to be returned. This buffer will typically initially be 255 bytes, but the driver can request that the client send a bigger buffer by providing just the hint and completing the IOCTL with STATUS_BUFFER_OVERFLOW.

Output buffer length

Input/output buffer

Input/output buffer length

Status block

Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful.

Otherwise, Status to the appropriate error condition as a NTSTATUS code.

For more information, see NTSTATUS Values.

Remarks

See also

Near field communication (NFC) overall design guide

Near field proximity design guide (Tap and Do, NFP provider model, driver requirements)