Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This header is used by Security and Identity. For more information, see:
wincred.h contains the following programming interfaces:
Functions
CredDeleteA Deletes a credential from the user's credential set. (ANSI) |
CredDeleteW Deletes a credential from the user's credential set. (Unicode) |
CredEnumerateA Enumerates the credentials from the user's credential set. (ANSI) |
CredEnumerateW Enumerates the credentials from the user's credential set. (Unicode) |
CredFindBestCredentialA Searches the Credentials Management (CredMan) database for the set of generic credentials that are associated with the current logon session and that best match the specified target resource. (ANSI) |
CredFindBestCredentialW Searches the Credentials Management (CredMan) database for the set of generic credentials that are associated with the current logon session and that best match the specified target resource. (Unicode) |
CredFree The CredFree function frees a buffer returned by any of the credentials management functions. |
CredGetSessionTypes The CredGetSessionTypes function returns the maximum persistence supported by the current logon session. A separate maximum persistence is returned for each credential type. |
CredGetTargetInfoA The CredGetTargetInfo function retrieves all known target name information for the named target computer. (ANSI) |
CredGetTargetInfoW The CredGetTargetInfo function retrieves all known target name information for the named target computer. (Unicode) |
CredIsMarshaledCredentialA Determines whether a specified user name string is a marshaled credential previously marshaled by CredMarshalCredential. (ANSI) |
CredIsMarshaledCredentialW Determines whether a specified user name string is a marshaled credential previously marshaled by CredMarshalCredential. (Unicode) |
CredIsProtectedA Specifies whether the specified credentials are encrypted by a previous call to the CredProtect function. (ANSI) |
CredIsProtectedW Specifies whether the specified credentials are encrypted by a previous call to the CredProtect function. (Unicode) |
CredMarshalCredentialA The CredMarshalCredential function transforms a credential into a text string. (ANSI) |
CredMarshalCredentialW The CredMarshalCredential function transforms a credential into a text string. (Unicode) |
CredPackAuthenticationBufferA Converts a string user name and password into an authentication buffer. (ANSI) |
CredPackAuthenticationBufferW Converts a string user name and password into an authentication buffer. (Unicode) |
CredProtectA Encrypts the specified credentials so that only the current security context can decrypt them. (ANSI) |
CredProtectW Encrypts the specified credentials so that only the current security context can decrypt them. (Unicode) |
CredReadA Reads a credential from the user's credential set. (ANSI) |
CredReadDomainCredentialsA Reads the ___domain credentials from the user's credential set. (ANSI) |
CredReadDomainCredentialsW Reads the ___domain credentials from the user's credential set. (Unicode) |
CredReadW Reads a credential from the user's credential set. (Unicode) |
CredRenameA CredRename is no longer supported. (ANSI) |
CredRenameW CredRename is no longer supported. (Unicode) |
CredUICmdLinePromptForCredentialsA Prompts for and accepts credential information from a user working in a command-line (console) application. The name and password typed by the user are passed back to the calling application for verification. (ANSI) |
CredUICmdLinePromptForCredentialsW Prompts for and accepts credential information from a user working in a command-line (console) application. The name and password typed by the user are passed back to the calling application for verification. (Unicode) |
CredUIConfirmCredentialsA Is called after CredUIPromptForCredentials or CredUICmdLinePromptForCredentials, to confirm the validity of the credential harvested. (ANSI) |
CredUIConfirmCredentialsW Is called after CredUIPromptForCredentials or CredUICmdLinePromptForCredentials, to confirm the validity of the credential harvested. (Unicode) |
CredUIParseUserNameA The CredUIParseUserName function extracts the ___domain and user account name from a fully qualified user name. (ANSI) |
CredUIParseUserNameW The CredUIParseUserName function extracts the ___domain and user account name from a fully qualified user name. (Unicode) |
CredUIPromptForCredentialsA Creates and displays a configurable dialog box that accepts credentials information from a user. (ANSI) |
CredUIPromptForCredentialsW Creates and displays a configurable dialog box that accepts credentials information from a user. (Unicode) |
CredUIPromptForWindowsCredentialsA Creates and displays a configurable dialog box that allows users to supply credential information by using any credential provider installed on the local computer. (ANSI) |
CredUIPromptForWindowsCredentialsW Creates and displays a configurable dialog box that allows users to supply credential information by using any credential provider installed on the local computer. (Unicode) |
CredUIReadSSOCredW The CredUIReadSSOCredW function retrieves the user name for a single logon credential. |
CredUIStoreSSOCredW The CredUIStoreSSOCredW function stores a single logon credential. |
CredUnmarshalCredentialA The CredUnmarshalCredential function transforms a marshaled credential back into its original form. (ANSI) |
CredUnmarshalCredentialW The CredUnmarshalCredential function transforms a marshaled credential back into its original form. (Unicode) |
CredUnPackAuthenticationBufferA Converts an authentication buffer returned by a call to the CredUIPromptForWindowsCredentials function into a string user name and password. (ANSI) |
CredUnPackAuthenticationBufferW Converts an authentication buffer returned by a call to the CredUIPromptForWindowsCredentials function into a string user name and password. (Unicode) |
CredUnprotectA Decrypts credentials that were previously encrypted by using the CredProtect function. (ANSI) |
CredUnprotectW Decrypts credentials that were previously encrypted by using the CredProtect function. (Unicode) |
CredWriteA Creates a new credential or modifies an existing credential in the user's credential set. (ANSI) |
CredWriteDomainCredentialsA Writes ___domain credentials to the user's credential set. (ANSI) |
CredWriteDomainCredentialsW Writes ___domain credentials to the user's credential set. (Unicode) |
CredWriteW Creates a new credential or modifies an existing credential in the user's credential set. (Unicode) |
Structures
CERT_CREDENTIAL_INFO The CERT_CREDENTIAL_INFO structure contains a reference to a certificate. |
CREDENTIAL_ATTRIBUTEA The CREDENTIAL_ATTRIBUTE structure contains an application-defined attribute of the credential. An attribute is a keyword-value pair. It is up to the application to define the meaning of the attribute. (ANSI) |
CREDENTIAL_ATTRIBUTEW The CREDENTIAL_ATTRIBUTE structure contains an application-defined attribute of the credential. An attribute is a keyword-value pair. It is up to the application to define the meaning of the attribute. (Unicode) |
CREDENTIAL_TARGET_INFORMATIONA The CREDENTIAL_TARGET_INFORMATION structure contains the target computer's name, ___domain, and tree. (ANSI) |
CREDENTIAL_TARGET_INFORMATIONW The CREDENTIAL_TARGET_INFORMATION structure contains the target computer's name, ___domain, and tree. (Unicode) |
CREDENTIALA The CREDENTIAL structure contains an individual credential. (ANSI) |
CREDENTIALW The CREDENTIAL structure contains an individual credential. (Unicode) |
CREDUI_INFOA The CREDUI_INFO structure is used to pass information to the CredUIPromptForCredentials function that creates a dialog box used to obtain credentials information. (ANSI) |
CREDUI_INFOW The CREDUI_INFO structure is used to pass information to the CredUIPromptForCredentials function that creates a dialog box used to obtain credentials information. (Unicode) |
USERNAME_TARGET_CREDENTIAL_INFO The USERNAME_TARGET_CREDENTIAL_INFO structure contains a reference to a credential. |
Enumerations
CRED_MARSHAL_TYPE Specifies the types of credential to be marshaled by CredMarshalCredential or unmarshaled by CredUnmarshalCredential. |
CRED_PROTECTION_TYPE Specifies the security context in which credentials are encrypted when using the CredProtect function. |