// wlanihv.h
DOT11EXTIHV_RECEIVE_PACKET Dot11extihvReceivePacket;
DWORD Dot11extihvReceivePacket(
[in, optional] HANDLE hIhvExtAdapter,
[in] DWORD dwInBufferSize,
[in] LPVOID pvInBuffer
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
The operating system calls the Dot11ExtIhvReceivePacket function to forward a packet, received by the wireless LAN (WLAN) adapter, to the IHV Extensions DLL for processing.
hIhvExtAdapter [in, optional]The handle used by the IHV Extensions DLL to reference the WLAN adapter. This handle value was specified through a previous call to the Dot11ExtIhvInitAdapter IHV Handler function.
dwInBufferSize [in]The length, in bytes, of the received packet referenced by the pvInBuffer parameter.
pvInBuffer [in]A pointer to a buffer, allocated by the operating system, which contains the packet data, as described in the Remarks section.
If the call succeeds, the function returns ERROR_SUCCESS. Otherwise, it returns an error code defined in Winerror.h.
DOT11EXTIHV_RECEIVE_PACKET Dot11ExtIhvReceivePacket;
DWORD APIENTRY Dot11ExtIhvReceivePacket(
_In_opt_ HANDLE hIhvExtAdapter,
_In_ DWORD dwInBufferSize,
_In_ LPVOID pvInBuffer
)
{ ... }
The operating system calls the Dot11ExtIhvReceivePacket function when the following occur:
The buffer pointed to by pvPacket should contain the following packet data, specified in network byte order: