issper16.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 _ISSPERR_H_
  7. #define _ISSPERR_H_
  8. #ifdef FACILITY_SECURITY
  9. #undef FACILITY_SECURITY
  10. #endif
  11. #ifdef STATUS_SEVERITY_SUCCESS
  12. #undef STATUS_SEVERITY_SUCCESS
  13. #endif
  14. #define FACILITY_SECURITY 0x9
  15. #define FACILITY_NULL 0
  16. #define STATUS_SEVERITY_SUCCESS 0x0
  17. #define STATUS_SEVERITY_COERROR 0x2
  18. #define SEC_E_INSUFFICIENT_MEMORY ((SECURITY_STATUS)0x1300)
  19. #define SEC_E_INVALID_HANDLE ((SECURITY_STATUS)0x1301)
  20. #define SEC_E_UNSUPPORTED_FUNCTION ((SECURITY_STATUS)0x1302)
  21. #define SEC_E_TARGET_UNKNOWN ((SECURITY_STATUS)0x1303)
  22. #define SEC_E_INTERNAL_ERROR ((SECURITY_STATUS)0x1304)
  23. #define SEC_E_SECPKG_NOT_FOUND ((SECURITY_STATUS)0x1305)
  24. #define SEC_E_NOT_OWNER ((SECURITY_STATUS)0x1306)
  25. #define SEC_E_CANNOT_INSTALL ((SECURITY_STATUS)0x1307)
  26. #define SEC_E_INVALID_TOKEN ((SECURITY_STATUS)0x1308)
  27. #define SEC_E_CANNOT_PACK ((SECURITY_STATUS)0x1309)
  28. #define SEC_E_QOP_NOT_SUPPORTED ((SECURITY_STATUS)0x130A)
  29. #define SEC_E_NO_IMPERSONATION ((SECURITY_STATUS)0x130B)
  30. #define SEC_E_LOGON_DENIED ((SECURITY_STATUS)0x130C)
  31. #define SEC_E_UNKNOWN_CREDENTIALS ((SECURITY_STATUS)0x130D)
  32. #define SEC_E_NO_CREDENTIALS ((SECURITY_STATUS)0x130E)
  33. #define SEC_E_MESSAGE_ALTERED ((SECURITY_STATUS)0x130F)
  34. #define SEC_E_OUT_OF_SEQUENCE ((SECURITY_STATUS)0x1310)
  35. #define SEC_E_NO_AUTHENTICATING_AUTHORITY ((SECURITY_STATUS)0x1311)
  36. #define SEC_E_CONTEXT_EXPIRED ((SECURITY_STATUS)0x1312)
  37. #define SEC_E_INCOMPLETE_MESSAGE ((SECURITY_STATUS)0x1313)
  38. #define SEC_I_CONTINUE_NEEDED ((SECURITY_STATUS)0x1012)
  39. #define SEC_I_COMPLETE_NEEDED ((SECURITY_STATUS)0x1013)
  40. #define SEC_I_COMPLETE_AND_CONTINUE ((SECURITY_STATUS)0x1014)
  41. #define SEC_I_LOCAL_LOGON ((SECURITY_STATUS)0x1015)
  42. #define SEC_E_OK ((SECURITY_STATUS)0x0000)
  43. #define SEC_E_NOT_SUPPORTED SEC_E_UNSUPPORTED_FUNCTION
  44. #define SEC_E_NO_SPM SEC_E_INTERNAL_ERROR
  45. #define SEC_E_BAD_PKGID SEC_E_SECPKG_NOT_FOUND
  46. #endif