Authentication Constants (Authentication)

Credentials Management Constants

Credentials Management uses the following constants to specify maximum string sizes.

Constant Description
CREDUI_MAX_MESSAGE_LENGTH
Maximum number of characters for the pszMessageText member of a CREDUI_INFO structure.
CREDUI_MAX_CAPTION_LENGTH
Maximum number of characters for the pszCaptionText member of a CREDUI_INFO structure.
CREDUI_MAX_GENERIC_TARGET_LENGTH
Maximum number of characters in a string that specifies a target name.
CREDUI_MAX_DOMAIN_TARGET_LENGTH
Maximum number of characters in a string that specifies a domain name.
CREDUI_MAX_USERNAME_LENGTH
Maximum number of characters in a string that specifies a user account name.
CREDUI_MAX_PASSWORD_LENGTH
Maximum number of characters in a string that specifies a password.

Gina Defined Values

GINA interface functions and Winlogon support functions use the following defined values.

Note

GINA DLLs are ignored in Windows Vista.

Value Description
WLX_LOGON_OPTION_XXX
Contains predefined logon options. It is used by the dwOptions parameter of WlxLoggedOutSAS.
WLX_SAS_TYPE_XXX
Defines a specific SAS type.