source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/issper16.h@ 1167

Last change on this file since 1167 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

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