PPP_LCP_INFO structure (mprapi.h)
The PPP_LCP_INFO structure contains information that describes the results of a PPP Link Control Protocol (LCP) negotiation.
Syntax
typedef struct _PPP_LCP_INFO {
DWORD dwError;
DWORD dwAuthenticationProtocol;
DWORD dwAuthenticationData;
DWORD dwRemoteAuthenticationProtocol;
DWORD dwRemoteAuthenticationData;
DWORD dwTerminateReason;
DWORD dwRemoteTerminateReason;
DWORD dwOptions;
DWORD dwRemoteOptions;
DWORD dwEapTypeId;
DWORD dwRemoteEapTypeId;
} PPP_LCP_INFO;
Members
dwError
Specifies the error that occurred if the negotiation was unsuccessful.
dwAuthenticationProtocol
Specifies the authentication protocol used to authenticate the local computer. This member can be one of the following values.
dwAuthenticationData
Specifies additional information about the authentication protocol specified by the dwAuthenticationProtocol member. This member can be one of the following values.
Value | Meaning |
---|---|
|
MD5 CHAP |
|
Microsoft CHAP |
|
Microsoft CHAP version 2 |
dwRemoteAuthenticationProtocol
Specifies the authentication protocol used to authenticate the remote computer. See the dwAuthenticationProtocol member for a list of possible values.
dwRemoteAuthenticationData
Specifies additional information about the authentication protocol specified by dwRemoteAuthenticationProtocol. See the dwAuthenticationData member for a list of possible values.
dwTerminateReason
Specifies the reason the connection was terminated by the local computer. This member always has a value of zero.
dwRemoteTerminateReason
Specifies the reason the connection was terminated by the remote computer. This member always has a value of zero.
dwOptions
Specifies information about LCP options in use by the local computer. This member is a combination of the following flags.
Flag | Meaning |
---|---|
|
The connection is using multilink |
|
Protocol Field Compression (see RFC 1172) |
|
Address and Control Field Compression (see RFC 1172) |
|
Short Sequence Number Header Format (see RFC 1990) |
|
DES 56-bit encryption |
|
Triple DES Encryption |
dwRemoteOptions
Specifies information about LCP options in use by the remote computer. This member is a combination of the following flags.
Flag | Meaning |
---|---|
|
The connection is using multilink. |
|
Protocol Field Compression (see RFC 1172) |
|
Address and Control Field Compression (see RFC 1172) |
|
Short Sequence Number Header Format (see RFC 1990) |
|
DES 56-bit encryption |
|
Triple DES Encryption |
dwEapTypeId
Specifies the type identifier of the Extensible Authentication Protocol (EAP) used to authenticate the local computer. The value of this member is valid only if dwAuthenticationProtocol is PPP_LCP_EAP.
dwRemoteEapTypeId
Specifies the type identifier of the Extensible Authentication Protocol (EAP) used to authenticate the remote computer. The value of this member is valid only if dwRemoteAuthenticationProtocol is PPP_LCP_EAP.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | mprapi.h |