CrediUnmarshalandDecodeStringFn callback function (ntsecpkg.h)
Transforms a marshaled string back into its original form, and decrypts the unmarshaled string.
Syntax
CrediUnmarshalandDecodeStringFn Crediunmarshalanddecodestringfn;
NTSTATUS Crediunmarshalanddecodestringfn(
[in] LPWSTR MarshaledString,
[out] LPBYTE *Blob,
[out] ULONG *BlobSize,
[out] BOOLEAN *IsFailureFatal
)
{...}
Parameters
[in] MarshaledString
The marshaled, encrypted string.
[out] Blob
A pointer to the unmarshaled, decrypted string.
[out] BlobSize
A pointer to the size, in bytes, of the buffer pointed to by the Blob parameter.
[out] IsFailureFatal
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | ntsecpkg.h |