CrediUnmarshalandDecodeString
TOC
Collapse the table of content
Expand the table of content

CrediUnmarshalandDecodeString function

Transforms a marshaled string back into its original form, and decrypts the unmarshaled string.

Syntax


NTSTATUS NTAPI CrediUnmarshalandDecodeString(
  _In_  LPWSTR  MarshaledString,
  _Out_ LPBYTE  *Blob,
  _Out_ ULONG   *BlobSize,
  _Out_ BOOLEAN *IsFailureFatal
);

Parameters

MarshaledString [in]

The marshaled, encrypted string.

Blob [out]

A pointer to the unmarshaled, decrypted string.

BlobSize [out]

A pointer to the size, in bytes, of the buffer pointed to by the Blob parameter.

IsFailureFatal [out]

A pointer to a BOOLEAN variable to receive a value that indicates whether the caller should complete the operation. If the value of this parameter is TRUE, the caller should not complete the operation.

Return value

If the function succeeds, return STATUS_SUCCESS, or an informational status code.

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

Remarks

A pointer to the CrediUnmarshalandDecodeString function is available in the LSA_SECPKG_FUNCTION_TABLE structure received by the SpInitialize function.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Ntsecpkg.h

See also

SpInitialize

 

 

Show:
© 2016 Microsoft