IDot11AdHocSecuritySettings::GetDot11AuthAlgorithm method (adhoc.h)
Gets the authentication algorithm associated with the security settings. The authentication algorithm is used to authenticate machines and users connecting to the ad hoc network associated with an interface.
HRESULT GetDot11AuthAlgorithm( DOT11_ADHOC_AUTH_ALGORITHM *pAuth );
A pointer to a DOT11_ADHOC_AUTH_ALGORITHM value that specifies the authentication algorithm.
Possible return values include, but are not limited to, the following.
||The method completed successfully.|
||The method failed.|
||The value pointed to by pAuth is invalid.|
||The method could not allocate the memory required to perform this operation.|
||The pointer pAuth is invalid.|
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|