Skip to content

Latest commit

 

History

History
91 lines (68 loc) · 2.87 KB

nf-sspi-sspiprepareforcredwrite.md

File metadata and controls

91 lines (68 loc) · 2.87 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:sspi.SspiPrepareForCredWrite
SspiPrepareForCredWrite function (sspi.h)
Generates values from an identity structure that can be passed as the values of parameters in a call to the CredWrite function.
SspiPrepareForCredWrite
SspiPrepareForCredWrite function [Security]
security.sspiprepareforcredwrite
sspi/SspiPrepareForCredWrite
security\sspiprepareforcredwrite.htm
security
4db92042-38f2-42c2-9c94-b24e0eaafdf9
12/05/2018
SspiPrepareForCredWrite, SspiPrepareForCredWrite function [Security], security.sspiprepareforcredwrite, sspi/SspiPrepareForCredWrite
sspi.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Secur32.lib
SspiCli.dll
Windows
19H1
SspiPrepareForCredWrite
sspi/SspiPrepareForCredWrite
c++
APIRef
kbSyntax
DllExport
SspiCli.dll
SspiPrepareForCredWrite

SspiPrepareForCredWrite function

-description

Generates values from an identity structure that can be passed as the values of parameters in a call to the CredWrite function.

-parameters

-param AuthIdentity [in]

The identity structure from which to generate the credentials to be passed to the CredWrite function.

-param pszTargetName [in]

A target name that can be modified by this function depending on the value of the AuthIdentity parameter.

Set the value of this parameter to NULL to use the user name as the target.

-param pCredmanCredentialType [out]

The credential type to pass to the CredWrite function.

-param ppszCredmanTargetName [out]

The target name to pass to the CredWrite function.

-param ppszCredmanUserName [out]

The user name to pass to the CredWrite function.

-param ppCredentialBlob [out]

The credential BLOB to send to the CredWrite function.

-param pCredentialBlobSize [out]

The size, in bytes, of the ppCredentialBlob buffer.

-returns

If the function succeeds, it returns SEC_E_OK.

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