Important The Native 802.11 Wireless LAN interface is deprecated in Windows 10 and later. Please use the WLAN Device Driver Interface (WDI) instead. For more information about WDI, see WLAN Universal Windows driver model.
If the miniport driver returned NDIS_STATUS_PENDING from its MiniportOidRequest function when the method request of OID_DOT11_RESET_REQUEST was made, the miniport driver completes the method request when the reset operation is complete by calling NdisMOidRequestComplete. The miniport driver confirms the completion of the reset operation by returning a DOT11_STATUS_INDICATION structure in the following way:
Format the InformationBuffer member of the OidRequest parameter as a DOT11_STATUS_INDICATION structure.
The miniport driver sets the uStatusType member of the DOT11_STATUS_INDICATION structure to NDIS_STATUS_DOT11_RESET_CONFIRM.
The miniport driver sets the ndisStatus member of the DOT11_STATUS_INDICATION structure to NDIS_STATUS_SUCCESS if the reset operation completed successfully. If the reset operation failed, the miniport driver sets this member to the appropriate NDIS_STATUS value.
Set the value of the BytesRead and BytesWritten members of the OidRequest parameter to the size of the DOT11_RESET_REQUEST structure. For more information about this structure, see OID_DOT11_RESET_REQUEST.