GetSize callback function

Note  Internet Authentication Service (IAS) was renamed Network Policy Server (NPS) starting with Windows Server 2008. The content of this topic applies to both IAS and NPS. Throughout the text, NPS is used to refer to all versions of the service, including the versions originally referred to as IAS.
 

The GetSize function returns the size of the attribute array.

Syntax


DWORD WINAPI GetSize(
  _In_ _RADIUS_ATTRIBUTE_ARRAY *This
);

Parameters

This [in]

Pointer to the RADIUS_ATTRIBUTE_ARRAY structure that represents the array of attributes for which to retrieve the size.

The GetRequest and GetResponse functions return pointers to RADIUS_ATTRIBUTE_ARRAY structures.

Return value

If the function succeeds, the return value is the size of the array.

If the function fails, the return value is ERROR_INVALID_PARAMETER.

Remarks

The GetSize function returns the size of the attribute array, not the largest index. Because attribute arrays use zero-based indexes, the size of the array is one greater than the largest index.

This function is provided by NPS. NPS returns a pointer to this function as a member of the RADIUS_ATTRIBUTE_ARRAY structure.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

AuthIf.h

See also

About NPS Extensions
NPS Extensions Reference
NPS Extensions Functions
RADIUS_ATTRIBUTE_ARRAY

 

 

Show: