GetDot11AuthAlgorithm Method
Collapse the table of content
Expand the table of content

IDot11AdHocSecuritySettings::GetDot11AuthAlgorithm method

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.

Syntax


HRESULT GetDot11AuthAlgorithm(
  [in, out] DOT11_ADHOC_AUTH_ALGORITHM *pAuth
);

Parameters

pAuth [in, out]

A pointer to a DOT11_ADHOC_AUTH_ALGORITHM value that specifies the authentication algorithm.

Return value

Possible return values include, but are not limited to, the following.

Return codeDescription
S_OK

The method completed successfully.

E_FAIL

The method failed.

E_INVALIDARG

The value pointed to by pAuth is invalid.

E_OUTOFMEMORY

The method could not allocate the memory required to perform this operation.

E_POINTER

The pointer pAuth is invalid.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Adhoc.h

IDL

Adhoc.idl

See also

IDot11AdHocSecuritySettings
IDot11AdHocSecuritySettings::GetDot11CipherAlgorithm

 

 

Show:
© 2016 Microsoft