From 3031484579a07a8169ce01063e7cfbd00d3a092e Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Fri, 14 Aug 2015 14:59:25 +0200 Subject: [PATCH] include: Add missing SSPI declarations. --- include/sspi.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/include/sspi.h b/include/sspi.h index b8761a5dfeb..501406fc5eb 100644 --- a/include/sspi.h +++ b/include/sspi.h @@ -87,6 +87,29 @@ typedef struct _UNICODE_STRING { typedef UNICODE_STRING SECURITY_STRING, *PSECURITY_STRING; +#define SSPIPFC_CREDPROV_DO_NOT_SAVE 0x00000001 +#define SSPIPFC_NO_CHECKBOX 0x00000002 + +typedef void *PSEC_WINNT_AUTH_IDENTITY_OPAQUE; + +SECURITY_STATUS SEC_ENTRY SspiEncodeAuthIdentityAsStrings( + PSEC_WINNT_AUTH_IDENTITY_OPAQUE, PCWSTR *, PCWSTR *, PCWSTR *); + +SECURITY_STATUS SEC_ENTRY SspiEncodeStringsAsAuthIdentity( + PCWSTR, PCWSTR, PCWSTR, PSEC_WINNT_AUTH_IDENTITY_OPAQUE *); + +ULONG SEC_ENTRY SspiPromptForCredentialsA(PCSTR, void *, + ULONG, PCSTR, PSEC_WINNT_AUTH_IDENTITY_OPAQUE, + PSEC_WINNT_AUTH_IDENTITY_OPAQUE *, int *, ULONG); +ULONG SEC_ENTRY SspiPromptForCredentialsW(PCWSTR, void *, + ULONG, PCWSTR, PSEC_WINNT_AUTH_IDENTITY_OPAQUE, + PSEC_WINNT_AUTH_IDENTITY_OPAQUE *, int *, ULONG); +#define SspiPromptForCredentials WINELIB_NAME_AW(SspiPromptForCredentials) + +void SEC_ENTRY SspiFreeAuthIdentity(PSEC_WINNT_AUTH_IDENTITY_OPAQUE); +void SEC_ENTRY SspiLocalFree(void *); +void SEC_ENTRY SspiZeroAuthIdentity(PSEC_WINNT_AUTH_IDENTITY_OPAQUE); + typedef struct _SecPkgInfoA { ULONG fCapabilities;