22 #include <winpr/winpr.h>
28 #define CERT_HASH_LENGTH 20
33 UsernameTargetCredential,
35 UsernameForPackedCredentials,
43 UCHAR rgbHashOfCert[CERT_HASH_LENGTH];
47 WINPR_API BOOL CredMarshalCredentialA(CRED_MARSHAL_TYPE CredType, PVOID Credential,
48 LPSTR* MarshaledCredential);
49 WINPR_API BOOL CredMarshalCredentialW(CRED_MARSHAL_TYPE CredType, PVOID Credential,
50 LPWSTR* MarshaledCredential);
53 #define CredMarshalCredential CredMarshalCredentialW
55 #define CredMarshalCredential CredMarshalCredentialA