DOT11EXT_POST_ASSOCIATE_COMPLETION - NtDoc

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

DOT11EXT_POST_ASSOCIATE_COMPLETION Dot11extPostAssociateCompletion;

DWORD Dot11extPostAssociateCompletion(
  [in, optional] HANDLE hDot11SvcHandle,
  [in, optional] HANDLE hSecuritySessionID,
  [in, optional] PDOT11_MAC_ADDRESS pPeer,
  [in]           DWORD dwReasonCode,
  [in]           DWORD dwWin32Error
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-wlanihv-dot11ext_post_associate_completion)

DOT11EXT_POST_ASSOCIATE_COMPLETION callback

Description

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 IHV Extensions DLL calls the Dot11ExtPostAssociateCompletion function to asynchronously complete a post-association operation initiated through a call to the Dot11ExtIhvPerformPostAssociate IHV Handler function.

Parameters

hDot11SvcHandle [in, optional]

The handle used by the operating system to reference the wireless LAN (WLAN) adapter. This handle value was specified through a previous call to the Dot11ExtIhvInitAdapter IHV Handler function.

hSecuritySessionID [in, optional]

The handle of the security session identifier (ID) returned through a previous call to the Dot11ExtIhvPerformPostAssociate IHV Handler function.

pPeer [in, optional]

The media access control (MAC) address of the access point (AP) with which the IHV Extensions DLL performed a security operation. This parameter is formatted as a DOT11_MAC_ADDRESS structure.

Note For Windows Vista, the IHV Extensions DLL supports only infrastructure basic service set (BSS) networks.

dwReasonCode [in]

A value that provides additional information for the completion status of the post-association operation. The IHV Extensions DLL must set dwReasonCode to an L2_REASON_CODE_xxxx value, which are defined in L2cmn.h.

The IHV Extensions DLL returns the general completion status of the post-association operation through the dwWin32Error parameter. Typically, the IHV Extensions DLL sets dwReasonCode to a value within the range from L2_REASON_CODE_IHV_BASE to (L2_REASON_CODE_IHV_BASE+ L2_REASON_CODE_GROUP_SIZE-1).

dwWin32Error [in]

The completion status of the post-association operation as defined by an error code within Winerror.h. If the operation completes successfully, the IHV Extensions DLL must set dwWin32Error to ERROR_SUCCESS.

Return value

If the call succeeds, the function returns ERROR_SUCCESS. Otherwise, it returns an error code defined in Winerror.h.

Prototype

DWORD WINAPI * Dot11ExtPostAssociateCompletion(
  _In_opt_ HANDLE             hDot11SvcHandle,
  _In_opt_ HANDLE             hSecuritySessionID,
  _In_opt_ PDOT11_MAC_ADDRESS pPeer,
  _In_     DWORD              dwReasonCode,
  _In_     DWORD              dwWin32Error
);

Remarks

The IHV Extensions DLL calls the Dot11ExtPostAssociateCompletion function to do any of the following:

The IHV Extensions DLL must follow these guidelines when calling the Dot11ExtPostAssociateCompletion function.

See also

Dot11ExtIhvAdapterReset

Dot11ExtIhvDeinitAdapter

Dot11ExtIhvInitAdapter

Native 802.11 IHV Handler Functions

Dot11ExtIhvPerformPostAssociate

DOT11_MAC_ADDRESS

Dot11ExtSendPacket