Partager via


2.2.10.1.1.4.1.1 Logon Errors Info (TS_LOGON_ERRORS_INFO)

The TS_LOGON_ERRORS_INFO structure contains information that describes a logon error notification.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

ErrorNotificationType

ErrorNotificationData

ErrorNotificationType (4 bytes): A 32-bit, unsigned integer that specifies an NTSTATUS value (see  [MS-ERREF] section 2.3.1 for information about translating NTSTATUS error codes to usable text strings), or one of the following values.

Value

Meaning

LOGON_MSG_SESSION_BUSY_OPTIONS

0xFFFFFFF8

The "Session is Busy" dialog is being displayed by Winlogon. The session identifier is specified by the ErrorNotificationData field.

LOGON_MSG_DISCONNECT_REFUSED

0xFFFFFFF9

The "Disconnection Refused" dialog is being displayed by Winlogon. The session identifier is specified by the ErrorNotificationData field.

LOGON_MSG_NO_PERMISSION

0xFFFFFFFA

The "No Permission" dialog is being displayed by Winlogon. The session identifier is specified by the ErrorNotificationData field.

LOGON_MSG_BUMP_OPTIONS

0xFFFFFFFB

The "Session Contention" dialog is being displayed by Winlogon. The session identifier is specified by the ErrorNotificationData field.

LOGON_MSG_ RECONNECT_OPTIONS

0xFFFFFFFC

The "Session Reconnection" dialog is being displayed by Winlogon. The session identifier is specified by the ErrorNotificationData field.

LOGON_MSG_SESSION_TERMINATE

0xFFFFFFFD

The session is being terminated. The session identifier is specified by the ErrorNotificationData field.

LOGON_MSG_SESSION_CONTINUE

0xFFFFFFFE

The logon process is continuing. The session identifier is specified by the ErrorNotificationData field.

ERROR_CODE_ACCESS_DENIED

0xFFFFFFFF

The logon process failed and cannot proceed. The contents of the ErrorNotificationData field SHOULD be ignored.

ErrorNotificationData (4 bytes): A 32-bit, unsigned integer that specifies the session identifier, or one of the following values.

Value

Meaning

LOGON_FAILED_BAD_PASSWORD

0x00000000

The logon process failed. The logon credentials which were supplied are invalid. The user's focus SHOULD be directed to the WinLogon screen.

LOGON_FAILED_UPDATE_PASSWORD

0x00000001

The logon process failed. The user cannot continue with the logon process until the password is changed. The user's focus SHOULD be directed to the WinLogon screen.

LOGON_FAILED_OTHER

0x00000002

The logon process failed. The user's focus SHOULD be directed to the WinLogon screen.

LOGON_WARNING

0x00000003

The logon process has displayed a warning. The user's focus SHOULD be directed to the WinLogon screen.