Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

CrediUnmarshalandDecodeString function

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


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


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.


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


Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]



See also




Community Additions

© 2015 Microsoft