CredIsMarshaledCredentialW function (wincred.h)
The CredIsMarshaledCredential function determines whether a specified user name string is a marshaled credential previously marshaled by CredMarshalCredential.
BOOL CredIsMarshaledCredentialW(
[in] LPCWSTR MarshaledCredential
);
[in] MarshaledCredential
Pointer to a null-terminated string that contains the marshaled credential.
This function returns TRUE if MarshaledCredential is a marshaled credential and FALSE if it is not.
Note
The wincred.h header defines CredIsMarshaledCredential as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | wincred.h |
Library | Advapi32.lib |
DLL | Advapi32.dll |