Share via


PPP_EAP_INFO (Windows Embedded CE 6.0)

1/6/2010

This structure provides information to RAS about the authentication protocol, including pointers to functions located in the EAP dynamic-link library (DLL).

Syntax

typedef struct _PPP_EAP_INFO {
  DWORD dwSizeInBytes;
  DWORD dwEapTypeId; 
  DWORD (*RasEapInitialize) (
  BOOL fInitialize
  );
  DWORD (*RasEapBegin) (
  VOID** ppWorkBuffer,
  PPP_EAP_INPUT* pPppEapInput
  );
  DWORD (*RasEapEnd) (
  VOID* pWorkBuffer
  );
  DWORD (*RasEapMakeMessage) (
  VOID* pWorkBuf,
  PPP_EAP_PACKET* pReceivePacket,
  PPP_EAP_PACKET* pSendPacket,
  DWORD cbSendPacket,
  PPP_EAP_OUTPUT* pEapOutput,
  PPP_EAP_INPUT* pEapInput
  );
} PPP_EAP_INFO, *PPPP_EAP_INFO;

Members

  • dwSizeInBytes
    Specifies the size of the PPP_EAP_INFO structure. RAS passes in this value to the EAP dynamic-link library (DLL). The DLL uses this value to determine which version of the PPP_EAP_INFO structure RAS is using.
  • dwEapTypeId
    Specifies a particular authentication protocol. This identifier must be unique throughout industry-wide implementation of EAP. The implementer of an authentication protocol must obtain this identifier from the Internet Assigned Numbers Authority (IANA).
  • RasEapInitialize
    Pointer to the RasEapInitialize function for the authentication protocol. The authentication protocol sets the value of this member. The authentication protocol may set this member to NULL, in which case the protocol does not require RAS to call this function.
  • RasEapBegin
    Pointer to the RasEapBegin function for the requested authentication protocol. The authentication protocol sets the value of this member. This member may be NULL, in which case, the authentication protocol does not require any initialization. If this member is NULL, RAS ignores the RasEapEnd member.
  • RasEapEnd
    Pointer to the RasEapEnd function for the authentication protocol. The authentication protocol sets the value of this member.
  • RasEapMakeMessage
    Pointer to the RasEapMakeMessage for the requested authentication protocol. The authentication protocol sets the value of this member.

Remarks

A given EAP DLL may implement more than one authentication protocol. Use the dwEapTypeId member to specify for which protocol to retrieve information.

Requirements

Header raseapif.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

EAP Structures
RasEapBegin
RasEapEnd
RasEapGetInfo
RasEapMakeMessage