PRADIUS_EXTENSION_PROCESS_2 callback function (authif.h)
Syntax
PRADIUS_EXTENSION_PROCESS_2 PradiusExtensionProcess2;
DWORD PradiusExtensionProcess2(
[in, out] PRADIUS_EXTENSION_CONTROL_BLOCK pECB
)
{...}
Parameters
[in, out] pECB
Pointer to a RADIUS_EXTENSION_CONTROL_BLOCK structure. The members of this structure contain values and function pointers that enable the NPS Extension DLL to process the RADIUS packet.
Return value
If the function succeeds, the return value is NO_ERROR.
If the function fails, the return value should be an appropriate error code from WinError.h.
Remarks
If the return value is anything other than NO_ERROR, NPS discards the request.
The following attributes are read-only. Extension DLLs that implement RadiusExtensionProcess2 cannot add, modify, or remove these attributes within a request or response contained in a RADIUS_EXTENSION_CONTROL_BLOCK.
- ratCode
- ratIdentifier
- ratAuthenticator
- ratSrcIPAddress
- ratSrcPort
- ratProvider
- ratUniqueId
- ratSrcIPv6Address
NPS Extension DLLs that export RadiusExtensionProcess2 do not need to export RadiusExtensionFreeAttributes.
For more information on the use of this function, see NPS Extensions Process.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | authif.h |