eaphostpeertypes.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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_EAPHOSTPEERTYPES
  7. #define _INC_EAPHOSTPEERTYPES
  8. #if (_WIN32_WINNT >= 0x0600)
  9. #include <eaptypes.h>
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. typedef enum tagEapHostPeerMethodResultReason {
  14. EapHostPeerMethodResultAltSuccessReceived = 1,
  15. EapHostPeerMethodResultTimeout = 2,
  16. EapHostPeerMethodResultFromMethod = 3
  17. } EapHostPeerMethodResultReason;
  18. typedef enum tagEapHostPeerResponseAction {
  19. EapHostPeerResponseDiscard = 0,
  20. EapHostPeerResponseSend = 1,
  21. EapHostPeerResponseResult = 2,
  22. EapHostPeerResponseInvokeUI = 3,
  23. EapHostPeerResponseRespond = 4,
  24. EapHostPeerResponseStartAuthentication = 5,
  25. EapHostPeerResponseNone = 6
  26. } EapHostPeerResponseAction;
  27. typedef enum tagEapHostPeerAuthParams {
  28. EapHostPeerAuthStatus = 1,
  29. EapHostPeerIdentity = 2,
  30. EapHostPeerIdentityExtendedInfo = 3,
  31. EapHostNapInfo = 4
  32. } EapHostPeerAuthParams;
  33. typedef enum _ISOLATION_STATE {
  34. ISOLATION_STATE_UNKNOWN = 0,
  35. ISOLATION_STATE_NOT_RESTRICTED = 1,
  36. ISOLATION_STATE_IN_PROBATION = 2,
  37. ISOLATION_STATE_RESTRICTED_ACCESS = 3
  38. } ISOLATION_STATE;
  39. typedef enum _EAPHOST_AUTH_STATUS {
  40. EapHostInvalidSession = 0,
  41. EapHostAuthNotStarted = 1,
  42. EapHostAuthIdentityExchange = 2,
  43. EapHostAuthNegotiatingType = 3,
  44. EapHostAuthInProgress = 4,
  45. EapHostAuthSucceeded = 5,
  46. EapHostAuthFailed = 6
  47. } EAPHOST_AUTH_STATUS;
  48. typedef struct _EAPHOST_AUTH_INFO {
  49. EAPHOST_AUTH_STATUS status;
  50. DWORD dwErrorCode;
  51. DWORD dwReasonCode;
  52. } EAPHOST_AUTH_INFO;
  53. #if (_WIN32_WINNT >= 0x0601)
  54. typedef struct _tagEapHostPeerNapInfo {
  55. ISOLATION_STATE isolationState;
  56. ProbationTime probationTime;
  57. UINT32 stringCorrelationIdLength;
  58. } EapHostPeerNapInfo, *PEapHostPeerNapInfo;
  59. #endif /*(_WIN32_WINNT >= 0x0601)*/
  60. #ifdef __cplusplus
  61. }
  62. #endif
  63. #endif /*(_WIN32_WINNT >= 0x0600)*/
  64. #endif /*_INC_EAPHOSTPEERTYPES*/