IDot11AdHocSecuritySettings::GetDot11CipherAlgorithm method (adhoc.h)
Gets the cipher algorithm associated with the security settings. The cipher algorithm is used to encrypt and decrypt information sent on the ad hoc network associated with an interface.
Syntax
HRESULT GetDot11CipherAlgorithm(
[in, out] DOT11_ADHOC_CIPHER_ALGORITHM *pCipher
);
Parameters
[in, out] pCipher
A pointer to a DOT11_ADHOC_CIPHER_ALGORITHM value that specifies the cipher algorithm.
Return value
Possible return values include, but are not limited to, the following.
Return code | Description |
---|---|
|
The method completed successfully. |
|
The method failed. |
|
The value pointed to by pCipher is invalid. |
|
The method could not allocate the memory required to perform this operation. |
|
The pointer pCipher is invalid. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | adhoc.h |