Freigeben über


GetSize Callback Function

The GetSize function returns the size of the attribute array.

DWORD WINAPI GetSize(
  [in]                 _RADIUS_ATTRIBUTE_ARRAY* This
);

Parameters

  • This
    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 Internet Authentication Service (IAS). IAS returns a pointer to this function as a member of the RADIUS_ATTRIBUTE_ARRAY structure.

Requirements

Server

Requires Windows Server 2008 or Windows Server 2003.

Header

Declared in AuthIf.h.

See Also

About Internet Authentication Service
Internet Authentication Service Reference
Internet Authentication Service Functions
RADIUS_ATTRIBUTE_ARRAY

Send comments about this topic to Microsoft

Build date: 10/1/2007