Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Updates the credentials associated with the specified context.
Syntax
SECURITY_STATUS SEC_ENTRY SspiUpdateCredentials(
[in] HANDLE ContextHandle,
[in] GUID *CredType,
[in] ULONG FlatCredUIContextLength,
[in] PUCHAR FlatCredUIContext
);
Parameters
[in] ContextHandle
A pointer to a SEC_WINNT_CREDUI_CONTEXT structure retrieved during a previous call to the SspiUnmarshalCredUIContext function.
[in] CredType
The type of credential specified by the ContextHandle parameter. This can be one of the following values.
| Value | Meaning |
|---|---|
|
The credential is a password. |
|
The credential is a certificate. |
|
The credential is authentication data from a cryptographic service provider (CSP). |
[in] FlatCredUIContextLength
The size, in bytes, of the FlatCredUIContext buffer.
[in] FlatCredUIContext
The values with which to update the specified credentials.
Return value
If the function succeeds, it returns SEC_E_OK.
If the function fails, it returns a nonzero error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7 [desktop apps only] |
| Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
| Target Platform | Windows |
| Header | sspi.h |
| Library | Credui.lib |
| DLL | Credui.dll |