CredIsMarshaledCredentialW function (wincred.h)

The CredIsMarshaledCredential function determines whether a specified user name string is a marshaled credential previously marshaled by CredMarshalCredential.


BOOL CredIsMarshaledCredentialW(
  LPCWSTR MarshaledCredential



Pointer to a null-terminated string that contains the marshaled credential.

Return value

This function returns TRUE if MarshaledCredential is a marshaled credential and FALSE if it is not.



The wincred.h header defines CredIsMarshaledCredential as an alias which 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 not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.


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