Export (0) Print
Expand All
Expand Minimize

SspiUnmarshalCredUIContext function

Deserializes credential information obtained by a credential provider during a previous call to the ICredentialProvider::SetSerialization method.

Syntax


SECURITY_STATUS SspiUnmarshalCredUIContext(
  _In_   PUCHAR MarshaledCredUIContext,
  _In_   ULONG MarshaledCredUIContextLength,
  _Out_  PSEC_WINNT_CREDUI_CONTEXT *CredUIContext
);

Parameters

MarshaledCredUIContext [in]

The serialized credential information obtained as the rgbSerialization member of the CREDENTIAL_PROVIDER_CREDENTIAL_SERIALIZATION structure retrieved from a call to the ICredentialProvider::SetSerialization method.

MarshaledCredUIContextLength [in]

The size, in bytes, of the MarshaledCredUIContext buffer.

CredUIContext [out]

A pointer to a SEC_WINNT_CREDUI_CONTEXT structure that specifies the deserialized credential information.

Return value

If the function succeeds, it returns SEC_E_OK.

If the function fails, it returns a nonzero error code.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Sspi.h

Library

Credui.lib

DLL

Credui.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft