| 1 | /** |
| 2 | * This file has no copyright assigned and is placed in the Public Domain. |
| 3 | * This file is part of the mingw-w64 runtime package. |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ |
| 6 | #ifndef _INC_CREDSSP |
| 7 | #define _INC_CREDSSP |
| 8 | |
| 9 | #if (_WIN32_WINNT >= 0x0600) |
| 10 | |
| 11 | #ifdef __cplusplus |
| 12 | extern "C" { |
| 13 | #endif |
| 14 | |
| 15 | typedef enum _CREDSSP_SUBMIT_TYPE { |
| 16 | CredsspPasswordCreds = 2, |
| 17 | CredsspSchannelCreds = 4, |
| 18 | CredsspCertificateCreds = 13, |
| 19 | CredsspSubmitBufferBoth = 50, |
| 20 | CredsspSubmitBufferBothOld = 51 |
| 21 | } CREDSPP_SUBMIT_TYPE; |
| 22 | |
| 23 | typedef struct _CREDSSP_CRED { |
| 24 | CREDSPP_SUBMIT_TYPE Type; |
| 25 | PVOID pSchannelCred; |
| 26 | PVOID pSpnegoCred; |
| 27 | } CREDSSP_CRED, *PCREDSSP_CRED; |
| 28 | |
| 29 | typedef struct _SecPkgContext_ClientCreds { |
| 30 | ULONG AuthBufferLen; |
| 31 | PUCHAR AuthBuffer; |
| 32 | } SecPkgContext_ClientCreds, *PSecPkgContext_ClientCreds; |
| 33 | |
| 34 | #ifdef __cplusplus |
| 35 | } |
| 36 | #endif |
| 37 | |
| 38 | #endif /*(_WIN32_WINNT >= 0x0600)*/ |
| 39 | |
| 40 | #endif /*_INC_CREDSSP*/ |