RAS_SECURITY_INFO structure (rasshost.h)
The RAS_SECURITY_INFO structure is used with the RasSecurityDialogGetInfo function to return information about the RAS port associated with a RAS security DLL authentication transaction.
Syntax
typedef struct _RAS_SECURITY_INFO {
DWORD LastError;
DWORD BytesReceived;
CHAR DeviceName[MAX_DEVICE_NAME + 1];
} RAS_SECURITY_INFO, *PRAS_SECURITY_INFO;
Members
LastError
Specifies an error code that indicates the state of the last RasSecurityDialogReceive call for the port. If the receive operation failed, LastError is one of the error codes defined in Raserror.h or Winerror.h. Otherwise, LastError is one of the following values.
Value | Meaning |
---|---|
|
The receive operation has been successfully completed. The BytesReceived member indicates the number of bytes received. |
|
The receive operation is pending completion. |
BytesReceived
Specifies the number of bytes received in the most recent RasSecurityDialogReceive operation. This member is valid only if the value of the LastError member is SUCCESS.
DeviceName[MAX_DEVICE_NAME + 1]
Specifies a null-terminated string that contains the user-friendly display name of the device on the port, such as Hayes SmartModem 9600.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | rasshost.h |