Expand Minimize
This topic has not yet been rated - Rate this topic

SpFormatCredentials function

Formats credentials to be stored in a user object.

Syntax


NTSTATUS SpFormatCredentials(
  _In_   PSecBuffer Credentials,
  _Out_  PSecBuffer FormattedCredentials
);

Parameters

Credentials [in]

Pointer to a SecBuffer structure containing the credentials to be formatted.

FormattedCredentials [out]

Pointer to a SecBuffer structure containing the formatted credentials. Allocate memory for the structure using the AllocateHeap function.

Return value

If the function succeeds, return STATUS_SUCCESS.

If the function fails, return an NTSTATUS code that indicates the reason it failed.

Remarks

SSP/APs must implement the SpFormatCredentials function; however, the actual name given to the implementation is up to the developer.

A pointer to the SpFormatCredentials function is available in the SECPKG_USER_FUNCTION_TABLE structure received from the SpUserModeInitialize function.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecpkg.h

See also

AllocateHeap
SECPKG_USER_FUNCTION_TABLE
SpUserModeInitialize

 

 

Send comments about this topic to Microsoft

Build date: 1/2/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.