Partager via


IOCTL_NDISUIO_REQUEST_NOTIFICATION (Compact 2013)

3/26/2014

This I/O control message allows the application to retrieve adapter-related notifications. Send this message with DeviceIoControl.

Syntax

BOOL DeviceIoControl(
    HANDLE hDevice,          // handle to the device
    DWORD dwIoControlCode,   // use IOCTL_NDISUIO_REQUEST_NOTIFICATION
    LPVOID lpInBuffer,       // pointer to input buffer
    DWORD nInBufferSize,     // input buffer size
    LPVOID lpOutBuffer,      // pointer to output buffer
    DWORD nOutBufferSize,    // output buffer size
    LPDWORD lpBytesReturned, // number of bytes returned
    OVERLAPPED lpOverlapped  // pointer to OVERLAPPED structure
);

Parameters

  • hDevice
    [in] Handle to the device.
  • dwIoControlCode
    [in] The control code for the operation. Use IOCTL_NDISUIO_REQUEST_NOTIFICATION for this operation.
  • nInBufferSize
    [in] Set to size of the NDISUIO_REQUEST_NOTIFICATION structure.

Remarks

The dwNotificationType member in the NDISUIO_REQUEST_NOTIFICATION structure should be the union of the flags set in that structure. The application should wait for the notification, which is triggered by NDISUIO when the requested event occurs.

Requirements

Header

ntddndis.h,
nuiouser.h

See Also

Reference

NDIS 5.x Legacy Network Driver IOCTLs
RequestDeviceNotifications
IOCTL_NDISUIO_CANCEL_NOTIFICATION

Other Resources

Core OS Reference