DOT11EXT_SET_KEY_MAPPING_KEY callback function (wlanihv.h)
Syntax
DOT11EXT_SET_KEY_MAPPING_KEY Dot11extSetKeyMappingKey;
DWORD Dot11extSetKeyMappingKey(
[in, optional] HANDLE hDot11SvcHandle,
[in] PDOT11_CIPHER_KEY_MAPPING_KEY_VALUE pKey
)
{...}
Parameters
[in, optional] hDot11SvcHandle
The handle used by the operating system to reference the WLAN adapter. This handle value was specified through a previous call to the Dot11ExtIhvInitAdapter IHV Handler function.
[in] pKey
A pointer to a DOT11_CIPHER_KEY_MAPPING_KEY_VALUE structure, which defines the cipher key.
Return value
If the call succeeds, the function returns ERROR_SUCCESS. Otherwise, it returns an error code defined in Winerror.h.
Remarks
A key-mapping cipher key is deleted from the adapter's key tables if the bDelete member of the DOT11_CIPHER_KEY_MAPPING_KEY_VALUE structure is set to TRUE.
A call to the Dot11ExtSetKeyMappingKey function results in a set request of the OID_DOT11_CIPHER_KEY_MAPPING_KEY object identifier (OID) to the Native 802.11 miniport driver that manages the WLAN adapter.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | wlanihv.h (include Wlanihv.h) |