IWCNDevice::GetIntegerAttribute method (wcndevice.h)
The GetIntegerAttribute method gets a cached attribute from the device as an integer.
Syntax
HRESULT GetIntegerAttribute(
[in] WCN_ATTRIBUTE_TYPE AttributeType,
[out] UINT *puInteger
);
Parameters
[in] AttributeType
A WCN_ATTRIBUTE_TYPE value that represents a specific attribute value (for example, WCN_PASSWORD_TYPE).
[out] puInteger
Pointer to an unsigned-integer that represents the retrieved attribute value.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
The attribute was retrieved successfully. |
|
The attribute specified is not available. |
|
The buffer specified by pbBuffer is not large enough to contain the returned attribute value. |
|
This attribute cannot be expressed as an integer. For example, if it is a string. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | wcndevice.h |
See also
WCN_ATTRIBUTE_TYPE